Searched refs:new_selector (Results 1 – 7 of 7) sorted by relevance
166 unsigned int new_selector);211 unsigned int new_selector) in max77826_set_voltage_time_sel() argument213 if (new_selector > old_selector) { in max77826_set_voltage_time_sel()215 (new_selector - old_selector), in max77826_set_voltage_time_sel()
46 unsigned int new_selector) in atc260x_dcdc_set_voltage_time_sel() argument50 if (new_selector > old_selector) in atc260x_dcdc_set_voltage_time_sel()58 unsigned int new_selector) in atc260x_ldo_set_voltage_time_sel() argument62 if (new_selector > old_selector) in atc260x_ldo_set_voltage_time_sel()
49 unsigned int new_selector) in s2mpa01_regulator_set_voltage_time_sel() argument84 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()
347 unsigned int new_selector) in max8998_set_voltage_buck_time_sel() argument368 difference = (new_selector - old_selector) * rdev->desc->uV_step / 1000; in max8998_set_voltage_buck_time_sel()
3735 int uV, int new_selector) in _regulator_set_voltage_sel_step() argument3751 diff = new_selector - old_sel; in _regulator_set_voltage_sel_step()3758 curr_sel < new_selector; in _regulator_set_voltage_sel_step()3773 curr_sel > new_selector; in _regulator_set_voltage_sel_step()3783 return _regulator_call_set_voltage_sel(rdev, uV, new_selector); in _regulator_set_voltage_sel_step()4594 unsigned int new_selector) in regulator_set_voltage_time_sel() argument4603 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel()
909 unsigned int old_selector, unsigned int new_selector) in spmi_regulator_set_voltage_time_sel() argument914 diff_uV = abs(spmi_regulator_common_list_voltage(rdev, new_selector) - in spmi_regulator_set_voltage_time_sel()