Home
last modified time | relevance | path

Searched refs:rx_mask (Results 1 – 25 of 197) sorted by relevance

12345678

/Linux-v6.6/net/mac80211/
Dht.c69 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-v6.6/sound/soc/bcm/
Dbcm2835-i2s.c117 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-v6.6/sound/soc/meson/
Daxg-card.c24 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()
166 be->rx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots()
167 sizeof(*be->rx_mask), GFP_KERNEL); in axg_card_parse_cpu_tdm_slots()
168 if (!be->tx_mask || !be->rx_mask) in axg_card_parse_cpu_tdm_slots()
183 snd_soc_of_get_slot_mask(node, propname, &be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots()
184 rx = max(rx, be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots()
Daxg-tdm-interface.c36 u32 *rx_mask, unsigned int slots, in axg_tdm_set_tdm_slots() argument
46 rx_slots = axg_tdm_slots_total(rx_mask); in axg_tdm_set_tdm_slots()
88 rx->mask = rx_mask; in axg_tdm_set_tdm_slots()
Daxg-tdm.h75 u32 *rx_mask, unsigned int slots,
/Linux-v6.6/sound/soc/
Dsoc-dai.c228 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-v6.6/sound/soc/codecs/
Dmc13783.c294 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()
Dadau1977.c496 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()
Dcs35l56.c377 unsigned int rx_mask, int slots, int slot_width) in cs35l56_asp_dai_set_tdm_slot() argument
406 if (rx_mask == 0) in cs35l56_asp_dai_set_tdm_slot()
407 rx_mask = 0xf; // ASPTX1..TX4 in slots 0..3 in cs35l56_asp_dai_set_tdm_slot()
411 cs35l56_make_tdm_config_word(0x3f3f3f3f, rx_mask)); in cs35l56_asp_dai_set_tdm_slot()
416 cs35l56->asp_slot_width, cs35l56->asp_slot_count, tx_mask, rx_mask); in cs35l56_asp_dai_set_tdm_slot()
517 unsigned int rx_mask, int slots, int slot_width) in cs35l56_sdw_dai_set_tdm_slot() argument
522 cs35l56->rx_mask = tx_mask; in cs35l56_sdw_dai_set_tdm_slot()
523 cs35l56->tx_mask = rx_mask; in cs35l56_sdw_dai_set_tdm_slot()
555 pconfig.ch_mask = cs35l56->rx_mask; in cs35l56_sdw_dai_hw_params()
Dssm4567.c234 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()
Dmax98373-sdw.c542 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()
Drt1308-sdw.h165 int rx_mask; member
Dmax98520.c265 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()
Dcs53l30.c767 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()
Drt1019.c390 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()
Dtas6424.c210 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()
Dcs35l56.h47 u32 rx_mask; member
Dmax98504.c200 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()
Dmax98373-i2c.c320 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()
Drt1308-sdw.c509 unsigned int rx_mask, in rt1308_sdw_set_tdm_slot() argument
522 rt1308->rx_mask = rx_mask; in rt1308_sdw_set_tdm_slot()
560 port_config.ch_mask = rt1308->rx_mask; in rt1308_sdw_hw_params()
Dpcm3168a.c402 unsigned int rx_mask, int slots, in pcm3168a_set_tdm_slot() argument
409 if (tx_mask >= (1<<slots) || rx_mask >= (1<<slots)) { in pcm3168a_set_tdm_slot()
412 tx_mask, rx_mask, slots); in pcm3168a_set_tdm_slot()
429 io_params->tdm_mask = rx_mask; in pcm3168a_set_tdm_slot()
/Linux-v6.6/sound/soc/ux500/
Dux500_msp_dai.c46 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()
Dux500_msp_dai.h51 unsigned int rx_mask; member
/Linux-v6.6/sound/soc/tegra/
Dtegra210_i2s.c291 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()
888 i2s->rx_mask = DEFAULT_I2S_SLOT_MASK; in tegra210_i2s_probe()
/Linux-v6.6/include/sound/
Dsoc-dai.h188 unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width);
303 unsigned int *tx_mask, unsigned int *rx_mask);
305 unsigned int tx_mask, unsigned int rx_mask,

12345678