Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/regulator/
Dmax77826-regulator.c168 unsigned int new_selector);
213 unsigned int new_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()
Datc260x-regulator.c45 unsigned int new_selector) in atc260x_dcdc_set_voltage_time_sel() argument
49 if (new_selector > old_selector) in atc260x_dcdc_set_voltage_time_sel()
57 unsigned int new_selector) in atc260x_ldo_set_voltage_time_sel() argument
61 if (new_selector > old_selector) in atc260x_ldo_set_voltage_time_sel()
Ds2mpa01.c50 unsigned int new_selector) in s2mpa01_regulator_set_voltage_time_sel() argument
85 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mpa01_regulator_set_voltage_time_sel()
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()
Dmax8998.c346 unsigned int new_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()
Dcore.c3375 int uV, int new_selector) in _regulator_set_voltage_sel_step() argument
3391 diff = new_selector - old_sel; in _regulator_set_voltage_sel_step()
3398 curr_sel < new_selector; in _regulator_set_voltage_sel_step()
3413 curr_sel > new_selector; in _regulator_set_voltage_sel_step()
3423 return _regulator_call_set_voltage_sel(rdev, uV, new_selector); in _regulator_set_voltage_sel_step()
4195 unsigned int new_selector) in regulator_set_voltage_time_sel() argument
4204 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel()
Ds2mps11.c70 unsigned int new_selector) in s2mps11_regulator_set_voltage_time_sel() argument
105 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mps11_regulator_set_voltage_time_sel()
Drk808-regulator.c332 unsigned int new_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()
Dqcom_spmi-regulator.c850 unsigned int old_selector, unsigned int new_selector) in spmi_regulator_set_voltage_time_sel() argument
855 diff_uV = abs(spmi_regulator_common_list_voltage(rdev, new_selector) - in spmi_regulator_set_voltage_time_sel()
/Linux-v5.15/include/linux/regulator/
Ddriver.h201 unsigned int new_selector);
704 unsigned int new_selector);