summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/flowctrl.h
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2012-02-09 23:47:44 (GMT)
committerOlof Johansson <olof@lixom.net>2012-02-26 22:44:42 (GMT)
commit26fe681fdaa5c800f1f99e8181631866e50ed8a1 (patch)
treec01a0ce0b6aea397410c18f7e072953a68e373a4 /arch/arm/mach-tegra/flowctrl.h
parentcec60064e4cbbd74e446b2129f640ac0ef5d034e (diff)
downloadlinux-fsl-qoriq-26fe681fdaa5c800f1f99e8181631866e50ed8a1.tar.xz
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/flowctrl.h b/arch/arm/mach-tegra/flowctrl.h
index 74c6efb..1942817 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