Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/regulator/
Dmax8925-regulator.c38 int vol_reg; member
48 return max8925_set_bits(info->i2c, info->vol_reg, mask, selector); in max8925_set_voltage_sel()
57 ret = max8925_reg_read(info->i2c, info->vol_reg); in max8925_get_voltage_sel()
121 return max8925_set_bits(info->i2c, info->vol_reg, 1 << SD1_DVM_EN, in max8925_set_dvm_enable()
129 return max8925_set_bits(info->i2c, info->vol_reg, 1 << SD1_DVM_EN, 0); in max8925_set_dvm_disable()
169 .vol_reg = MAX8925_SDV##_id, \
187 .vol_reg = MAX8925_LDOVOUT##_id, \
235 if (ri->vol_reg == res->start) in max8925_regulator_probe()
Dsy8824x.c21 unsigned int vol_reg; member
103 rdesc->vsel_reg = cfg->vol_reg; in sy8824_regulator_register()
167 .vol_reg = 0x00,
177 .vol_reg = 0x00,
187 .vol_reg = 0x00,
197 .vol_reg = 0x00,
Dfan53555.c119 unsigned int vol_reg; member
185 regmap_update_bits(rdev->regmap, di->vol_reg, di->mode_mask, 0); in fan53555_set_mode()
385 di->vol_reg = FAN53555_VSEL1; in fan53555_device_setup()
389 di->vol_reg = FAN53555_VSEL0; in fan53555_device_setup()
400 di->vol_reg = TCS4525_VSEL1; in fan53555_device_setup()
404 di->vol_reg = TCS4525_VSEL0; in fan53555_device_setup()
432 di->mode_reg = di->vol_reg; in fan53555_device_setup()
485 rdesc->enable_reg = di->vol_reg; in fan53555_regulator_register()
489 rdesc->vsel_reg = di->vol_reg; in fan53555_regulator_register()
Dda903x-regulator.c76 int vol_reg; member
112 return da903x_update(da9034_dev, info->vol_reg, val, mask); in da903x_set_voltage_sel()
125 ret = da903x_read(da9034_dev, info->vol_reg, &val); in da903x_get_voltage_sel()
182 ret = da903x_update(da903x_dev, info->vol_reg, val, mask); in da9030_set_ldo1_15_voltage_sel()
186 return da903x_update(da903x_dev, info->vol_reg, val, mask); in da9030_set_ldo1_15_voltage_sel()
242 ret = da903x_update(da9034_dev, info->vol_reg, val, mask); in da9034_set_dvc_voltage_sel()
322 .vol_reg = _pmic##_##vreg, \
342 .vol_reg = _pmic##_##vreg, \
/linux-5.19.10/drivers/media/usb/tm6000/
Dtm6000-core.c768 u8 vol_reg; in tm6010_set_volume_sif() local
770 vol_reg = vol & 0x0F; in tm6010_set_volume_sif()
773 vol_reg |= 0x40; in tm6010_set_volume_sif()
775 tm6000_set_reg(dev, TM6010_REQ08_R07_A_LEFT_VOL, vol_reg); in tm6010_set_volume_sif()
776 tm6000_set_reg(dev, TM6010_REQ08_R08_A_RIGHT_VOL, vol_reg); in tm6010_set_volume_sif()
781 u8 vol_reg; in tm6010_set_volume_adc() local
783 vol_reg = (vol + 0x10) & 0x1f; in tm6010_set_volume_adc()
786 tm6000_set_reg(dev, TM6010_REQ08_RF2_LEFT_CHANNEL_VOL, vol_reg); in tm6010_set_volume_adc()
787 tm6000_set_reg(dev, TM6010_REQ08_RF3_RIGHT_CHANNEL_VOL, vol_reg); in tm6010_set_volume_adc()
789 tm6000_set_reg(dev, TM6000_REQ07_REC_VADC_AADC_LVOL, vol_reg); in tm6010_set_volume_adc()
[all …]
/linux-5.19.10/sound/soc/codecs/
Dwcd9335.c3789 int vol_reg = 0, mix_vol_reg = 0; in wcd9335_codec_enable_lineout_pa() local
3793 vol_reg = WCD9335_CDC_RX3_RX_PATH_CTL; in wcd9335_codec_enable_lineout_pa()
3796 vol_reg = WCD9335_CDC_RX4_RX_PATH_CTL; in wcd9335_codec_enable_lineout_pa()
3801 vol_reg = WCD9335_CDC_RX5_RX_PATH_CTL; in wcd9335_codec_enable_lineout_pa()
3804 vol_reg = WCD9335_CDC_RX6_RX_PATH_CTL; in wcd9335_codec_enable_lineout_pa()
3818 snd_soc_component_update_bits(comp, vol_reg, in wcd9335_codec_enable_lineout_pa()