PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/arm/mach-exynos/include/mach/pmu.h

https://github.com/AICP/kernel_google_msm
C Header | 34 lines | 17 code | 6 blank | 11 comment | 0 complexity | 76f08683eecb122543f466f21739b732 MD5 | raw file
 1/* linux/arch/arm/mach-exynos4/include/mach/pmu.h
 2 *
 3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
 4 *		http://www.samsung.com/
 5 *
 6 * EXYNOS4210 - PMU(Power Management Unit) support
 7 *
 8 * This program is free software; you can redistribute it and/or modify
 9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11*/
12
13#ifndef __ASM_ARCH_PMU_H
14#define __ASM_ARCH_PMU_H __FILE__
15
16#define PMU_TABLE_END	NULL
17
18enum sys_powerdown {
19	SYS_AFTR,
20	SYS_LPA,
21	SYS_SLEEP,
22	NUM_SYS_POWERDOWN,
23};
24
25extern unsigned long l2x0_regs_phys;
26struct exynos4_pmu_conf {
27	void __iomem *reg;
28	unsigned int val[NUM_SYS_POWERDOWN];
29};
30
31extern void exynos4_sys_powerdown_conf(enum sys_powerdown mode);
32extern void s3c_cpu_resume(void);
33
34#endif /* __ASM_ARCH_PMU_H */