xref: /linux/arch/arm/mach-versatile/spc.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *
4  * Copyright (C) 2012 ARM Limited
5  */
6 
7 
8 #ifndef __SPC_H_
9 #define __SPC_H_
10 
11 int __init ve_spc_init(void __iomem *base, u32 a15_clusid, int irq);
12 void ve_spc_global_wakeup_irq(bool set);
13 void ve_spc_cpu_wakeup_irq(u32 cluster, u32 cpu, bool set);
14 void ve_spc_set_resume_addr(u32 cluster, u32 cpu, u32 addr);
15 void ve_spc_powerdown(u32 cluster, bool enable);
16 int ve_spc_cpu_in_wfi(u32 cpu, u32 cluster);
17 
18 #endif
19