Lines Matching refs:proc_reg
38 struct regulator *proc_reg; member
64 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking() local
68 old_vproc = regulator_get_voltage(proc_reg); in mtk_cpufreq_voltage_tracking()
90 old_vproc = regulator_get_voltage(proc_reg); in mtk_cpufreq_voltage_tracking()
123 ret = regulator_set_voltage(proc_reg, vproc, in mtk_cpufreq_voltage_tracking()
139 old_vproc = regulator_get_voltage(proc_reg); in mtk_cpufreq_voltage_tracking()
153 ret = regulator_set_voltage(proc_reg, vproc, in mtk_cpufreq_voltage_tracking()
182 regulator_set_voltage(proc_reg, old_vproc, in mtk_cpufreq_voltage_tracking()
198 return regulator_set_voltage(info->proc_reg, vproc, in mtk_cpufreq_set_voltage()
217 old_vproc = regulator_get_voltage(info->proc_reg); in mtk_cpufreq_set_target()
303 struct regulator *proc_reg = ERR_PTR(-ENODEV); in mtk_cpu_dvfs_info_init() local
341 proc_reg = regulator_get_optional(cpu_dev, "proc"); in mtk_cpu_dvfs_info_init()
342 if (IS_ERR(proc_reg)) { in mtk_cpu_dvfs_info_init()
343 if (PTR_ERR(proc_reg) == -EPROBE_DEFER) in mtk_cpu_dvfs_info_init()
350 ret = PTR_ERR(proc_reg); in mtk_cpu_dvfs_info_init()
383 info->proc_reg = proc_reg; in mtk_cpu_dvfs_info_init()
400 if (!IS_ERR(proc_reg)) in mtk_cpu_dvfs_info_init()
401 regulator_put(proc_reg); in mtk_cpu_dvfs_info_init()
414 if (!IS_ERR(info->proc_reg)) in mtk_cpu_dvfs_info_release()
415 regulator_put(info->proc_reg); in mtk_cpu_dvfs_info_release()