projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: pm: add function to set WFI low-power mode for SMP CPUs
[deliverable/linux.git]
/
arch
/
arm
/
include
/
asm
/
smp_scu.h
diff --git
a/arch/arm/include/asm/smp_scu.h
b/arch/arm/include/asm/smp_scu.h
index 2376835015d62ce991abe4aef1f5946ac19707f5..4eb6d005ffaa4b625c9f86fc8532b046d0cf1f6a 100644
(file)
--- a/
arch/arm/include/asm/smp_scu.h
+++ b/
arch/arm/include/asm/smp_scu.h
@@
-1,7
+1,14
@@
#ifndef __ASMARM_ARCH_SCU_H
#define __ASMARM_ARCH_SCU_H
#ifndef __ASMARM_ARCH_SCU_H
#define __ASMARM_ARCH_SCU_H
+#define SCU_PM_NORMAL 0
+#define SCU_PM_DORMANT 2
+#define SCU_PM_POWEROFF 3
+
+#ifndef __ASSEMBLER__
unsigned int scu_get_core_count(void __iomem *);
void scu_enable(void __iomem *);
unsigned int scu_get_core_count(void __iomem *);
void scu_enable(void __iomem *);
+int scu_power_mode(void __iomem *, unsigned int);
+#endif
#endif
#endif
This page took
0.026193 seconds
and
5
git commands to generate.