Home
last modified time | relevance | path

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

/linux-6.6.21/include/sound/ !
Dsoc-dai.h435 unsigned int tdm_mask; /* CODEC TDM slot masks and params (for fixup) */ member
523 return dai->stream[stream].tdm_mask; in snd_soc_dai_tdm_mask_get()
527 unsigned int tdm_mask) in snd_soc_dai_tdm_mask_set() argument
529 dai->stream[stream].tdm_mask = tdm_mask; in snd_soc_dai_tdm_mask_set()
/linux-6.6.21/sound/soc/ti/ !
Ddavinci-mcasp.c93 u32 tdm_mask[2]; member
719 if (mcasp->tdm_mask[stream]) in davinci_mcasp_ch_constraint()
720 slots = hweight32(mcasp->tdm_mask[stream]); in davinci_mcasp_ch_constraint()
784 mcasp->tdm_mask[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; in davinci_mcasp_set_tdm_slot()
785 mcasp->tdm_mask[SNDRV_PCM_STREAM_CAPTURE] = rx_mask; in davinci_mcasp_set_tdm_slot()
1003 if (mcasp->tdm_mask[stream]) { in mcasp_i2s_hw_param()
1004 active_slots = hweight32(mcasp->tdm_mask[stream]); in mcasp_i2s_hw_param()
1009 if ((1 << i) & mcasp->tdm_mask[stream]) { in mcasp_i2s_hw_param()
1502 if (mcasp->tdm_mask[substream->stream]) in davinci_mcasp_startup()
1503 tdm_slots = hweight32(mcasp->tdm_mask[substream->stream]); in davinci_mcasp_startup()
/linux-6.6.21/sound/soc/codecs/ !
Dpcm3168a.c54 u32 tdm_mask; member
427 io_params->tdm_mask = tx_mask; in pcm3168a_set_tdm_slot()
429 io_params->tdm_mask = rx_mask; in pcm3168a_set_tdm_slot()
/linux-6.6.21/sound/soc/dwc/ !
Dlocal.h139 u32 tdm_mask; member
Ddwc-i2s.c262 dev->tdm_mask << TER_TXSLOT_SHIFT); in dw_i2s_config()
269 dev->tdm_mask << RER_RXSLOT_SHIFT); in dw_i2s_config()
455 dev->tdm_mask = rx_mask; in dw_i2s_set_tdm_slot()
/linux-6.6.21/sound/soc/apple/ !
Dmca.c576 unsigned int tdm_slots, tdm_slot_width, tdm_mask; in mca_fe_hw_params() local
591 tdm_mask = is_tx ? cl->tdm_tx_mask : cl->tdm_rx_mask; in mca_fe_hw_params()
624 tdm_mask = (1 << tdm_slots) - 1; in mca_fe_hw_params()
632 tdm_mask, tdm_slots, params_channels(params), in mca_fe_hw_params()
/linux-6.6.21/sound/soc/ !
Dsoc-dai.c271 unsigned int *tdm_mask[] = { in snd_soc_dai_set_tdm_slot() local
284 snd_soc_dai_tdm_mask_set(dai, stream, *tdm_mask[stream]); in snd_soc_dai_set_tdm_slot()
Dsoc-pcm.c1013 unsigned int tdm_mask = snd_soc_dai_tdm_mask_get(codec_dai, substream->stream); in __soc_pcm_hw_params() local
1036 if (tdm_mask) in __soc_pcm_hw_params()
1037 soc_pcm_codec_params_fixup(&tmp_params, tdm_mask); in __soc_pcm_hw_params()