Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/regulator/
Dcore.c3430 int diff, old_sel, curr_sel, ret; in _regulator_set_voltage_sel_step() local
3449 for (curr_sel = old_sel + rdev->desc->vsel_step; in _regulator_set_voltage_sel_step()
3450 curr_sel < new_selector; in _regulator_set_voltage_sel_step()
3451 curr_sel += rdev->desc->vsel_step) { in _regulator_set_voltage_sel_step()
3458 ret = ops->set_voltage_sel(rdev, curr_sel); in _regulator_set_voltage_sel_step()
3464 for (curr_sel = old_sel - rdev->desc->vsel_step; in _regulator_set_voltage_sel_step()
3465 curr_sel > new_selector; in _regulator_set_voltage_sel_step()
3466 curr_sel -= rdev->desc->vsel_step) { in _regulator_set_voltage_sel_step()
3467 ret = ops->set_voltage_sel(rdev, curr_sel); in _regulator_set_voltage_sel_step()