Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/power/regulator/
H A Dfan53555.c64 unsigned int vol_reg; member
104 dev_pdata->vol_reg = FAN53555_VSEL1; in fan53555_regulator_ofdata_to_platdata()
108 dev_pdata->vol_reg = FAN53555_VSEL0; in fan53555_regulator_ofdata_to_platdata()
126 reg = pmic_reg_read(dev->parent, pdata->vol_reg); in fan53555_regulator_get_value()
143 __func__, uV, pdata->vol_reg, vol); in fan53555_regulator_set_value()
145 return pmic_clrsetbits(dev, pdata->vol_reg, GENMASK(6, 0), vol); in fan53555_regulator_set_value()
/openbmc/linux/drivers/regulator/
H A 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()
H A 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,
H A Dfan53555.c132 unsigned int vol_reg; member
445 di->vol_reg = FAN53555_VSEL1; in fan53555_device_setup()
449 di->vol_reg = FAN53555_VSEL0; in fan53555_device_setup()
456 di->en_reg = di->vol_reg; in fan53555_device_setup()
462 di->vol_reg = RK8602_VSEL1; in fan53555_device_setup()
468 di->vol_reg = RK8602_VSEL0; in fan53555_device_setup()
481 di->vol_reg = TCS4525_VSEL1; in fan53555_device_setup()
485 di->vol_reg = TCS4525_VSEL0; in fan53555_device_setup()
492 di->en_reg = di->vol_reg; in fan53555_device_setup()
516 di->mode_reg = di->vol_reg; in fan53555_device_setup()
[all …]
H A 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, \
/openbmc/linux/sound/soc/codecs/
H A Dwcd9335.c3778 int vol_reg = 0, mix_vol_reg = 0; in wcd9335_codec_enable_lineout_pa() local
3782 vol_reg = WCD9335_CDC_RX3_RX_PATH_CTL; in wcd9335_codec_enable_lineout_pa()
3785 vol_reg = WCD9335_CDC_RX4_RX_PATH_CTL; in wcd9335_codec_enable_lineout_pa()
3790 vol_reg = WCD9335_CDC_RX5_RX_PATH_CTL; in wcd9335_codec_enable_lineout_pa()
3793 vol_reg = WCD9335_CDC_RX6_RX_PATH_CTL; in wcd9335_codec_enable_lineout_pa()
3807 snd_soc_component_update_bits(comp, vol_reg, in wcd9335_codec_enable_lineout_pa()