Lorenzo Pieralisi | 63819cb | 2013-07-16 17:05:43 +0100 | [diff] [blame] | 1 | /* |
| 2 | * This program is free software; you can redistribute it and/or modify |
| 3 | * it under the terms of the GNU General Public License version 2 as |
| 4 | * published by the Free Software Foundation. |
| 5 | * |
| 6 | * This program is distributed in the hope that it will be useful, |
| 7 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 8 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 9 | * GNU General Public License for more details. |
| 10 | * |
| 11 | * Copyright (C) 2012 ARM Limited |
| 12 | */ |
| 13 | |
| 14 | |
| 15 | #ifndef __SPC_H_ |
| 16 | #define __SPC_H_ |
| 17 | |
Sudeep KarkadaNagesha | f7cd2d8 | 2013-10-29 12:18:37 +0000 | [diff] [blame^] | 18 | int __init ve_spc_init(void __iomem *base, u32 a15_clusid, int irq); |
Lorenzo Pieralisi | 63819cb | 2013-07-16 17:05:43 +0100 | [diff] [blame] | 19 | void ve_spc_global_wakeup_irq(bool set); |
| 20 | void ve_spc_cpu_wakeup_irq(u32 cluster, u32 cpu, bool set); |
| 21 | void ve_spc_set_resume_addr(u32 cluster, u32 cpu, u32 addr); |
| 22 | void ve_spc_powerdown(u32 cluster, bool enable); |
| 23 | |
| 24 | #endif |