Lines Matching refs:volt
71 struct da9055_volt_reg volt; member
136 ret = da9055_reg_read(regulator->da9055, info->volt.reg_b); in da9055_ldo_get_mode()
140 if (ret >> info->volt.sl_shift) in da9055_ldo_get_mode()
150 struct da9055_volt_reg volt = info->volt; in da9055_ldo_set_mode() local
163 return da9055_reg_update(regulator->da9055, volt.reg_b, in da9055_ldo_set_mode()
164 1 << volt.sl_shift, in da9055_ldo_set_mode()
165 val << volt.sl_shift); in da9055_ldo_set_mode()
172 struct da9055_volt_reg volt = info->volt; in da9055_regulator_get_voltage_sel() local
188 ret = da9055_reg_read(regulator->da9055, volt.reg_a); in da9055_regulator_get_voltage_sel()
190 ret = da9055_reg_read(regulator->da9055, volt.reg_b); in da9055_regulator_get_voltage_sel()
195 sel = (ret & volt.v_mask); in da9055_regulator_get_voltage_sel()
218 return da9055_reg_update(regulator->da9055, info->volt.reg_a, in da9055_regulator_set_voltage_sel()
219 info->volt.v_mask, selector); in da9055_regulator_set_voltage_sel()
235 return da9055_reg_update(regulator->da9055, info->volt.reg_a, in da9055_regulator_set_voltage_sel()
236 info->volt.v_mask, selector); in da9055_regulator_set_voltage_sel()
238 return da9055_reg_update(regulator->da9055, info->volt.reg_b, in da9055_regulator_set_voltage_sel()
239 info->volt.v_mask, selector); in da9055_regulator_set_voltage_sel()
261 return da9055_reg_update(regulator->da9055, info->volt.reg_b, in da9055_regulator_set_suspend_voltage()
262 info->volt.v_mask, ret); in da9055_regulator_set_suspend_voltage()
353 .volt = {\
387 .volt = {\