Home
last modified time | relevance | path

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

/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()
/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()
/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()