root/include/linux/soc/samsung/exynos-pmu.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. exynos_get_pmu_regmap

   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 /*
   3  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
   4  *              http://www.samsung.com
   5  *
   6  * Header for EXYNOS PMU Driver support
   7  */
   8 
   9 #ifndef __LINUX_SOC_EXYNOS_PMU_H
  10 #define __LINUX_SOC_EXYNOS_PMU_H
  11 
  12 struct regmap;
  13 
  14 enum sys_powerdown {
  15         SYS_AFTR,
  16         SYS_LPA,
  17         SYS_SLEEP,
  18         NUM_SYS_POWERDOWN,
  19 };
  20 
  21 extern void exynos_sys_powerdown_conf(enum sys_powerdown mode);
  22 #ifdef CONFIG_EXYNOS_PMU
  23 extern struct regmap *exynos_get_pmu_regmap(void);
  24 #else
  25 static inline struct regmap *exynos_get_pmu_regmap(void)
  26 {
  27         return ERR_PTR(-ENODEV);
  28 }
  29 #endif
  30 
  31 #endif /* __LINUX_SOC_EXYNOS_PMU_H */

/* [<][>][^][v][top][bottom][index][help] */