Home
last modified time | relevance | path

Searched refs:sleep_save (Results 1 – 13 of 13) sorted by relevance

/linux/arch/arm/mach-pxa/
A Dpm.c22 static unsigned long *sleep_save; variable
37 pxa_cpu_pm_fns->save(sleep_save); in pxa_pm_enter()
40 sleep_save_checksum += sleep_save[i]; in pxa_pm_enter()
49 checksum += sleep_save[i]; in pxa_pm_enter()
59 pxa_cpu_pm_fns->restore(sleep_save); in pxa_pm_enter()
107 sleep_save = kmalloc_array(pxa_cpu_pm_fns->save_count, in pxa_pm_init()
108 sizeof(*sleep_save), in pxa_pm_init()
110 if (!sleep_save) in pxa_pm_init()
A Dpxa27x.c80 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
81 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
112 void pxa27x_cpu_pm_save(unsigned long *sleep_save) in pxa27x_cpu_pm_save() argument
114 sleep_save[SLEEP_SAVE_MDREFR] = __raw_readl(MDREFR); in pxa27x_cpu_pm_save()
120 void pxa27x_cpu_pm_restore(unsigned long *sleep_save) in pxa27x_cpu_pm_restore() argument
122 __raw_writel(sleep_save[SLEEP_SAVE_MDREFR], MDREFR); in pxa27x_cpu_pm_restore()
A Dpxa25x.c49 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
50 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
63 static void pxa25x_cpu_pm_save(unsigned long *sleep_save) in pxa25x_cpu_pm_save() argument
68 static void pxa25x_cpu_pm_restore(unsigned long *sleep_save) in pxa25x_cpu_pm_restore() argument
/linux/arch/arm/mach-s3c/
A Dpm-common.h26 struct sleep_save { struct
36 extern void s3c_pm_do_save(struct sleep_save *ptr, int count); argument
37 extern void s3c_pm_do_restore(const struct sleep_save *ptr, int count);
38 extern void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count);
A Dpm-common.c27 void s3c_pm_do_save(struct sleep_save *ptr, int count) in s3c_pm_do_save()
46 void s3c_pm_do_restore(const struct sleep_save *ptr, int count) in s3c_pm_do_restore()
69 void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count) in s3c_pm_do_restore_core()
A Dirq-pm-s3c24xx.c45 static struct sleep_save irq_save[] = {
95 static struct sleep_save s3c2416_irq_save[] = {
A Dpm-s3c64xx.c194 static struct sleep_save core_save[] = {
199 static struct sleep_save misc_save[] = {
A Dpm-s3c24xx.c39 static struct sleep_save core_save[] = {
A Ds3c244x.c105 static struct sleep_save s3c244x_sleep[] = {
A Dpm-s3c2412.c69 static struct sleep_save s3c2412_sleep[] = {
A Dirq-pm-s3c64xx.c36 static struct sleep_save irq_save[] = {
/linux/arch/arm/mach-s5pv210/
A Dpm.c25 struct sleep_save { struct
41 static void s3c_pm_do_save(struct sleep_save *ptr, int count) in s3c_pm_do_save() argument
60 static void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count) in s3c_pm_do_restore_core()
66 static struct sleep_save s5pv210_core_save[] = {
/linux/arch/arm/mach-sa1100/
A Dpm.c38 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
39 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
57 unsigned long gpio, sleep_save[SLEEP_SAVE_COUNT]; in sa11x0_pm_enter() local

Completed in 13 milliseconds