Searched refs:vproc (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/cpufreq/ |
D | mediatek-cpufreq.c | 76 int old_vproc, old_vsram, new_vsram, vsram, vproc, ret; in mtk_cpufreq_voltage_tracking() local 123 vproc = new_vproc; in mtk_cpufreq_voltage_tracking() 128 vproc = vsram - MIN_VOLT_SHIFT; in mtk_cpufreq_voltage_tracking() 133 ret = regulator_set_voltage(proc_reg, vproc, in mtk_cpufreq_voltage_tracking() 134 vproc + VOLT_TOL); in mtk_cpufreq_voltage_tracking() 140 } while (vproc < new_vproc || vsram < new_vsram); in mtk_cpufreq_voltage_tracking() 162 vproc = max(new_vproc, old_vsram - MAX_VOLT_SHIFT); in mtk_cpufreq_voltage_tracking() 163 ret = regulator_set_voltage(proc_reg, vproc, in mtk_cpufreq_voltage_tracking() 164 vproc + VOLT_TOL); in mtk_cpufreq_voltage_tracking() 168 if (vproc == new_vproc) in mtk_cpufreq_voltage_tracking() [all …]
|