/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-nvm-utils.c | 84 ht_info->mcs.rx_mask[0] = 0xFF; in iwl_init_ht_hw_capab() 85 ht_info->mcs.rx_mask[1] = 0x00; in iwl_init_ht_hw_capab() 86 ht_info->mcs.rx_mask[2] = 0x00; in iwl_init_ht_hw_capab() 89 ht_info->mcs.rx_mask[1] = 0xFF; in iwl_init_ht_hw_capab() 91 ht_info->mcs.rx_mask[2] = 0xFF; in iwl_init_ht_hw_capab()
|
/linux-6.12.1/net/mac80211/ |
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() 226 ht_cap.mcs.rx_mask[i] = in ieee80211_ht_cap_ie_to_sta_ht_cap() 227 own_cap.mcs.rx_mask[i] & ht_cap_ie->mcs.rx_mask[i]; in ieee80211_ht_cap_ie_to_sta_ht_cap() 232 ht_cap.mcs.rx_mask[i] = in ieee80211_ht_cap_ie_to_sta_ht_cap() 233 own_cap.mcs.rx_mask[i] & in ieee80211_ht_cap_ie_to_sta_ht_cap() 234 ht_cap_ie->mcs.rx_mask[i]; in ieee80211_ht_cap_ie_to_sta_ht_cap() 237 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 …]
|
/linux-6.12.1/sound/soc/bcm/ |
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-6.12.1/sound/soc/meson/ |
D | axg-card.c | 24 u32 *rx_mask; member 75 ret = axg_tdm_set_tdm_slots(snd_soc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init() 167 be->rx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 168 sizeof(*be->rx_mask), GFP_KERNEL); in axg_card_parse_cpu_tdm_slots() 169 if (!be->tx_mask || !be->rx_mask) in axg_card_parse_cpu_tdm_slots() 184 snd_soc_of_get_slot_mask(node, propname, &be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots() 185 rx = max(rx, be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots()
|
D | axg-tdm.h | 80 u32 *rx_mask, unsigned int slots,
|
/linux-6.12.1/sound/soc/sdw_utils/ |
D | soc_sdw_bridge_cs35l56.c | 37 unsigned int rx_mask = 3; // ASP RX1, RX2 in asoc_sdw_bridge_cs35l56_asp_init() local 63 ret = snd_soc_dai_set_tdm_slot(codec_dai, tx_mask, rx_mask, 4, 16); in asoc_sdw_bridge_cs35l56_asp_init() 73 ret = snd_soc_dai_set_tdm_slot(cpu_dai, tx_mask, rx_mask, 4, 16); in asoc_sdw_bridge_cs35l56_asp_init()
|
/linux-6.12.1/sound/soc/codecs/ |
D | rtq9128.c | 462 unsigned int rx_mask, int slots, int slot_width) in rtq9128_dai_set_tdm_slot() argument 471 slot_width, tx_mask, rx_mask); in rtq9128_dai_set_tdm_slot() 485 if (!rx_mask || hweight_long(tx_mask) > slots || hweight_long(rx_mask) > slots || in rtq9128_dai_set_tdm_slot() 486 fls(tx_mask) > slots || fls(rx_mask) > slots) { in rtq9128_dai_set_tdm_slot() 487 dev_err(dev, "Invalid tx/rx mask (0x%x/0x%x)\n", tx_mask, rx_mask); in rtq9128_dai_set_tdm_slot() 502 for (mask = rx_mask, i = 0; i < 4 && mask; i++) { in rtq9128_dai_set_tdm_slot()
|
D | mc13783.c | 294 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_dac() argument 316 switch (rx_mask) { in mc13783_set_tdm_slot_dac() 339 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_codec() argument 361 unsigned int tx_mask, unsigned int rx_mask, int slots, in mc13783_set_tdm_slot_sync() argument 366 ret = mc13783_set_tdm_slot_dac(dai, tx_mask, rx_mask, slots, in mc13783_set_tdm_slot_sync() 371 ret = mc13783_set_tdm_slot_codec(dai, tx_mask, rx_mask, slots, in mc13783_set_tdm_slot_sync()
|
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()
|
D | cs35l56.c | 385 unsigned int rx_mask, int slots, int slot_width) in cs35l56_asp_dai_set_tdm_slot() argument 414 if (rx_mask == 0) in cs35l56_asp_dai_set_tdm_slot() 415 rx_mask = 0xf; // ASPTX1..TX4 in slots 0..3 in cs35l56_asp_dai_set_tdm_slot() 419 cs35l56_make_tdm_config_word(0x3f3f3f3f, rx_mask)); in cs35l56_asp_dai_set_tdm_slot() 424 cs35l56->asp_slot_width, cs35l56->asp_slot_count, tx_mask, rx_mask); in cs35l56_asp_dai_set_tdm_slot() 525 unsigned int rx_mask, int slots, int slot_width) in cs35l56_sdw_dai_set_tdm_slot() argument 530 cs35l56->rx_mask = tx_mask; in cs35l56_sdw_dai_set_tdm_slot() 531 cs35l56->tx_mask = rx_mask; in cs35l56_sdw_dai_set_tdm_slot() 563 pconfig.ch_mask = cs35l56->rx_mask; in cs35l56_sdw_dai_hw_params()
|
D | max98373-sdw.c | 542 port_config.ch_mask = max98373->rx_mask; in max98373_sdw_dai_hw_params() 678 unsigned int rx_mask, in max98373_sdw_set_tdm_slot() argument 689 if (!rx_mask && !slots && !slot_width) in max98373_sdw_set_tdm_slot() 694 max98373->rx_mask = rx_mask; in max98373_sdw_set_tdm_slot()
|
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()
|
D | rt1308-sdw.h | 165 int rx_mask; member
|
D | max98520.c | 263 unsigned int tx_mask, unsigned int rx_mask, in max98520_dai_tdm_slot() argument 272 if (!tx_mask && !rx_mask && !slots && !slot_width) in max98520_dai_tdm_slot() 315 rx_mask); in max98520_dai_tdm_slot() 319 rx_mask << MAX98520_PCM_DMIX_CH1_SHIFT); in max98520_dai_tdm_slot()
|
D | cs53l30.c | 748 unsigned int tx_mask, unsigned int rx_mask, in cs53l30_set_dai_tdm_slot() argument 757 if (!rx_mask) { in cs53l30_set_dai_tdm_slot() 776 for (i = 0; rx_mask && i < CS53L30_TDM_SLOT_MAX; i++) { in cs53l30_set_dai_tdm_slot() 778 slot_next = __ffs(rx_mask); in cs53l30_set_dai_tdm_slot() 784 rx_mask &= ~(1 << slot_next); in cs53l30_set_dai_tdm_slot() 788 if (rx_mask && i == CS53L30_TDM_SLOT_MAX) { in cs53l30_set_dai_tdm_slot()
|
D | framer-codec.c | 34 unsigned int rx_mask, int slots, int width) in framer_dai_set_tdm_slot() argument 55 framer->max_chan_capture = hweight32(rx_mask); in framer_dai_set_tdm_slot() 58 rx_mask, FRAMER_NB_CHANNEL); in framer_dai_set_tdm_slot()
|
D | rt1019.c | 390 unsigned int rx_mask, int slots, int slot_width) in rt1019_set_tdm_slot() argument 432 rx_slotnum = hweight_long(rx_mask); in rt1019_set_tdm_slot() 443 first_bit = __ffs(rx_mask); in rt1019_set_tdm_slot()
|
D | max98373-i2c.c | 318 unsigned int tx_mask, unsigned int rx_mask, in max98373_dai_tdm_slot() argument 328 if (!tx_mask && !rx_mask && !slots && !slot_width) in max98373_dai_tdm_slot() 369 mask = rx_mask; in max98373_dai_tdm_slot()
|
D | tas6424.c | 210 unsigned int tx_mask, unsigned int rx_mask, in tas6424_set_dai_tdm_slot() argument 218 tx_mask, rx_mask); in tas6424_set_dai_tdm_slot() 220 if (!tx_mask || !rx_mask) in tas6424_set_dai_tdm_slot() 229 last_slot = __fls(rx_mask); in tas6424_set_dai_tdm_slot()
|
D | pcm3168a.c | 401 unsigned int rx_mask, int slots, in pcm3168a_set_tdm_slot() argument 408 if (tx_mask >= (1<<slots) || rx_mask >= (1<<slots)) { in pcm3168a_set_tdm_slot() 411 tx_mask, rx_mask, slots); in pcm3168a_set_tdm_slot() 428 io_params->tdm_mask = rx_mask; in pcm3168a_set_tdm_slot()
|
/linux-6.12.1/sound/soc/ |
D | soc-dai.c | 228 unsigned int *rx_mask) in snd_soc_xlate_tdm_slot_mask() argument 230 if (*tx_mask || *rx_mask) in snd_soc_xlate_tdm_slot_mask() 237 *rx_mask = (1 << slots) - 1; in snd_soc_xlate_tdm_slot_mask() 266 unsigned int tx_mask, unsigned int rx_mask, in snd_soc_dai_set_tdm_slot() argument 273 &rx_mask, in snd_soc_dai_set_tdm_slot() 279 &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot() 281 snd_soc_xlate_tdm_slot_mask(slots, &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot() 288 ret = dai->driver->ops->set_tdm_slot(dai, tx_mask, rx_mask, in snd_soc_dai_set_tdm_slot()
|
/linux-6.12.1/sound/soc/ux500/ |
D | ux500_msp_dai.c | 46 multi->rx_channel_0_enable = drvdata->rx_mask; in setup_pcm_multichan() 516 drvdata->rx_mask; in ux500_msp_dai_hw_params() 579 unsigned int rx_mask, in ux500_msp_dai_set_tdm_slot() argument 613 drvdata->rx_mask = rx_mask & cap; in ux500_msp_dai_set_tdm_slot() 730 drvdata->rx_mask = 0x01; in ux500_msp_drv_probe()
|
D | ux500_msp_dai.h | 51 unsigned int rx_mask; member
|
/linux-6.12.1/sound/soc/tegra/ |
D | tegra210_i2s.c | 293 unsigned int tx_mask, unsigned int rx_mask, in tegra210_i2s_set_tdm_slot() argument 301 i2s->rx_mask = (rx_mask > DEFAULT_I2S_SLOT_MASK) ? in tegra210_i2s_set_tdm_slot() 302 DEFAULT_I2S_SLOT_MASK : rx_mask; in tegra210_i2s_set_tdm_slot() 582 i2s->tx_mask, i2s->rx_mask); in tegra210_i2s_set_timing_params() 948 i2s->rx_mask = DEFAULT_I2S_SLOT_MASK; in tegra210_i2s_probe()
|
/linux-6.12.1/sound/soc/fsl/ |
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() 1063 esai_priv->rx_mask = 0xFFFFFFFF; in fsl_esai_probe()
|