Catalin Marinas | 4b17244 | 2007-02-14 19:20:28 +0100 | [diff] [blame] | 1 | #ifndef __ASMARM_ARCH_SCU_H |
| 2 | #define __ASMARM_ARCH_SCU_H |
| 3 | |
Russell King | 292ec42 | 2011-02-04 10:36:39 +0000 | [diff] [blame] | 4 | #define SCU_PM_NORMAL 0 |
| 5 | #define SCU_PM_DORMANT 2 |
| 6 | #define SCU_PM_POWEROFF 3 |
| 7 | |
| 8 | #ifndef __ASSEMBLER__ |
Russell King | a8cbcd9 | 2009-05-16 11:51:14 +0100 | [diff] [blame] | 9 | unsigned int scu_get_core_count(void __iomem *); |
Russell King | 292ec42 | 2011-02-04 10:36:39 +0000 | [diff] [blame] | 10 | int scu_power_mode(void __iomem *, unsigned int); |
Rob Herring | eed8812 | 2013-01-31 09:26:06 -0600 | [diff] [blame] | 11 | |
| 12 | #ifdef CONFIG_SMP |
| 13 | void scu_enable(void __iomem *scu_base); |
| 14 | #else |
| 15 | static inline void scu_enable(void __iomem *scu_base) {} |
| 16 | #endif |
| 17 | |
Russell King | 292ec42 | 2011-02-04 10:36:39 +0000 | [diff] [blame] | 18 | #endif |
Catalin Marinas | 4b17244 | 2007-02-14 19:20:28 +0100 | [diff] [blame] | 19 | |
| 20 | #endif |