#ifndef __LINUX_SOC_EXYNOS_ASV_H
#define __LINUX_SOC_EXYNOS_ASV_H
struct regmap;
struct asv_limit_entry { … };
struct exynos_asv_table { … };
struct exynos_asv_subsys { … };
struct exynos_asv { … };
static inline u32 __asv_get_table_entry(const struct exynos_asv_table *table,
unsigned int row, unsigned int col)
{ … }
static inline u32 exynos_asv_opp_get_voltage(const struct exynos_asv_subsys *subsys,
unsigned int level, unsigned int group)
{ … }
static inline u32 exynos_asv_opp_get_frequency(const struct exynos_asv_subsys *subsys,
unsigned int level)
{ … }
int exynos_asv_init(struct device *dev, struct regmap *regmap);
#endif