Home
last modified time | relevance | path

Searched refs:old_selector (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/regulator/
H A Dmax77826-regulator.c165 unsigned int old_selector,
210 unsigned int old_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 Datc260x-regulator.c45 unsigned int old_selector, in atc260x_dcdc_set_voltage_time_sel() argument
50 if (new_selector > old_selector) in atc260x_dcdc_set_voltage_time_sel()
57 unsigned int old_selector, in atc260x_ldo_set_voltage_time_sel() argument
62 if (new_selector > old_selector) in atc260x_ldo_set_voltage_time_sel()
H A Ds2mpa01.c48 unsigned int old_selector, in s2mpa01_regulator_set_voltage_time_sel() argument
83 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mpa01_regulator_set_voltage_time_sel()
H A Dmax8997-regulator.c491 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()
H A Dmax8998.c346 unsigned int old_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 Dcore.c3825 int old_selector = -1; in _regulator_do_set_voltage() local
3840 old_selector = ops->get_voltage_sel(rdev); in _regulator_do_set_voltage()
3841 if (old_selector < 0) in _regulator_do_set_voltage()
3842 return old_selector; in _regulator_do_set_voltage()
3863 if (old_selector == selector) in _regulator_do_set_voltage()
3887 if (old_selector >= 0 && old_selector != selector) in _regulator_do_set_voltage()
3888 delay = ops->set_voltage_time_sel(rdev, old_selector, in _regulator_do_set_voltage()
4593 unsigned int old_selector, in regulator_set_voltage_time_sel() argument
4602 old_volt = rdev->desc->ops->list_voltage(rdev, old_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
915 spmi_regulator_common_list_voltage(rdev, old_selector)); in spmi_regulator_set_voltage_time_sel()