Home
last modified time | relevance | path

Searched refs:opp_data (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/cpufreq/
Dti-cpufreq.c47 unsigned long (*efuse_xlate)(struct ti_cpufreq_data *opp_data,
65 static unsigned long amx3_efuse_xlate(struct ti_cpufreq_data *opp_data, in amx3_efuse_xlate() argument
69 efuse = opp_data->soc_data->efuse_fallback; in amx3_efuse_xlate()
74 static unsigned long dra7_efuse_xlate(struct ti_cpufreq_data *opp_data, in dra7_efuse_xlate() argument
129 static int ti_cpufreq_get_efuse(struct ti_cpufreq_data *opp_data, in ti_cpufreq_get_efuse() argument
132 struct device *dev = opp_data->cpu_dev; in ti_cpufreq_get_efuse()
136 ret = regmap_read(opp_data->syscon, opp_data->soc_data->efuse_offset, in ti_cpufreq_get_efuse()
145 efuse = (efuse & opp_data->soc_data->efuse_mask); in ti_cpufreq_get_efuse()
146 efuse >>= opp_data->soc_data->efuse_shift; in ti_cpufreq_get_efuse()
148 *efuse_value = opp_data->soc_data->efuse_xlate(opp_data, efuse); in ti_cpufreq_get_efuse()
[all …]