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

/linux-4.1.27/drivers/regulator/
H A Dmax8925-regulator.c41 int vol_reg; member in struct:max8925_regulator_info
51 return max8925_set_bits(info->i2c, info->vol_reg, mask, selector); max8925_set_voltage_sel()
60 ret = max8925_reg_read(info->i2c, info->vol_reg); max8925_get_voltage_sel()
124 return max8925_set_bits(info->i2c, info->vol_reg, 1 << SD1_DVM_EN, max8925_set_dvm_enable()
132 return max8925_set_bits(info->i2c, info->vol_reg, 1 << SD1_DVM_EN, 0); max8925_set_dvm_disable()
170 .vol_reg = MAX8925_SDV##_id, \
186 .vol_reg = MAX8925_LDOVOUT##_id, \
293 if (ri->vol_reg == res->start) { max8925_regulator_probe()
H A Dfan53555.c85 unsigned int vol_reg; member in struct:fan53555_device_info
123 regmap_update_bits(di->regmap, di->vol_reg, fan53555_set_mode()
127 regmap_update_bits(di->regmap, di->vol_reg, VSEL_MODE, 0); fan53555_set_mode()
141 ret = regmap_read(di->regmap, di->vol_reg, &val); fan53555_get_mode()
251 di->vol_reg = FAN53555_VSEL1; fan53555_device_setup()
255 di->vol_reg = FAN53555_VSEL0; fan53555_device_setup()
287 rdesc->enable_reg = di->vol_reg; fan53555_regulator_register()
291 rdesc->vsel_reg = di->vol_reg; fan53555_regulator_register()
H A Dda903x.c80 int vol_reg; member in struct:da903x_regulator_info
116 return da903x_update(da9034_dev, info->vol_reg, val, mask); da903x_set_voltage_sel()
129 ret = da903x_read(da9034_dev, info->vol_reg, &val); da903x_get_voltage_sel()
186 ret = da903x_update(da903x_dev, info->vol_reg, val, mask); da9030_set_ldo1_15_voltage_sel()
190 return da903x_update(da903x_dev, info->vol_reg, val, mask); da9030_set_ldo1_15_voltage_sel()
246 ret = da903x_update(da9034_dev, info->vol_reg, val, mask); da9034_set_dvc_voltage_sel()
326 .vol_reg = _pmic##_##vreg, \
346 .vol_reg = _pmic##_##vreg, \
/linux-4.1.27/drivers/media/usb/tm6000/
H A Dtm6000-core.c783 u8 vol_reg; tm6010_set_volume_sif() local
785 vol_reg = vol & 0x0F; tm6010_set_volume_sif()
788 vol_reg |= 0x40; tm6010_set_volume_sif()
790 tm6000_set_reg(dev, TM6010_REQ08_R07_A_LEFT_VOL, vol_reg); tm6010_set_volume_sif()
791 tm6000_set_reg(dev, TM6010_REQ08_R08_A_RIGHT_VOL, vol_reg); tm6010_set_volume_sif()
796 u8 vol_reg; tm6010_set_volume_adc() local
798 vol_reg = (vol + 0x10) & 0x1f; tm6010_set_volume_adc()
801 tm6000_set_reg(dev, TM6010_REQ08_RF2_LEFT_CHANNEL_VOL, vol_reg); tm6010_set_volume_adc()
802 tm6000_set_reg(dev, TM6010_REQ08_RF3_RIGHT_CHANNEL_VOL, vol_reg); tm6010_set_volume_adc()
804 tm6000_set_reg(dev, TM6000_REQ07_REC_VADC_AADC_LVOL, vol_reg); tm6010_set_volume_adc()
805 tm6000_set_reg(dev, TM6000_REQ07_RED_VADC_AADC_RVOL, vol_reg); tm6010_set_volume_adc()

Completed in 167 milliseconds