Searched refs:new_selector (Results 1 – 8 of 8) sorted by relevance
185 unsigned int new_selector);535 unsigned int new_selector);
50 unsigned int new_selector) in s2mpa01_regulator_set_voltage_time_sel() argument85 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mpa01_regulator_set_voltage_time_sel()
492 unsigned int new_selector) in max8997_set_voltage_buck_time_sel() argument499 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()
333 unsigned int new_selector) in max8998_set_voltage_buck_time_sel() argument354 difference = (new_selector - old_selector) * rdev->desc->uV_step / 1000; in max8998_set_voltage_buck_time_sel()
3114 int uV, int new_selector) in _regulator_set_voltage_sel_step() argument3130 diff = new_selector - old_sel; in _regulator_set_voltage_sel_step()3137 curr_sel < new_selector; in _regulator_set_voltage_sel_step()3152 curr_sel > new_selector; in _regulator_set_voltage_sel_step()3162 return _regulator_call_set_voltage_sel(rdev, uV, new_selector); in _regulator_set_voltage_sel_step()3918 unsigned int new_selector) in regulator_set_voltage_time_sel() argument3927 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel()
330 unsigned int new_selector) in rk808_buck1_2_set_voltage_time_sel() argument340 return regulator_set_voltage_time_sel(rdev, old_selector, new_selector); in rk808_buck1_2_set_voltage_time_sel()
70 unsigned int new_selector) in s2mps11_regulator_set_voltage_time_sel() argument105 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mps11_regulator_set_voltage_time_sel()
813 unsigned int old_selector, unsigned int new_selector) in spmi_regulator_set_voltage_time_sel() argument818 diff_uV = abs(spmi_regulator_common_list_voltage(rdev, new_selector) - in spmi_regulator_set_voltage_time_sel()