Home
last modified time | relevance | path

Searched refs:sleep_save (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/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()
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()
H 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()
H 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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
H A Dpm-common.h19 * struct sleep_save - save information for shared peripherals.
26 struct sleep_save { struct
36 extern void s3c_pm_do_save(struct sleep_save *ptr, int count);
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 Dirq-pm-s3c24xx.c45 static struct sleep_save irq_save[] = {
95 static struct sleep_save s3c2416_irq_save[] = {
H A Dpm-s3c24xx.c39 static struct sleep_save core_save[] = {
H A Dpm-s3c2412.c69 static struct sleep_save s3c2412_sleep[] = {
H A Dirq-pm-s3c64xx.c36 static struct sleep_save irq_save[] = {
H A Ds3c244x.c105 static struct sleep_save s3c244x_sleep[] = {
H A Dpm-s3c64xx.c194 static struct sleep_save core_save[] = {
199 static struct sleep_save misc_save[] = {
/kernel/linux/linux-6.6/arch/arm/mach-s3c/
H A Dpm-common.h19 * struct sleep_save - save information for shared peripherals.
26 struct sleep_save { struct
36 extern void s3c_pm_do_save(struct sleep_save *ptr, int count);
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[] = {
/kernel/linux/linux-5.10/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()
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[] = {
/kernel/linux/linux-6.6/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()
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[] = {
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/
H 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
/kernel/linux/linux-6.6/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

Completed in 6 milliseconds