suspend.h 369 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_ARM_SUSPEND_H
  3. #define __ASM_ARM_SUSPEND_H
  4. #include <linux/types.h>
  5. struct sleep_save_sp {
  6. u32 *save_ptr_stash;
  7. u32 save_ptr_stash_phys;
  8. };
  9. extern void cpu_resume(void);
  10. extern void cpu_resume_no_hyp(void);
  11. extern void cpu_resume_arm(void);
  12. extern int cpu_suspend(unsigned long, int (*)(unsigned long));
  13. #endif