Lines Matching defs:vproc
68 int old_vproc, old_vsram, new_vsram, vsram, vproc, ret;
115 vproc = new_vproc;
120 vproc = vsram - MIN_VOLT_SHIFT;
125 ret = regulator_set_voltage(proc_reg, vproc,
126 vproc + VOLT_TOL);
132 } while (vproc < new_vproc || vsram < new_vsram);
154 vproc = max(new_vproc, old_vsram - MAX_VOLT_SHIFT);
155 ret = regulator_set_voltage(proc_reg, vproc,
156 vproc + VOLT_TOL);
160 if (vproc == new_vproc)
163 vsram = max(new_vsram, vproc + MIN_VOLT_SHIFT);
188 } while (vproc > new_vproc + VOLT_TOL ||
195 static int mtk_cpufreq_set_voltage(struct mtk_cpu_dvfs_info *info, int vproc)
198 return mtk_cpufreq_voltage_tracking(info, vproc);
200 return regulator_set_voltage(info->proc_reg, vproc,
201 vproc + VOLT_TOL);
214 int vproc, old_vproc, inter_vproc, target_vproc, ret;
233 vproc = dev_pm_opp_get_voltage(opp);
240 target_vproc = (inter_vproc > vproc) ? inter_vproc : vproc;
285 if (vproc < inter_vproc || vproc < old_vproc) {
286 ret = mtk_cpufreq_set_voltage(info, vproc);