xref: /linux/arch/arm/include/asm/suspend.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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 extern void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr);
17 
18 #endif
19