xref: /openbmc/linux/arch/arm/include/asm/suspend.h (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
22c74a0ceSRussell King #ifndef __ASM_ARM_SUSPEND_H
32c74a0ceSRussell King #define __ASM_ARM_SUSPEND_H
42c74a0ceSRussell King 
5ac8b4d3eSJohan Hovold #include <linux/types.h>
6ac8b4d3eSJohan Hovold 
77604537bSLorenzo Pieralisi struct sleep_save_sp {
87604537bSLorenzo Pieralisi 	u32 *save_ptr_stash;
97604537bSLorenzo Pieralisi 	u32 save_ptr_stash_phys;
107604537bSLorenzo Pieralisi };
117604537bSLorenzo Pieralisi 
122c74a0ceSRussell King extern void cpu_resume(void);
13ca70ea43SMarek Szyprowski extern void cpu_resume_no_hyp(void);
1432e55a77SStephen Boyd extern void cpu_resume_arm(void);
15e8ce0eb5SRussell King extern int cpu_suspend(unsigned long, int (*)(unsigned long));
16*ae1f8d79SArnd Bergmann extern void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr);
172c74a0ceSRussell King 
182c74a0ceSRussell King #endif
19