Home
last modified time | relevance | path

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

/u-boot/drivers/power/regulator/
A Dregulator-uclass.c40 static void regulator_set_value_ramp_delay(struct udevice *dev, int old_uV, in regulator_set_value_ramp_delay() argument
43 int delay = DIV_ROUND_UP(abs(new_uV - old_uV), ramp_delay); in regulator_set_value_ramp_delay()
46 old_uV, new_uV); in regulator_set_value_ramp_delay()
55 int ret, old_uV = uV, is_enabled = 0; in regulator_set_value() local
68 old_uV = regulator_get_value(dev); in regulator_set_value()
74 if (uc_pdata->ramp_delay && old_uV > 0 && is_enabled) in regulator_set_value()
75 regulator_set_value_ramp_delay(dev, old_uV, uV, in regulator_set_value()

Completed in 3 milliseconds