Home
last modified time | relevance | path

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

/arch/arm/mach-pxa/
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()
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()
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
/arch/unicore32/kernel/
Dpm.c23 static unsigned long *sleep_save; variable
32 puv3_cpu_pm_fns->save(sleep_save); in puv3_pm_enter()
35 sleep_save_checksum += sleep_save[i]; in puv3_pm_enter()
50 checksum += sleep_save[i]; in puv3_pm_enter()
57 puv3_cpu_pm_fns->restore(sleep_save); in puv3_pm_enter()
109 sleep_save = kmalloc_array(puv3_cpu_pm_fns->save_count, in puv3_pm_init()
112 if (!sleep_save) { in puv3_pm_init()
Dpuv3-core.c167 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
168 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
181 static void puv3_cpu_pm_save(unsigned long *sleep_save) in puv3_cpu_pm_save() argument
186 static void puv3_cpu_pm_restore(unsigned long *sleep_save) in puv3_cpu_pm_restore() argument
/arch/arm/plat-samsung/include/plat/
Dpm-common.h25 struct sleep_save { struct
35 extern void s3c_pm_do_save(struct sleep_save *ptr, int count); argument
36 extern void s3c_pm_do_restore(const struct sleep_save *ptr, int count);
37 extern void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count);
/arch/arm/plat-samsung/
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()
67 void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count) in s3c_pm_do_restore_core()
/arch/arm/mach-sa1100/
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
/arch/arm/mach-s3c24xx/
Dirq-pm.c45 static struct sleep_save irq_save[] = {
95 static struct sleep_save s3c2416_irq_save[] = {
Dpm.c39 static struct sleep_save core_save[] = {
Ds3c244x.c107 static struct sleep_save s3c244x_sleep[] = {
Dpm-s3c2412.c69 static struct sleep_save s3c2412_sleep[] = {
/arch/arm/mach-s5pv210/
Dpm.c25 static struct sleep_save s5pv210_core_save[] = {
/arch/arm/mach-s3c64xx/
Dirq-pm.c36 static struct sleep_save irq_save[] = {
Dpm.c194 static struct sleep_save core_save[] = {
199 static struct sleep_save misc_save[] = {