Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/typec/mux/
Dfsa4480.c65 u8 new_sel; in fsa4480_switch_set() local
68 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()
/linux-6.1.9/drivers/regulator/
Danatop-regulator.c36 unsigned int new_sel) in anatop_regmap_set_voltage_time_sel() argument
43 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()
Dmcp16502.c289 unsigned int new_sel) in mcp16502_set_voltage_time_sel() argument
301 uV_delta = abs(new_sel * rdev->desc->linear_ranges->step - in mcp16502_set_voltage_time_sel()
Dda9052-regulator.c237 unsigned int new_sel) in da9052_regulator_set_voltage_time_sel() argument
253 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
343 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()
Dcore.c4214 int new_sel = -1; in regulator_set_voltage_time() local
4232 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()