Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-pxa/
H 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()
57 pxa_cpu_pm_fns->restore(sleep_save); in pxa_pm_enter()
105 sleep_save = kmalloc_array(pxa_cpu_pm_fns->save_count, in pxa_pm_init()
106 sizeof(*sleep_save), in pxa_pm_init()
108 if (!sleep_save) in pxa_pm_init()
H A Dpxa27x.c83 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
84 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
103 static void pxa27x_cpu_pm_save(unsigned long *sleep_save) in pxa27x_cpu_pm_save() argument
105 sleep_save[SLEEP_SAVE_MDREFR] = __raw_readl(MDREFR); in pxa27x_cpu_pm_save()
111 static void pxa27x_cpu_pm_restore(unsigned long *sleep_save) in pxa27x_cpu_pm_restore() argument
113 __raw_writel(sleep_save[SLEEP_SAVE_MDREFR], MDREFR); in pxa27x_cpu_pm_restore()
H A Dpxa25x.c50 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
51 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
64 static void pxa25x_cpu_pm_save(unsigned long *sleep_save) in pxa25x_cpu_pm_save() argument
69 static void pxa25x_cpu_pm_restore(unsigned long *sleep_save) in pxa25x_cpu_pm_restore() argument
/openbmc/linux/arch/arm/mach-s3c/
H 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);
H 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()
H A Dpm-s3c64xx.c177 static struct sleep_save core_save[] = {
182 static struct sleep_save misc_save[] = {
H A Dirq-pm-s3c64xx.c36 static struct sleep_save irq_save[] = {
/openbmc/linux/arch/arm/mach-s5pv210/
H 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[] = {
/openbmc/linux/arch/arm/mach-sa1100/
H A Dpm.c40 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
41 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
59 unsigned long gpio, sleep_save[SLEEP_SAVE_COUNT]; in sa11x0_pm_enter() local