Home
last modified time | relevance | path

Searched refs:dac_ctrl (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/sound/pci/oxygen/
Dxonar_dg.c185 unsigned char dac_ctrl; in set_cs4245_dac_params() local
188 dac_ctrl = data->cs4245_shadow[CS4245_DAC_CTRL_1] & ~CS4245_DAC_FM_MASK; in set_cs4245_dac_params()
191 dac_ctrl |= CS4245_DAC_FM_SINGLE; in set_cs4245_dac_params()
194 dac_ctrl |= CS4245_DAC_FM_DOUBLE; in set_cs4245_dac_params()
197 dac_ctrl |= CS4245_DAC_FM_QUAD; in set_cs4245_dac_params()
200 data->cs4245_shadow[CS4245_DAC_CTRL_1] = dac_ctrl; in set_cs4245_dac_params()
/linux-6.1.9/drivers/comedi/drivers/
Dme_daq.c140 unsigned short dac_ctrl; /* Mirror of the DAC_CONTROL register */ member
314 devpriv->dac_ctrl &= ~ME_DAC_CTRL_MASK(chan); in me_ao_insn_write()
316 devpriv->dac_ctrl |= ME_DAC_CTRL_GAIN(chan); in me_ao_insn_write()
318 devpriv->dac_ctrl |= ME_DAC_CTRL_BIPOLAR(chan); in me_ao_insn_write()
319 writew(devpriv->dac_ctrl, dev->mmio + ME_DAC_CTRL_REG); in me_ao_insn_write()
419 devpriv->dac_ctrl = 0; in me_reset()
/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dphy_lcn.c189 u16 dac_ctrl; in b43_phy_lcn_set_dac_gain() local
191 dac_ctrl = b43_phy_read(dev, 0x439); in b43_phy_lcn_set_dac_gain()
192 dac_ctrl = dac_ctrl & 0xc7f; in b43_phy_lcn_set_dac_gain()
193 dac_ctrl = dac_ctrl | (dac_gain << 7); in b43_phy_lcn_set_dac_gain()
194 b43_phy_maskset(dev, 0x439, ~0xfff, dac_ctrl); in b43_phy_lcn_set_dac_gain()
/linux-6.1.9/sound/spi/
Dat73c213.c774 unsigned char dac_ctrl = 0; in snd_at73c213_chip_init() local
824 dac_ctrl = (1<<DAC_CTRL_ONDACL) | (1<<DAC_CTRL_ONDACR) in snd_at73c213_chip_init()
827 retval = snd_at73c213_write_reg(chip, DAC_CTRL, dac_ctrl); in snd_at73c213_chip_init()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c1014 u16 dac_ctrl; in wlc_lcnphy_set_dac_gain() local
1016 dac_ctrl = (read_phy_reg(pi, 0x439) >> 0); in wlc_lcnphy_set_dac_gain()
1017 dac_ctrl = dac_ctrl & 0xc7f; in wlc_lcnphy_set_dac_gain()
1018 dac_ctrl = dac_ctrl | (dac_gain << 7); in wlc_lcnphy_set_dac_gain()
1019 mod_phy_reg(pi, 0x439, (0xfff << 0), (dac_ctrl) << 0); in wlc_lcnphy_set_dac_gain()