Searched refs:old_selector (Results 1 – 9 of 9) sorted by relevance
/drivers/regulator/ |
D | max77826-regulator.c | 167 unsigned int old_selector, 212 unsigned int old_selector, in max77826_set_voltage_time_sel() argument 215 if (new_selector > old_selector) { in max77826_set_voltage_time_sel() 217 (new_selector - old_selector), in max77826_set_voltage_time_sel()
|
D | atc260x-regulator.c | 44 unsigned int old_selector, in atc260x_dcdc_set_voltage_time_sel() argument 49 if (new_selector > old_selector) in atc260x_dcdc_set_voltage_time_sel() 56 unsigned int old_selector, in atc260x_ldo_set_voltage_time_sel() argument 61 if (new_selector > old_selector) in atc260x_ldo_set_voltage_time_sel()
|
D | s2mpa01.c | 49 unsigned int old_selector, in s2mpa01_regulator_set_voltage_time_sel() argument 84 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mpa01_regulator_set_voltage_time_sel()
|
D | max8997-regulator.c | 491 unsigned int old_selector, in max8997_set_voltage_buck_time_sel() argument 499 if (old_selector >= new_selector) in max8997_set_voltage_buck_time_sel() 523 return DIV_ROUND_UP(desc->step * (new_selector - old_selector), in max8997_set_voltage_buck_time_sel()
|
D | max8998.c | 345 unsigned int old_selector, in max8998_set_voltage_buck_time_sel() argument 367 difference = (new_selector - old_selector) * rdev->desc->uV_step / 1000; in max8998_set_voltage_buck_time_sel()
|
D | core.c | 3579 int old_selector = -1; in _regulator_do_set_voltage() local 3594 old_selector = ops->get_voltage_sel(rdev); in _regulator_do_set_voltage() 3595 if (old_selector < 0) in _regulator_do_set_voltage() 3596 return old_selector; in _regulator_do_set_voltage() 3617 if (old_selector == selector) in _regulator_do_set_voltage() 3641 if (old_selector >= 0 && old_selector != selector) in _regulator_do_set_voltage() 3642 delay = ops->set_voltage_time_sel(rdev, old_selector, in _regulator_do_set_voltage() 4306 unsigned int old_selector, in regulator_set_voltage_time_sel() argument 4315 old_volt = rdev->desc->ops->list_voltage(rdev, old_selector); in regulator_set_voltage_time_sel()
|
D | rk808-regulator.c | 331 unsigned int old_selector, in rk808_buck1_2_set_voltage_time_sel() argument 342 return regulator_set_voltage_time_sel(rdev, old_selector, new_selector); in rk808_buck1_2_set_voltage_time_sel()
|
D | s2mps11.c | 69 unsigned int old_selector, in s2mps11_regulator_set_voltage_time_sel() argument 104 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mps11_regulator_set_voltage_time_sel()
|
D | qcom_spmi-regulator.c | 850 unsigned int old_selector, unsigned int new_selector) in spmi_regulator_set_voltage_time_sel() argument 856 spmi_regulator_common_list_voltage(rdev, old_selector)); in spmi_regulator_set_voltage_time_sel()
|