Lines Matching refs:proc_reg
38 struct regulator *proc_reg; member
66 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking() local
70 old_vproc = regulator_get_voltage(proc_reg); in mtk_cpufreq_voltage_tracking()
92 old_vproc = regulator_get_voltage(proc_reg); in mtk_cpufreq_voltage_tracking()
125 ret = regulator_set_voltage(proc_reg, vproc, in mtk_cpufreq_voltage_tracking()
141 old_vproc = regulator_get_voltage(proc_reg); in mtk_cpufreq_voltage_tracking()
155 ret = regulator_set_voltage(proc_reg, vproc, in mtk_cpufreq_voltage_tracking()
184 regulator_set_voltage(proc_reg, old_vproc, in mtk_cpufreq_voltage_tracking()
200 return regulator_set_voltage(info->proc_reg, vproc, in mtk_cpufreq_set_voltage()
219 old_vproc = regulator_get_voltage(info->proc_reg); in mtk_cpufreq_set_target()
305 struct regulator *proc_reg = ERR_PTR(-ENODEV); in mtk_cpu_dvfs_info_init() local
343 proc_reg = regulator_get_optional(cpu_dev, "proc"); in mtk_cpu_dvfs_info_init()
344 if (IS_ERR(proc_reg)) { in mtk_cpu_dvfs_info_init()
345 if (PTR_ERR(proc_reg) == -EPROBE_DEFER) in mtk_cpu_dvfs_info_init()
352 ret = PTR_ERR(proc_reg); in mtk_cpu_dvfs_info_init()
385 info->proc_reg = proc_reg; in mtk_cpu_dvfs_info_init()
402 if (!IS_ERR(proc_reg)) in mtk_cpu_dvfs_info_init()
403 regulator_put(proc_reg); in mtk_cpu_dvfs_info_init()
416 if (!IS_ERR(info->proc_reg)) in mtk_cpu_dvfs_info_release()
417 regulator_put(info->proc_reg); in mtk_cpu_dvfs_info_release()