Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.14-rc7 34 lines 760 B view raw
1/* 2 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 3 * http://www.samsung.com 4 * 5 * Header for EXYNOS PMU Driver support 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 */ 11 12#ifndef __LINUX_SOC_EXYNOS_PMU_H 13#define __LINUX_SOC_EXYNOS_PMU_H 14 15struct regmap; 16 17enum sys_powerdown { 18 SYS_AFTR, 19 SYS_LPA, 20 SYS_SLEEP, 21 NUM_SYS_POWERDOWN, 22}; 23 24extern void exynos_sys_powerdown_conf(enum sys_powerdown mode); 25#ifdef CONFIG_EXYNOS_PMU 26extern struct regmap *exynos_get_pmu_regmap(void); 27#else 28static inline struct regmap *exynos_get_pmu_regmap(void) 29{ 30 return ERR_PTR(-ENODEV); 31} 32#endif 33 34#endif /* __LINUX_SOC_EXYNOS_PMU_H */