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

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

Completed in 37 milliseconds