diff options
author | Peter De Schrijver <pdeschrijver@nvidia.com> | 2012-02-10 01:47:44 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-26 14:44:42 -0800 |
commit | 26fe681fdaa5c800f1f99e8181631866e50ed8a1 (patch) | |
tree | c01a0ce0b6aea397410c18f7e072953a68e373a4 /arch/arm/mach-tegra/flowctrl.h | |
parent | cec60064e4cbbd74e446b2129f640ac0ef5d034e (diff) |
ARM: tegra: functions to access the flowcontroller
Introduce some functions to write to the flowcontroller registers. The
flowcontroller controls CPU sleepstates and wakeup.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/flowctrl.h')
-rw-r--r-- | arch/arm/mach-tegra/flowctrl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/flowctrl.h b/arch/arm/mach-tegra/flowctrl.h index 74c6efbe52f..19428173855 100644 --- a/arch/arm/mach-tegra/flowctrl.h +++ b/arch/arm/mach-tegra/flowctrl.h @@ -34,4 +34,9 @@ #define FLOW_CTRL_HALT_CPU1_EVENTS 0x14 #define FLOW_CTRL_CPU1_CSR 0x18 +#ifndef __ASSEMBLY__ +void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value); +void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value); +#endif + #endif |