xref: /kernel/linux/linux-6.6/arch/arm/include/asm/suspend.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/arm/include/asm/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ASM_ARM_SUSPEND_H
362306a36Sopenharmony_ci#define __ASM_ARM_SUSPEND_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <linux/types.h>
662306a36Sopenharmony_ci
762306a36Sopenharmony_cistruct sleep_save_sp {
862306a36Sopenharmony_ci	u32 *save_ptr_stash;
962306a36Sopenharmony_ci	u32 save_ptr_stash_phys;
1062306a36Sopenharmony_ci};
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciextern void cpu_resume(void);
1362306a36Sopenharmony_ciextern void cpu_resume_no_hyp(void);
1462306a36Sopenharmony_ciextern void cpu_resume_arm(void);
1562306a36Sopenharmony_ciextern int cpu_suspend(unsigned long, int (*)(unsigned long));
1662306a36Sopenharmony_ciextern void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr);
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#endif
19

Indexes created Thu Nov 07 10:32:03 CST 2024