Searched refs:new_volt (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/devfreq/ |
D | exynos-bus.c | 102 unsigned long old_freq, new_freq, new_volt, tol; in exynos_bus_target() local 113 new_volt = dev_pm_opp_get_voltage(new_opp); in exynos_bus_target() 120 tol = new_volt * bus->voltage_tolerance / 100; in exynos_bus_target() 126 ret = regulator_set_voltage_tol(bus->regulator, new_volt, tol); in exynos_bus_target() 141 ret = regulator_set_voltage_tol(bus->regulator, new_volt, tol); in exynos_bus_target()
|
/Linux-v4.19/drivers/regulator/ |
D | s2mpa01.c | 57 int old_volt, new_volt; in s2mpa01_regulator_set_voltage_time_sel() local 88 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mpa01_regulator_set_voltage_time_sel() 90 return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); in s2mpa01_regulator_set_voltage_time_sel()
|
D | s2mps11.c | 75 int old_volt, new_volt; in s2mps11_regulator_set_voltage_time_sel() local 105 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mps11_regulator_set_voltage_time_sel() 107 return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); in s2mps11_regulator_set_voltage_time_sel()
|
D | core.c | 3300 int old_volt, new_volt; in regulator_set_voltage_time_sel() local 3307 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel() 3311 new_volt); in regulator_set_voltage_time_sel() 3313 return _regulator_set_voltage_time(rdev, old_volt, new_volt); in regulator_set_voltage_time_sel()
|