Searched refs:vsram (Results 1 – 3 of 3) sorted by relevance
/drivers/devfreq/ |
D | mtk-cci-devfreq.c | 44 int pre_voltage, pre_vsram, new_vsram, vsram, voltage, ret; in mtk_ccifreq_set_voltage() local 70 vsram = clamp(pre_voltage + soc_data->max_volt_shift, in mtk_ccifreq_set_voltage() 72 ret = regulator_set_voltage(drv->sram_reg, vsram, in mtk_ccifreq_set_voltage() 77 if (vsram == soc_data->sram_max_volt || in mtk_ccifreq_set_voltage() 81 voltage = vsram - soc_data->min_volt_shift; in mtk_ccifreq_set_voltage() 99 vsram = new_vsram; in mtk_ccifreq_set_voltage() 101 vsram = max(new_vsram, in mtk_ccifreq_set_voltage() 104 ret = regulator_set_voltage(drv->sram_reg, vsram, in mtk_ccifreq_set_voltage() 114 pre_vsram = vsram; in mtk_ccifreq_set_voltage() 121 } while (voltage != new_voltage || vsram != new_vsram); in mtk_ccifreq_set_voltage()
|
/drivers/cpufreq/ |
D | mediatek-cpufreq.c | 84 int pre_vproc, pre_vsram, new_vsram, vsram, vproc, ret; in mtk_cpufreq_voltage_tracking() local 105 vsram = clamp(pre_vproc + soc_data->max_volt_shift, in mtk_cpufreq_voltage_tracking() 107 ret = regulator_set_voltage(sram_reg, vsram, in mtk_cpufreq_voltage_tracking() 113 if (vsram == soc_data->sram_max_volt || in mtk_cpufreq_voltage_tracking() 117 vproc = vsram - soc_data->min_volt_shift; in mtk_cpufreq_voltage_tracking() 135 vsram = new_vsram; in mtk_cpufreq_voltage_tracking() 137 vsram = max(new_vsram, in mtk_cpufreq_voltage_tracking() 140 ret = regulator_set_voltage(sram_reg, vsram, in mtk_cpufreq_voltage_tracking() 150 pre_vsram = vsram; in mtk_cpufreq_voltage_tracking() 157 } while (vproc != new_vproc || vsram != new_vsram); in mtk_cpufreq_voltage_tracking()
|
D | pxa3xx-cpufreq.c | 72 #define OP(cpufreq, _xl, _xn, _hss, _dmc, _smc, _sfl, _dfi, vcore, vsram) \ argument 83 .vcc_sram = vsram, \
|