Home
last modified time | relevance | path

Searched refs:val_mask (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/sound/soc/codecs/
Dtwl4030.c936 unsigned short val, val2, val_mask; in snd_soc_put_volsw_twl4030() local
940 val_mask = mask << shift; in snd_soc_put_volsw_twl4030()
946 val_mask |= mask << rshift; in snd_soc_put_volsw_twl4030()
951 return snd_soc_update_bits(codec, reg, val_mask, val); in snd_soc_put_volsw_twl4030()
993 unsigned short val, val2, val_mask; in snd_soc_put_volsw_r2_twl4030() local
995 val_mask = mask << shift; in snd_soc_put_volsw_r2_twl4030()
1007 err = snd_soc_update_bits(codec, reg, val_mask, val); in snd_soc_put_volsw_r2_twl4030()
1011 err = snd_soc_update_bits(codec, reg2, val_mask, val2); in snd_soc_put_volsw_r2_twl4030()
D88pm860x-codec.c401 unsigned int val, val2, val_mask; in snd_soc_put_volsw_2r_out() local
403 val_mask = mask << shift; in snd_soc_put_volsw_2r_out()
410 err = snd_soc_update_bits(codec, reg, val_mask, val); in snd_soc_put_volsw_2r_out()
414 err = snd_soc_update_bits(codec, reg2, val_mask, val2); in snd_soc_put_volsw_2r_out()
Dtlv320aic3x.c168 unsigned short val, val_mask; in snd_soc_dapm_put_volsw_aic3x() local
181 val_mask = mask << shift; in snd_soc_dapm_put_volsw_aic3x()
186 if (snd_soc_test_bits(widget->codec, reg, val_mask, val)) { in snd_soc_dapm_put_volsw_aic3x()
207 ret = snd_soc_update_bits(widget->codec, reg, val_mask, val); in snd_soc_dapm_put_volsw_aic3x()
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/
Dwlc_phy_n.c19772 u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0; in wlc_phy_rfctrl_override_nphy_rev7() local
19785 val_mask = (0x1 << 1); in wlc_phy_rfctrl_override_nphy_rev7()
19792 val_mask = (0x1 << 2); in wlc_phy_rfctrl_override_nphy_rev7()
19799 val_mask = (0x1 << 4); in wlc_phy_rfctrl_override_nphy_rev7()
19806 val_mask = (0x1 << 5); in wlc_phy_rfctrl_override_nphy_rev7()
19813 val_mask = (0x1 << 6); in wlc_phy_rfctrl_override_nphy_rev7()
19820 val_mask = (0x1 << 7); in wlc_phy_rfctrl_override_nphy_rev7()
19827 val_mask = (0x7 << 4); in wlc_phy_rfctrl_override_nphy_rev7()
19834 val_mask = (0xffff << 0); in wlc_phy_rfctrl_override_nphy_rev7()
19841 val_mask = (0xffff << 0); in wlc_phy_rfctrl_override_nphy_rev7()
[all …]
/linux-2.6.39/drivers/net/wireless/b43/
Dtables_nphy.h30 u16 val_mask; member
Dphy_n.c1846 ~(rf_ctrl->val_mask)); in b43_nphy_rf_control_override()
1851 ~(rf_ctrl->val_mask), in b43_nphy_rf_control_override()
/linux-2.6.39/sound/soc/
Dsoc-core.c2734 unsigned int val, val2, val_mask; in snd_soc_put_volsw() local
2739 val_mask = mask << shift; in snd_soc_put_volsw()
2745 val_mask |= mask << rshift; in snd_soc_put_volsw()
2748 return snd_soc_update_bits_locked(codec, reg, val_mask, val); in snd_soc_put_volsw()
2844 unsigned int val, val2, val_mask; in snd_soc_put_volsw_2r() local
2846 val_mask = mask << shift; in snd_soc_put_volsw_2r()
2858 err = snd_soc_update_bits_locked(codec, reg, val_mask, val); in snd_soc_put_volsw_2r()
2862 err = snd_soc_update_bits_locked(codec, reg2, val_mask, val2); in snd_soc_put_volsw_2r()
/linux-2.6.39/sound/pci/ac97/
Dac97_codec.c581 unsigned short val, val2, val_mask; in snd_ac97_put_volsw() local
587 val_mask = mask << shift; in snd_ac97_put_volsw()
593 val_mask |= mask << rshift; in snd_ac97_put_volsw()
596 err = snd_ac97_update_bits(ac97, reg, val_mask, val); in snd_ac97_put_volsw()
600 if ((val_mask & AC97_PD_EAPD) && in snd_ac97_put_volsw()