Searched refs:new_sel (Results 1 – 4 of 4) sorted by relevance
44 unsigned int new_sel) in anatop_regmap_set_voltage_time_sel() argument51 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()
245 unsigned int new_sel) in da9052_regulator_set_voltage_time_sel() argument261 ret = DIV_ROUND_UP(abs(new_sel - old_sel) * info->step_uV, in da9052_regulator_set_voltage_time_sel()
339 unsigned int new_sel) in s5m8767_set_voltage_time_sel() argument347 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()
3310 int new_sel = -1; in regulator_set_voltage_time() local3333 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()