Home
last modified time | relevance | path

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

/drivers/devfreq/
Dmtk-cci-devfreq.c27 struct regulator *proc_reg; member
48 ret = regulator_set_voltage(drv->proc_reg, new_voltage, in mtk_ccifreq_set_voltage()
53 pre_voltage = regulator_get_voltage(drv->proc_reg); in mtk_ccifreq_set_voltage()
83 ret = regulator_set_voltage(drv->proc_reg, voltage, in mtk_ccifreq_set_voltage()
93 ret = regulator_set_voltage(drv->proc_reg, voltage, in mtk_ccifreq_set_voltage()
107 regulator_set_voltage(drv->proc_reg, pre_voltage, in mtk_ccifreq_set_voltage()
155 pre_voltage = regulator_get_voltage(drv->proc_reg); in mtk_ccifreq_target()
280 drv->proc_reg = devm_regulator_get_optional(dev, "proc"); in mtk_ccifreq_probe()
281 if (IS_ERR(drv->proc_reg)) { in mtk_ccifreq_probe()
282 ret = PTR_ERR(drv->proc_reg); in mtk_ccifreq_probe()
[all …]
/drivers/cpufreq/
Dmediatek-cpufreq.c43 struct regulator *proc_reg; member
82 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking() local
87 pre_vproc = regulator_get_voltage(proc_reg); in mtk_cpufreq_voltage_tracking()
119 ret = regulator_set_voltage(proc_reg, vproc, in mtk_cpufreq_voltage_tracking()
129 ret = regulator_set_voltage(proc_reg, vproc, in mtk_cpufreq_voltage_tracking()
143 regulator_set_voltage(proc_reg, pre_vproc, in mtk_cpufreq_voltage_tracking()
170 ret = regulator_set_voltage(info->proc_reg, vproc, in mtk_cpufreq_set_voltage()
219 pre_vproc = regulator_get_voltage(info->proc_reg); in mtk_cpufreq_set_target()
426 info->proc_reg = regulator_get_optional(cpu_dev, "proc"); in mtk_cpu_dvfs_info_init()
427 if (IS_ERR(info->proc_reg)) { in mtk_cpu_dvfs_info_init()
[all …]