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