/linux/net/mac80211/ |
A D | ht.c | 69 scaps = (u8 *)(&ht_capa->mcs.rx_mask); in ieee80211_apply_htcap_overrides() 70 smask = (u8 *)(&ht_capa_mask->mcs.rx_mask); in ieee80211_apply_htcap_overrides() 81 ht_cap->mcs.rx_mask[i] &= ~m; /* turn off all masked bits */ in ieee80211_apply_htcap_overrides() 83 ht_cap->mcs.rx_mask[i] |= (m & scaps[i]); in ieee80211_apply_htcap_overrides() 223 ht_cap.mcs.rx_mask[i] = in ieee80211_ht_cap_ie_to_sta_ht_cap() 224 own_cap.mcs.rx_mask[i] & ht_cap_ie->mcs.rx_mask[i]; in ieee80211_ht_cap_ie_to_sta_ht_cap() 229 ht_cap.mcs.rx_mask[i] = in ieee80211_ht_cap_ie_to_sta_ht_cap() 230 own_cap.mcs.rx_mask[i] & in ieee80211_ht_cap_ie_to_sta_ht_cap() 231 ht_cap_ie->mcs.rx_mask[i]; in ieee80211_ht_cap_ie_to_sta_ht_cap() 234 if (own_cap.mcs.rx_mask[32/8] & ht_cap_ie->mcs.rx_mask[32/8] & 1) in ieee80211_ht_cap_ie_to_sta_ht_cap() [all …]
|
A D | vht.c | 528 if (sta->sta.ht_cap.mcs.rx_mask[0]) in ieee80211_sta_set_rx_nss() 530 if (sta->sta.ht_cap.mcs.rx_mask[1]) in ieee80211_sta_set_rx_nss() 532 if (sta->sta.ht_cap.mcs.rx_mask[2]) in ieee80211_sta_set_rx_nss() 534 if (sta->sta.ht_cap.mcs.rx_mask[3]) in ieee80211_sta_set_rx_nss()
|
/linux/sound/soc/bcm/ |
A D | bcm2835-i2s.c | 117 unsigned int rx_mask; member 241 dev->rx_mask = 0x03; in bcm2835_i2s_set_dai_bclk_ratio() 250 unsigned int tx_mask, unsigned int rx_mask, in bcm2835_i2s_set_dai_tdm_slot() argument 260 rx_mask &= GENMASK(slots - 1, 0); in bcm2835_i2s_set_dai_tdm_slot() 267 if (hweight_long((unsigned long) rx_mask) != 2 in bcm2835_i2s_set_dai_tdm_slot() 277 dev->rx_mask = rx_mask; in bcm2835_i2s_set_dai_tdm_slot() 337 unsigned int rx_mask, tx_mask; in bcm2835_i2s_hw_params() local 364 rx_mask = dev->rx_mask; in bcm2835_i2s_hw_params() 370 rx_mask = 0x03; in bcm2835_i2s_hw_params() 497 rx_mask, slot_width, data_delay, odd_slot_offset); in bcm2835_i2s_hw_params() [all …]
|
/linux/sound/soc/meson/ |
A D | axg-card.c | 24 u32 *rx_mask; member 75 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init() 168 be->rx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 169 sizeof(*be->rx_mask), GFP_KERNEL); in axg_card_parse_cpu_tdm_slots() 170 if (!be->tx_mask || !be->rx_mask) in axg_card_parse_cpu_tdm_slots() 185 snd_soc_of_get_slot_mask(node, propname, &be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots() 186 rx = max(rx, be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots()
|
A D | axg-tdm-interface.c | 36 u32 *rx_mask, unsigned int slots, in axg_tdm_set_tdm_slots() argument 48 rx_slots = axg_tdm_slots_total(rx_mask); in axg_tdm_set_tdm_slots() 90 rx->mask = rx_mask; in axg_tdm_set_tdm_slots()
|
/linux/sound/soc/ |
A D | soc-dai.c | 229 unsigned int *rx_mask) in snd_soc_xlate_tdm_slot_mask() argument 231 if (*tx_mask || *rx_mask) in snd_soc_xlate_tdm_slot_mask() 238 *rx_mask = (1 << slots) - 1; in snd_soc_xlate_tdm_slot_mask() 267 unsigned int tx_mask, unsigned int rx_mask, in snd_soc_dai_set_tdm_slot() argument 275 &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot() 277 snd_soc_xlate_tdm_slot_mask(slots, &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot() 280 dai->rx_mask = rx_mask; in snd_soc_dai_set_tdm_slot() 284 ret = dai->driver->ops->set_tdm_slot(dai, tx_mask, rx_mask, in snd_soc_dai_set_tdm_slot()
|
/linux/sound/soc/codecs/ |
A D | mc13783.c | 295 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_dac() argument 317 switch (rx_mask) { in mc13783_set_tdm_slot_dac() 340 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_codec() argument 362 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_sync() argument 367 ret = mc13783_set_tdm_slot_dac(dai, tx_mask, rx_mask, slots, in mc13783_set_tdm_slot_sync() 372 ret = mc13783_set_tdm_slot_codec(dai, tx_mask, rx_mask, slots, in mc13783_set_tdm_slot_sync()
|
A D | adau1977.c | 496 unsigned int rx_mask, int slots, int width) in adau1977_set_tdm_slot() argument 513 if (rx_mask == 0 || tx_mask != 0) in adau1977_set_tdm_slot() 518 slot[i] = __ffs(rx_mask); in adau1977_set_tdm_slot() 520 rx_mask &= ~(1 << slot[i]); in adau1977_set_tdm_slot() 523 if (rx_mask == 0) in adau1977_set_tdm_slot() 527 if (rx_mask != 0) in adau1977_set_tdm_slot()
|
A D | max98373-sdw.c | 563 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params() 719 unsigned int rx_mask, in max98373_sdw_set_tdm_slot() argument 730 if (!rx_mask && !slots && !slot_width) in max98373_sdw_set_tdm_slot() 735 max98373->rx_mask = rx_mask; in max98373_sdw_set_tdm_slot()
|
A D | ssm4567.c | 234 unsigned int rx_mask, int slots, int width) in ssm4567_set_tdm_slot() argument 244 if (rx_mask && rx_mask != tx_mask) in ssm4567_set_tdm_slot()
|
A D | max98520.c | 265 unsigned int tx_mask, unsigned int rx_mask, in max98520_dai_tdm_slot() argument 274 if (!tx_mask && !rx_mask && !slots && !slot_width) in max98520_dai_tdm_slot() 317 rx_mask); in max98520_dai_tdm_slot() 321 rx_mask << MAX98520_PCM_DMIX_CH1_SHIFT); in max98520_dai_tdm_slot()
|
A D | cs53l30.c | 767 unsigned int tx_mask, unsigned int rx_mask, in cs53l30_set_dai_tdm_slot() argument 776 if (!rx_mask) { in cs53l30_set_dai_tdm_slot() 795 for (i = 0; rx_mask && i < CS53L30_TDM_SLOT_MAX; i++) { in cs53l30_set_dai_tdm_slot() 797 slot_next = __ffs(rx_mask); in cs53l30_set_dai_tdm_slot() 803 rx_mask &= ~(1 << slot_next); in cs53l30_set_dai_tdm_slot() 807 if (rx_mask && i == CS53L30_TDM_SLOT_MAX) { in cs53l30_set_dai_tdm_slot()
|
A D | rt1019.c | 391 unsigned int rx_mask, int slots, int slot_width) in rt1019_set_tdm_slot() argument 433 rx_slotnum = hweight_long(rx_mask); in rt1019_set_tdm_slot() 444 first_bit = __ffs(rx_mask); in rt1019_set_tdm_slot()
|
A D | tas6424.c | 211 unsigned int tx_mask, unsigned int rx_mask, in tas6424_set_dai_tdm_slot() argument 219 tx_mask, rx_mask); in tas6424_set_dai_tdm_slot() 221 if (!tx_mask || !rx_mask) in tas6424_set_dai_tdm_slot() 230 last_slot = __fls(rx_mask); in tas6424_set_dai_tdm_slot()
|
A D | rt1308-sdw.c | 501 unsigned int rx_mask, in rt1308_sdw_set_tdm_slot() argument 514 rt1308->rx_mask = rx_mask; in rt1308_sdw_set_tdm_slot() 553 ch_mask = rt1308->rx_mask; in rt1308_sdw_hw_params()
|
A D | rt1308-sdw.h | 163 int rx_mask; member
|
A D | pcm3168a.c | 424 unsigned int rx_mask, int slots, in pcm3168a_set_tdm_slot() argument 431 if (tx_mask >= (1<<slots) || rx_mask >= (1<<slots)) { in pcm3168a_set_tdm_slot() 434 tx_mask, rx_mask, slots); in pcm3168a_set_tdm_slot() 451 io_params->tdm_mask = rx_mask; in pcm3168a_set_tdm_slot()
|
A D | max98373-i2c.c | 320 unsigned int tx_mask, unsigned int rx_mask, in max98373_dai_tdm_slot() argument 330 if (!tx_mask && !rx_mask && !slots && !slot_width) in max98373_dai_tdm_slot() 371 mask = rx_mask; in max98373_dai_tdm_slot()
|
A D | max98504.c | 200 unsigned int tx_mask, unsigned int rx_mask, in max98504_set_tdm_slot() argument 210 max98504->pcm_rx_channels = rx_mask; in max98504_set_tdm_slot()
|
/linux/include/sound/ |
A D | soc-dai.h | 182 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width); 286 unsigned int *tx_mask, unsigned int *rx_mask); 288 unsigned int tx_mask, unsigned int rx_mask, 453 unsigned int rx_mask; member
|
/linux/sound/soc/ux500/ |
A D | ux500_msp_dai.c | 49 multi->rx_channel_0_enable = drvdata->rx_mask; in setup_pcm_multichan() 519 drvdata->rx_mask; in ux500_msp_dai_hw_params() 582 unsigned int rx_mask, in ux500_msp_dai_set_tdm_slot() argument 616 drvdata->rx_mask = rx_mask & cap; in ux500_msp_dai_set_tdm_slot() 759 drvdata->rx_mask = 0x01; in ux500_msp_drv_probe()
|
A D | ux500_msp_dai.h | 53 unsigned int rx_mask; member
|
/linux/sound/soc/tegra/ |
A D | tegra210_i2s.c | 291 unsigned int tx_mask, unsigned int rx_mask, in tegra210_i2s_set_tdm_slot() argument 299 i2s->rx_mask = (rx_mask > DEFAULT_I2S_SLOT_MASK) ? in tegra210_i2s_set_tdm_slot() 300 DEFAULT_I2S_SLOT_MASK : rx_mask; in tegra210_i2s_set_tdm_slot() 580 i2s->tx_mask, i2s->rx_mask); in tegra210_i2s_set_timing_params() 889 i2s->rx_mask = DEFAULT_I2S_SLOT_MASK; in tegra210_i2s_probe()
|
/linux/sound/soc/fsl/ |
A D | fsl_esai.c | 75 u32 rx_mask; member 405 u32 rx_mask, int slots, int slot_width) in fsl_esai_set_dai_tdm_slot() argument 418 esai_priv->rx_mask = rx_mask; in fsl_esai_set_dai_tdm_slot() 677 mask = tx ? esai_priv->tx_mask : esai_priv->rx_mask; in fsl_esai_trigger_start() 1064 esai_priv->rx_mask = 0xFFFFFFFF; in fsl_esai_probe()
|
/linux/drivers/usb/serial/ |
A D | xr_serial.c | 561 u16 tx_mask, rx_mask; in xr21v141x_set_baudrate() local 574 rx_mask = xr21v141x_txrx_clk_masks[idx].rx1; in xr21v141x_set_baudrate() 576 rx_mask = xr21v141x_txrx_clk_masks[idx].rx0; in xr21v141x_set_baudrate() 610 rx_mask & 0xff); in xr21v141x_set_baudrate() 615 (rx_mask >> 8) & 0xff); in xr21v141x_set_baudrate()
|