suspend.h (597473720f4dc69749542bfcfed4a927a43d935e) | suspend.h (ae1f8d793a19a63263d6a30a311a2db4e86d8785) |
---|---|
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 7struct sleep_save_sp { 8 u32 *save_ptr_stash; 9 u32 save_ptr_stash_phys; 10}; 11 12extern void cpu_resume(void); 13extern void cpu_resume_no_hyp(void); 14extern void cpu_resume_arm(void); 15extern int cpu_suspend(unsigned long, int (*)(unsigned long)); | 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 7struct sleep_save_sp { 8 u32 *save_ptr_stash; 9 u32 save_ptr_stash_phys; 10}; 11 12extern void cpu_resume(void); 13extern void cpu_resume_no_hyp(void); 14extern void cpu_resume_arm(void); 15extern int cpu_suspend(unsigned long, int (*)(unsigned long)); |
16extern void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr); |
|
16 17#endif | 17 18#endif |