linux/drivers/soc/samsung/exynos-asv.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2019 Samsung Electronics Co., Ltd.
 *	      http://www.samsung.com/
 * Author: Sylwester Nawrocki <[email protected]>
 *
 * Samsung Exynos SoC Adaptive Supply Voltage support
 */
#ifndef __LINUX_SOC_EXYNOS_ASV_H
#define __LINUX_SOC_EXYNOS_ASV_H

struct regmap;

/* HPM, IDS values to select target group */
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 /* __LINUX_SOC_EXYNOS_ASV_H */