Searched refs:new_volt (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/regulator/
H A Ds2mpa01.c62 int old_volt, new_volt; s2mpa01_regulator_set_voltage_time_sel() local
93 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); s2mpa01_regulator_set_voltage_time_sel()
95 return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); s2mpa01_regulator_set_voltage_time_sel()
H A Ds2mps11.c85 int old_volt, new_volt; s2mps11_regulator_set_voltage_time_sel() local
115 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); s2mps11_regulator_set_voltage_time_sel()
117 return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); s2mps11_regulator_set_voltage_time_sel()
H A Dcore.c2798 int old_volt, new_volt; regulator_set_voltage_time_sel() local
2815 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); regulator_set_voltage_time_sel()
2817 return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); regulator_set_voltage_time_sel()

Completed in 148 milliseconds