18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_ARM_SUSPEND_H 38c2ecf20Sopenharmony_ci#define __ASM_ARM_SUSPEND_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/types.h> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cistruct sleep_save_sp { 88c2ecf20Sopenharmony_ci u32 *save_ptr_stash; 98c2ecf20Sopenharmony_ci u32 save_ptr_stash_phys; 108c2ecf20Sopenharmony_ci}; 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciextern void cpu_resume(void); 138c2ecf20Sopenharmony_ciextern void cpu_resume_no_hyp(void); 148c2ecf20Sopenharmony_ciextern void cpu_resume_arm(void); 158c2ecf20Sopenharmony_ciextern int cpu_suspend(unsigned long, int (*)(unsigned long)); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif 18