Home
last modified time | relevance | path

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

/drivers/regulator/
Dcore.c3123 int diff, old_sel, curr_sel, ret; in _regulator_set_voltage_sel_step() local
3142 for (curr_sel = old_sel + rdev->desc->vsel_step; in _regulator_set_voltage_sel_step()
3143 curr_sel < new_selector; in _regulator_set_voltage_sel_step()
3144 curr_sel += rdev->desc->vsel_step) { in _regulator_set_voltage_sel_step()
3151 ret = ops->set_voltage_sel(rdev, curr_sel); in _regulator_set_voltage_sel_step()
3157 for (curr_sel = old_sel - rdev->desc->vsel_step; in _regulator_set_voltage_sel_step()
3158 curr_sel > new_selector; in _regulator_set_voltage_sel_step()
3159 curr_sel -= rdev->desc->vsel_step) { in _regulator_set_voltage_sel_step()
3160 ret = ops->set_voltage_sel(rdev, curr_sel); in _regulator_set_voltage_sel_step()