/linux-6.6.21/sound/soc/ |
D | soc-ops.c | 331 unsigned int val, val_mask; in snd_soc_put_volsw() local 346 val_mask = mask << shift; in snd_soc_put_volsw() 360 val_mask |= mask << rshift; in snd_soc_put_volsw() 367 err = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw() 373 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw() 448 unsigned int val, val_mask; in snd_soc_put_volsw_sx() local 457 val_mask = mask << shift; in snd_soc_put_volsw_sx() 461 err = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw_sx() 474 val_mask = mask << rshift; in snd_soc_put_volsw_sx() 478 err = snd_soc_component_update_bits(component, reg2, val_mask, in snd_soc_put_volsw_sx() [all …]
|
/linux-6.6.21/sound/soc/qcom/ |
D | lpass-platform.c | 673 unsigned int reg_irqen = 0, val_irqen = 0, val_mask = 0; in lpass_platform_pcmops_trigger() local 708 val_mask = (LPAIF_IRQ_ALL(ch) | in lpass_platform_pcmops_trigger() 727 val_mask = LPAIF_IRQ_ALL(ch); in lpass_platform_pcmops_trigger() 742 val_mask = LPAIF_IRQ_ALL(ch); in lpass_platform_pcmops_trigger() 756 val_mask = LPAIF_IRQ_ALL(ch); in lpass_platform_pcmops_trigger() 769 ret = regmap_update_bits(map, reg_irqen, val_mask, val_irqen); in lpass_platform_pcmops_trigger() 795 val_mask = (LPAIF_IRQ_ALL(ch) | in lpass_platform_pcmops_trigger() 807 val_mask = LPAIF_IRQ_ALL(ch); in lpass_platform_pcmops_trigger() 823 val_mask = LPAIF_IRQ_ALL(ch); in lpass_platform_pcmops_trigger() 838 val_mask = LPAIF_IRQ_ALL(ch); in lpass_platform_pcmops_trigger() [all …]
|
/linux-6.6.21/drivers/net/wireless/broadcom/b43/ |
D | tables_nphy.h | 31 u16 val_mask; member 43 u16 val_mask; member
|
D | phy_n.c | 185 b43_phy_mask(dev, val_addr, ~e->val_mask); in b43_nphy_rf_ctl_override_rev7() 190 b43_phy_maskset(dev, val_addr, ~e->val_mask, (value << e->val_shift)); in b43_nphy_rf_ctl_override_rev7() 268 ~(rf_ctrl->val_mask)); in b43_nphy_rf_ctl_override() 273 ~(rf_ctrl->val_mask), in b43_nphy_rf_ctl_override()
|
/linux-6.6.21/sound/soc/codecs/ |
D | twl4030.c | 874 unsigned short val, val2, val_mask; in snd_soc_put_volsw_twl4030() local 878 val_mask = mask << shift; in snd_soc_put_volsw_twl4030() 884 val_mask |= mask << rshift; in snd_soc_put_volsw_twl4030() 889 return snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw_twl4030() 931 unsigned short val, val2, val_mask; in snd_soc_put_volsw_r2_twl4030() local 933 val_mask = mask << shift; in snd_soc_put_volsw_r2_twl4030() 945 err = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw_r2_twl4030() 949 err = snd_soc_component_update_bits(component, reg2, val_mask, val2); in snd_soc_put_volsw_r2_twl4030()
|
D | rt715-sdca.c | 355 unsigned int val[4] = {0}, val_mask, i, k_changed = 0; in rt715_sdca_put_volsw() local 375 val_mask = mask << shift; in rt715_sdca_put_volsw() 387 err = snd_soc_component_update_bits(component, reg + i * 2, val_mask, in rt715_sdca_put_volsw() 393 val_mask, val[i * 2 + 1]); in rt715_sdca_put_volsw()
|
D | 88pm860x-codec.c | 356 unsigned int val, val2, val_mask; in snd_soc_put_volsw_2r_out() local 358 val_mask = mask << shift; in snd_soc_put_volsw_2r_out() 365 err = snd_soc_component_update_bits(component, reg, val_mask, val); in snd_soc_put_volsw_2r_out() 369 err = snd_soc_component_update_bits(component, reg2, val_mask, val2); in snd_soc_put_volsw_2r_out()
|
/linux-6.6.21/drivers/media/i2c/ |
D | ths8200.c | 98 uint8_t clr_mask, uint8_t val_mask) in ths8200_write_and_or() argument 100 ths8200_write(sd, reg, (ths8200_read(sd, reg) & clr_mask) | val_mask); in ths8200_write_and_or()
|
D | adv7511-v4l2.c | 211 static inline void adv7511_wr_and_or(struct v4l2_subdev *sd, u8 reg, u8 clr_mask, u8 val_mask) in adv7511_wr_and_or() argument 213 adv7511_wr(sd, reg, (adv7511_rd(sd, reg) & clr_mask) | val_mask); in adv7511_wr_and_or()
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 14814 u16 addr = 0, en_addr = 0, val_addr = 0, en_mask = 0, val_mask = 0; in wlc_phy_rfctrl_override_nphy_rev7() local 14827 val_mask = (0x1 << 1); in wlc_phy_rfctrl_override_nphy_rev7() 14834 val_mask = (0x1 << 2); in wlc_phy_rfctrl_override_nphy_rev7() 14841 val_mask = (0x1 << 4); in wlc_phy_rfctrl_override_nphy_rev7() 14848 val_mask = (0x1 << 5); in wlc_phy_rfctrl_override_nphy_rev7() 14855 val_mask = (0x1 << 6); in wlc_phy_rfctrl_override_nphy_rev7() 14862 val_mask = (0x1 << 7); in wlc_phy_rfctrl_override_nphy_rev7() 14869 val_mask = (0x7 << 4); in wlc_phy_rfctrl_override_nphy_rev7() 14876 val_mask = (0xffff << 0); in wlc_phy_rfctrl_override_nphy_rev7() 14883 val_mask = (0xffff << 0); in wlc_phy_rfctrl_override_nphy_rev7() [all …]
|
/linux-6.6.21/sound/pci/ac97/ |
D | ac97_codec.c | 567 unsigned short val, val2, val_mask; in snd_ac97_put_volsw() local 573 val_mask = mask << shift; in snd_ac97_put_volsw() 579 val_mask |= mask << rshift; in snd_ac97_put_volsw() 582 err = snd_ac97_update_bits(ac97, reg, val_mask, val); in snd_ac97_put_volsw() 586 if ((val_mask & AC97_PD_EAPD) && in snd_ac97_put_volsw()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 2642 u64 reg, val, regval, schq_regbase, val_mask; in rvu_mbox_handler_nix_txschq_cfg() local 2683 val_mask = req->regval_mask[idx]; in rvu_mbox_handler_nix_txschq_cfg() 2694 regval = (val & val_mask) | (regval & ~val_mask); in rvu_mbox_handler_nix_txschq_cfg()
|