b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef __ASM_ARM_SUSPEND_H | ||||
3 | #define __ASM_ARM_SUSPEND_H | ||||
4 | |||||
5 | #include <linux/types.h> | ||||
6 | |||||
7 | struct sleep_save_sp { | ||||
8 | u32 *save_ptr_stash; | ||||
9 | u32 save_ptr_stash_phys; | ||||
10 | }; | ||||
11 | |||||
12 | extern void cpu_resume(void); | ||||
13 | extern void cpu_resume_no_hyp(void); | ||||
14 | extern void cpu_resume_arm(void); | ||||
15 | extern int cpu_suspend(unsigned long, int (*)(unsigned long)); | ||||
16 | |||||
17 | #endif |