Linus Walleij | 1e22a8c | 2013-03-19 15:36:12 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) ST-Ericsson SA 2010-2013 |
| 3 | * Author: Rickard Andersson <rickard.andersson@stericsson.com> for |
| 4 | * ST-Ericsson. |
| 5 | * Author: Daniel Lezcano <daniel.lezcano@linaro.org> for Linaro. |
| 6 | * License terms: GNU General Public License (GPL) version 2 |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | #ifndef ARM_UX500_PM_H |
| 11 | #define ARM_UX500_PM_H |
| 12 | |
| 13 | int prcmu_gic_decouple(void); |
| 14 | int prcmu_gic_recouple(void); |
| 15 | bool prcmu_gic_pending_irq(void); |
| 16 | bool prcmu_pending_irq(void); |
| 17 | bool prcmu_is_cpu_in_wfi(int cpu); |
| 18 | int prcmu_copy_gic_settings(void); |
| 19 | void ux500_pm_init(u32 phy_base, u32 size); |
| 20 | |
| 21 | #endif /* ARM_UX500_PM_H */ |