Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Based on arch/arm/include/asm/proc-fns.h
0004  *
0005  * Copyright (C) 1997-1999 Russell King
0006  * Copyright (C) 2000 Deep Blue Solutions Ltd
0007  * Copyright (C) 2012 ARM Ltd.
0008  */
0009 #ifndef __ASM_PROCFNS_H
0010 #define __ASM_PROCFNS_H
0011 
0012 #ifndef __ASSEMBLY__
0013 
0014 #include <asm/page.h>
0015 
0016 struct cpu_suspend_ctx;
0017 
0018 extern void cpu_do_idle(void);
0019 extern void cpu_do_suspend(struct cpu_suspend_ctx *ptr);
0020 extern u64 cpu_do_resume(phys_addr_t ptr, u64 idmap_ttbr);
0021 
0022 #include <asm/memory.h>
0023 
0024 #endif /* __ASSEMBLY__ */
0025 #endif /* __ASM_PROCFNS_H */