blob: 0d5d1f0525eb39558c96e4cc627e2db0519d699b [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Based on arch/arm/include/asm/proc-fns.h
4 *
5 * Copyright (C) 1997-1999 Russell King
6 * Copyright (C) 2000 Deep Blue Solutions Ltd
7 * Copyright (C) 2012 ARM Ltd.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00008 */
9#ifndef __ASM_PROCFNS_H
10#define __ASM_PROCFNS_H
11
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000012#ifndef __ASSEMBLY__
13
14#include <asm/page.h>
15
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000016struct cpu_suspend_ctx;
17
18extern void cpu_do_idle(void);
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000019extern void cpu_do_suspend(struct cpu_suspend_ctx *ptr);
20extern u64 cpu_do_resume(phys_addr_t ptr, u64 idmap_ttbr);
21
22#include <asm/memory.h>
23
24#endif /* __ASSEMBLY__ */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000025#endif /* __ASM_PROCFNS_H */