Home
last modified time | relevance | path

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

/linux-4.4.14/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(pxa_cpu_pm_fns->save_count * sizeof(unsigned long), in pxa_pm_init()
109 if (!sleep_save) { in pxa_pm_init()
Dpxa27x.c79 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
80 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
111 void pxa27x_cpu_pm_save(unsigned long *sleep_save) in pxa27x_cpu_pm_save() argument
113 sleep_save[SLEEP_SAVE_MDREFR] = __raw_readl(MDREFR); in pxa27x_cpu_pm_save()
119 void pxa27x_cpu_pm_restore(unsigned long *sleep_save) in pxa27x_cpu_pm_restore() argument
121 __raw_writel(sleep_save[SLEEP_SAVE_MDREFR], MDREFR); in pxa27x_cpu_pm_restore()
Dpxa25x.c48 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
49 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
62 static void pxa25x_cpu_pm_save(unsigned long *sleep_save) in pxa25x_cpu_pm_save() argument
67 static void pxa25x_cpu_pm_restore(unsigned long *sleep_save) in pxa25x_cpu_pm_restore() argument
/linux-4.4.14/arch/unicore32/kernel/
Dpm.c26 static unsigned long *sleep_save; variable
35 puv3_cpu_pm_fns->save(sleep_save); in puv3_pm_enter()
38 sleep_save_checksum += sleep_save[i]; in puv3_pm_enter()
53 checksum += sleep_save[i]; in puv3_pm_enter()
60 puv3_cpu_pm_fns->restore(sleep_save); in puv3_pm_enter()
112 sleep_save = kmalloc(puv3_cpu_pm_fns->save_count in puv3_pm_init()
114 if (!sleep_save) { in puv3_pm_init()
Dpuv3-core.c170 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
171 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]
184 static void puv3_cpu_pm_save(unsigned long *sleep_save) in puv3_cpu_pm_save() argument
189 static void puv3_cpu_pm_restore(unsigned long *sleep_save) in puv3_cpu_pm_restore() argument
/linux-4.4.14/arch/arm/plat-samsung/include/plat/
Dpm-common.h28 struct sleep_save { struct
38 extern void s3c_pm_do_save(struct sleep_save *ptr, int count); argument
39 extern void s3c_pm_do_restore(const struct sleep_save *ptr, int count);
40 extern void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count);
/linux-4.4.14/arch/arm/plat-samsung/
Dpm-common.c31 void s3c_pm_do_save(struct sleep_save *ptr, int count) in s3c_pm_do_save()
50 void s3c_pm_do_restore(const struct sleep_save *ptr, int count) in s3c_pm_do_restore()
71 void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count) in s3c_pm_do_restore_core()
/linux-4.4.14/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
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dirq-pm.c59 static struct sleep_save irq_save[] = {
109 static struct sleep_save s3c2416_irq_save[] = {
Dpm.c54 static struct sleep_save core_save[] = {
Ds3c244x.c112 static struct sleep_save s3c244x_sleep[] = {
Dpm-s3c2412.c74 static struct sleep_save s3c2412_sleep[] = {
/linux-4.4.14/arch/arm/mach-s3c64xx/
Dpm.c198 static struct sleep_save core_save[] = {
203 static struct sleep_save misc_save[] = {
Dirq-pm.c41 static struct sleep_save irq_save[] = {
/linux-4.4.14/arch/arm/mach-s5pv210/
Dpm.c30 static struct sleep_save s5pv210_core_save[] = {
/linux-4.4.14/arch/arm/mach-exynos/
Dsuspend.c56 static struct sleep_save exynos_core_save[] = {