Searched refs:sleep_save (Results 1 – 19 of 19) sorted by relevance
26 static unsigned long *sleep_save; variable35 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()
170 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x171 #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() argument189 static void puv3_cpu_pm_restore(unsigned long *sleep_save) in puv3_cpu_pm_restore() argument
22 static unsigned long *sleep_save; variable37 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()
246 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x247 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]278 void pxa27x_cpu_pm_save(unsigned long *sleep_save) in pxa27x_cpu_pm_save() argument280 sleep_save[SLEEP_SAVE_MDREFR] = __raw_readl(MDREFR); in pxa27x_cpu_pm_save()286 void pxa27x_cpu_pm_restore(unsigned long *sleep_save) in pxa27x_cpu_pm_restore() argument288 __raw_writel(sleep_save[SLEEP_SAVE_MDREFR], MDREFR); in pxa27x_cpu_pm_restore()
224 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x225 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]238 static void pxa25x_cpu_pm_save(unsigned long *sleep_save) in pxa25x_cpu_pm_save() argument243 static void pxa25x_cpu_pm_restore(unsigned long *sleep_save) in pxa25x_cpu_pm_restore() argument
75 struct sleep_save { struct105 extern void s3c_pm_do_save(struct sleep_save *ptr, int count);106 extern void s3c_pm_do_restore(struct sleep_save *ptr, int count);107 extern void s3c_pm_do_restore_core(struct sleep_save *ptr, int count);
38 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x39 #define RESTORE(x) x = sleep_save[SLEEP_SAVE_##x]57 unsigned long gpio, sleep_save[SLEEP_SAVE_COUNT]; in sa11x0_pm_enter() local
40 static struct sleep_save exynos4_set_clksrc[] = {52 static struct sleep_save exynos4210_set_clksrc[] = {56 static struct sleep_save exynos4_epll_save[] = {61 static struct sleep_save exynos4_vpll_save[] = {66 static struct sleep_save exynos5_sys_save[] = {70 static struct sleep_save exynos_core_save[] = {
27 static struct sleep_save s5p64x0_core_save[] = {43 static struct sleep_save s5p64x0_misc_save[] = {56 static struct sleep_save s5p6450_core_save[] = {
24 static struct sleep_save irq_save[] = {
52 static struct sleep_save core_save[] = {81 static struct sleep_save misc_save[] = {
59 static struct sleep_save irq_save[] = {109 static struct sleep_save s3c2416_irq_save[] = {
74 static struct sleep_save s3c2412_sleep[] = {
172 static struct sleep_save s3c244x_sleep[] = {
170 void s3c_pm_do_save(struct sleep_save *ptr, int count) in s3c_pm_do_save()189 void s3c_pm_do_restore(struct sleep_save *ptr, int count) in s3c_pm_do_restore()210 void s3c_pm_do_restore_core(struct sleep_save *ptr, int count) in s3c_pm_do_restore_core()
70 static struct sleep_save eint_save[] = {
37 static struct sleep_save irq_save[] = {
196 static struct sleep_save core_save[] = {222 static struct sleep_save misc_save[] = {
29 static struct sleep_save s5pv210_core_save[] = {