Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Russell King | 2c74a0c | 2011-06-22 17:41:48 +0100 | [diff] [blame] | 2 | #ifndef __ASM_ARM_SUSPEND_H |
| 3 | #define __ASM_ARM_SUSPEND_H |
| 4 | |
Johan Hovold | ac8b4d3 | 2017-07-17 09:28:20 +0100 | [diff] [blame] | 5 | #include <linux/types.h> |
| 6 | |
Lorenzo Pieralisi | 7604537 | 2013-05-16 10:34:30 +0100 | [diff] [blame] | 7 | struct sleep_save_sp { |
| 8 | u32 *save_ptr_stash; |
| 9 | u32 save_ptr_stash_phys; |
| 10 | }; |
| 11 | |
Russell King | 2c74a0c | 2011-06-22 17:41:48 +0100 | [diff] [blame] | 12 | extern void cpu_resume(void); |
Marek Szyprowski | ca70ea4 | 2019-02-18 09:31:41 +0100 | [diff] [blame^] | 13 | extern void cpu_resume_no_hyp(void); |
Stephen Boyd | 32e55a7 | 2015-06-09 19:24:23 +0100 | [diff] [blame] | 14 | extern void cpu_resume_arm(void); |
Russell King | e8ce0eb | 2011-08-26 20:28:52 +0100 | [diff] [blame] | 15 | extern int cpu_suspend(unsigned long, int (*)(unsigned long)); |
Russell King | 2c74a0c | 2011-06-22 17:41:48 +0100 | [diff] [blame] | 16 | |
| 17 | #endif |