Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dtps62360-regulator.c130 int new_vset_id = tps->curr_vset_id; in tps62360_dcdc_set_voltage_sel() local
137 found = find_voltage_set_register(tps, selector, &new_vset_id); in tps62360_dcdc_set_voltage_sel()
140 ret = regmap_update_bits(tps->regmap, REG_VSET0 + new_vset_id, in tps62360_dcdc_set_voltage_sel()
145 __func__, REG_VSET0 + new_vset_id, ret); in tps62360_dcdc_set_voltage_sel()
148 tps->curr_vset_id = new_vset_id; in tps62360_dcdc_set_voltage_sel()
149 tps->curr_vset_vsel[new_vset_id] = selector; in tps62360_dcdc_set_voltage_sel()
154 gpiod_set_value_cansleep(tps->vsel0_gpio, new_vset_id & 0x1); in tps62360_dcdc_set_voltage_sel()
156 (new_vset_id >> 1) & 0x1); in tps62360_dcdc_set_voltage_sel()