Searched refs:old_selector (Results 1 – 4 of 4) sorted by relevance
2365 int old_selector = -1; in _regulator_do_set_voltage() local2379 old_selector = rdev->desc->ops->get_voltage_sel(rdev); in _regulator_do_set_voltage()2380 if (old_selector < 0) in _regulator_do_set_voltage()2381 return old_selector; in _regulator_do_set_voltage()2414 if (old_selector == selector) in _regulator_do_set_voltage()2428 if (ret == 0 && _regulator_is_enabled(rdev) && old_selector >= 0 && in _regulator_do_set_voltage()2429 old_selector != selector && rdev->desc->ops->set_voltage_time_sel) { in _regulator_do_set_voltage()2432 old_selector, selector); in _regulator_do_set_voltage()2588 unsigned int old_selector, in regulator_set_voltage_time_sel() argument2608 old_volt = rdev->desc->ops->list_voltage(rdev, old_selector); in regulator_set_voltage_time_sel()
510 unsigned int old_selector, in max8997_set_voltage_buck_time_sel() argument518 if (old_selector >= new_selector) in max8997_set_voltage_buck_time_sel()542 return DIV_ROUND_UP(desc->step * (new_selector - old_selector), in max8997_set_voltage_buck_time_sel()
411 unsigned int old_selector, in max8998_set_voltage_buck_time_sel() argument436 difference = (new_selector - old_selector) * desc->step / 1000; in max8998_set_voltage_buck_time_sel()
412 unsigned int old_selector, unsigned int new_selector) in palma_smps_set_voltage_smps_time_sel() argument422 old_uv = palmas_list_voltage_smps(rdev, old_selector); in palma_smps_set_voltage_smps_time_sel()