Home
last modified time | relevance | path

Searched refs:new_selector (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/regulator/
H A Dmax77826-regulator.c166 unsigned int new_selector);
211 unsigned int new_selector) in max77826_set_voltage_time_sel() argument
213 if (new_selector > old_selector) { in max77826_set_voltage_time_sel()
215 (new_selector - old_selector), in max77826_set_voltage_time_sel()
H A Ds2mpa01.c49 unsigned int new_selector) in s2mpa01_regulator_set_voltage_time_sel() argument
84 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mpa01_regulator_set_voltage_time_sel()
H A Dmax8997-regulator.c492 unsigned int new_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()
H A Dmax8998.c347 unsigned int new_selector) in max8998_set_voltage_buck_time_sel() argument
368 difference = (new_selector - old_selector) * rdev->desc->uV_step / 1000; in max8998_set_voltage_buck_time_sel()
H A Ds2mps11.c72 unsigned int new_selector) in s2mps11_regulator_set_voltage_time_sel() argument
107 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mps11_regulator_set_voltage_time_sel()
H A Dcore.c3586 int uV, int new_selector) in _regulator_set_voltage_sel_step() argument
3602 diff = new_selector - old_sel; in _regulator_set_voltage_sel_step()
3609 curr_sel < new_selector; in _regulator_set_voltage_sel_step()
3624 curr_sel > new_selector; in _regulator_set_voltage_sel_step()
3634 return _regulator_call_set_voltage_sel(rdev, uV, new_selector); in _regulator_set_voltage_sel_step()
4433 * @new_selector: selector for target voltage
4445 unsigned int new_selector) in regulator_set_voltage_time_sel() argument
4454 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel()
H A Dqcom_spmi-regulator.c909 unsigned int old_selector, unsigned int new_selector) in spmi_regulator_set_voltage_time_sel() argument
914 diff_uV = abs(spmi_regulator_common_list_voltage(rdev, new_selector) - in spmi_regulator_set_voltage_time_sel()
/linux/include/linux/regulator/
H A Ddriver.h202 unsigned int new_selector);
757 unsigned int new_selector);