Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/regulator/
Danatop-regulator.c44 unsigned int new_sel) in anatop_regmap_set_voltage_time_sel() argument
51 if (anatop_reg->delay_bit_width && new_sel > old_sel) { in anatop_regmap_set_voltage_time_sel()
61 ret = (new_sel - old_sel) * (LDO_RAMP_UP_UNIT_IN_CYCLES << in anatop_regmap_set_voltage_time_sel()
Dda9052-regulator.c245 unsigned int new_sel) in da9052_regulator_set_voltage_time_sel() argument
261 ret = DIV_ROUND_UP(abs(new_sel - old_sel) * info->step_uV, in da9052_regulator_set_voltage_time_sel()
Ds5m8767.c339 unsigned int new_sel) in s5m8767_set_voltage_time_sel() argument
347 if ((old_sel < new_sel) && s5m8767->ramp_delay) in s5m8767_set_voltage_time_sel()
348 return DIV_ROUND_UP(desc->step * (new_sel - old_sel), in s5m8767_set_voltage_time_sel()
Dcore.c3310 int new_sel = -1; in regulator_set_voltage_time() local
3333 new_sel = i; in regulator_set_voltage_time()
3336 if (old_sel < 0 || new_sel < 0) in regulator_set_voltage_time()
3339 return ops->set_voltage_time_sel(rdev, old_sel, new_sel); in regulator_set_voltage_time()