Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/regulator/
Ddriver.h166 unsigned int old_selector,
443 unsigned int old_selector,
/linux-4.4.14/drivers/regulator/
Ds2mpa01.c57 unsigned int old_selector, in s2mpa01_regulator_set_voltage_time_sel() argument
92 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mpa01_regulator_set_voltage_time_sel()
Drk808-regulator.c201 unsigned int old_selector, in rk808_buck1_2_set_voltage_time_sel() argument
212 return regulator_set_voltage_time_sel(rdev, old_selector, new_selector); in rk808_buck1_2_set_voltage_time_sel()
Dcore.c2737 int old_selector = -1; in _regulator_do_set_voltage() local
2751 old_selector = rdev->desc->ops->get_voltage_sel(rdev); in _regulator_do_set_voltage()
2752 if (old_selector < 0) in _regulator_do_set_voltage()
2753 return old_selector; in _regulator_do_set_voltage()
2774 if (old_selector == selector) in _regulator_do_set_voltage()
2788 if (ret == 0 && !rdev->constraints->ramp_disable && old_selector >= 0 in _regulator_do_set_voltage()
2789 && old_selector != selector) { in _regulator_do_set_voltage()
2792 old_selector, selector); in _regulator_do_set_voltage()
3023 unsigned int old_selector, in regulator_set_voltage_time_sel() argument
3043 old_volt = rdev->desc->ops->list_voltage(rdev, old_selector); in regulator_set_voltage_time_sel()
Dmax8997.c509 unsigned int old_selector, in max8997_set_voltage_buck_time_sel() argument
517 if (old_selector >= new_selector) in max8997_set_voltage_buck_time_sel()
541 return DIV_ROUND_UP(desc->step * (new_selector - old_selector), in max8997_set_voltage_buck_time_sel()
Dmax8998.c413 unsigned int old_selector, in max8998_set_voltage_buck_time_sel() argument
438 difference = (new_selector - old_selector) * desc->step / 1000; in max8998_set_voltage_buck_time_sel()
Ds2mps11.c80 unsigned int old_selector, in s2mps11_regulator_set_voltage_time_sel() argument
114 old_volt = rdev->desc->min_uV + (rdev->desc->uV_step * old_selector); in s2mps11_regulator_set_voltage_time_sel()
Dqcom_spmi-regulator.c697 unsigned int old_selector, unsigned int new_selector) in spmi_regulator_set_voltage_time_sel() argument
707 diff_uV = abs(new_selector - old_selector) * range->step_uV; in spmi_regulator_set_voltage_time_sel()