Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/regulator/
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()