Searched refs:old_volt (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.6/drivers/regulator/ |
| D | s2mpa01.c | 53 int old_volt, new_volt; in s2mpa01_regulator_set_voltage_time_sel() local 83 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mpa01_regulator_set_voltage_time_sel() 86 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 104 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_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 | 4335 int old_volt, new_volt; in regulator_set_voltage_time_sel() local 4341 old_volt = rdev->desc->ops->list_voltage(rdev, old_selector); in regulator_set_voltage_time_sel() 4345 return rdev->desc->ops->set_voltage_time(rdev, old_volt, in regulator_set_voltage_time_sel() 4348 return _regulator_set_voltage_time(rdev, old_volt, new_volt); in regulator_set_voltage_time_sel()
|