Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/regulator/
Ds2mpa01.c57 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()
Ds2mps11.c75 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()
Dcore.c3359 int old_volt, new_volt; in regulator_set_voltage_time_sel() local
3366 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel()
3370 new_volt); in regulator_set_voltage_time_sel()
3372 return _regulator_set_voltage_time(rdev, old_volt, new_volt); in regulator_set_voltage_time_sel()