Searched refs:new_sel (Results 1 – 6 of 6) sorted by relevance
65 u8 new_sel; in fsa4480_switch_set() local68 new_sel = FSA4480_SEL_USB; in fsa4480_switch_set()70 new_sel |= FSA4480_SEL_SBU_REVERSE; in fsa4480_switch_set()72 if (new_sel == fsa->cur_select) in fsa4480_switch_set()84 regmap_write(fsa->regmap, FSA4480_SWITCH_SELECT, new_sel); in fsa4480_switch_set()85 fsa->cur_select = new_sel; in fsa4480_switch_set()
36 unsigned int new_sel) in anatop_regmap_set_voltage_time_sel() argument43 if (anatop_reg->delay_bit_width && new_sel > old_sel) { in anatop_regmap_set_voltage_time_sel()53 ret = (new_sel - old_sel) * (LDO_RAMP_UP_UNIT_IN_CYCLES << in anatop_regmap_set_voltage_time_sel()
289 unsigned int new_sel) in mcp16502_set_voltage_time_sel() argument301 uV_delta = abs(new_sel * rdev->desc->linear_ranges->step - in mcp16502_set_voltage_time_sel()
237 unsigned int new_sel) in da9052_regulator_set_voltage_time_sel() argument253 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() argument343 if ((old_sel < new_sel) && s5m8767->ramp_delay) in s5m8767_set_voltage_time_sel()344 return DIV_ROUND_UP(rdev->desc->uV_step * (new_sel - old_sel), in s5m8767_set_voltage_time_sel()
4214 int new_sel = -1; in regulator_set_voltage_time() local4232 if (old_sel >= 0 && new_sel >= 0) in regulator_set_voltage_time()4243 new_sel = i; in regulator_set_voltage_time()4246 if (old_sel < 0 || new_sel < 0) in regulator_set_voltage_time()4249 return ops->set_voltage_time_sel(rdev, old_sel, new_sel); in regulator_set_voltage_time()