blob: 506314265c6f1a24e50641dbbea1d41367d322d5 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Russell King2c74a0c2011-06-22 17:41:48 +01002#ifndef __ASM_ARM_SUSPEND_H
3#define __ASM_ARM_SUSPEND_H
4
Johan Hovoldac8b4d32017-07-17 09:28:20 +01005#include <linux/types.h>
6
Lorenzo Pieralisi76045372013-05-16 10:34:30 +01007struct sleep_save_sp {
8 u32 *save_ptr_stash;
9 u32 save_ptr_stash_phys;
10};
11
Russell King2c74a0c2011-06-22 17:41:48 +010012extern void cpu_resume(void);
Marek Szyprowskica70ea42019-02-18 09:31:41 +010013extern void cpu_resume_no_hyp(void);
Stephen Boyd32e55a72015-06-09 19:24:23 +010014extern void cpu_resume_arm(void);
Russell Kinge8ce0eb2011-08-26 20:28:52 +010015extern int cpu_suspend(unsigned long, int (*)(unsigned long));
Russell King2c74a0c2011-06-22 17:41:48 +010016
17#endif