Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/regulator/
H A Dtps62360-regulator.c144 int new_vset_id = tps->curr_vset_id; in tps62360_dcdc_set_voltage_sel() local
151 found = find_voltage_set_register(tps, selector, &new_vset_id); in tps62360_dcdc_set_voltage_sel()
154 ret = regmap_update_bits(tps->regmap, REG_VSET0 + new_vset_id, in tps62360_dcdc_set_voltage_sel()
159 __func__, REG_VSET0 + new_vset_id, ret); in tps62360_dcdc_set_voltage_sel()
162 tps->curr_vset_id = new_vset_id; in tps62360_dcdc_set_voltage_sel()
163 tps->curr_vset_vsel[new_vset_id] = selector; in tps62360_dcdc_set_voltage_sel()
168 gpio_set_value_cansleep(tps->vsel0_gpio, new_vset_id & 0x1); in tps62360_dcdc_set_voltage_sel()
170 (new_vset_id >> 1) & 0x1); in tps62360_dcdc_set_voltage_sel()
/kernel/linux/linux-6.6/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()

Completed in 2 milliseconds