Lines Matching refs:best_val
3577 int best_val = 0; in _regulator_do_set_voltage() local
3605 best_val = ops->list_voltage(rdev, in _regulator_do_set_voltage()
3608 best_val = regulator_get_voltage_rdev(rdev); in _regulator_do_set_voltage()
3614 best_val = ops->list_voltage(rdev, ret); in _regulator_do_set_voltage()
3615 if (min_uV <= best_val && max_uV >= best_val) { in _regulator_do_set_voltage()
3621 rdev, best_val, selector); in _regulator_do_set_voltage()
3624 rdev, best_val, selector); in _regulator_do_set_voltage()
3645 if (old_uV != best_val) { in _regulator_do_set_voltage()
3648 best_val); in _regulator_do_set_voltage()
3652 best_val); in _regulator_do_set_voltage()
3669 if (best_val >= 0) { in _regulator_do_set_voltage()
3670 unsigned long data = best_val; in _regulator_do_set_voltage()
3677 trace_regulator_set_voltage_complete(rdev_get_name(rdev), best_val); in _regulator_do_set_voltage()