Home
last modified time | relevance | path

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

/linux/include/sound/
H A Dsoc-dai.h430 unsigned int tdm_mask; /* CODEC TDM slot masks and params (for fixup) */ member
519 return dai->stream[stream].tdm_mask; in snd_soc_dai_tdm_mask_get()
523 unsigned int tdm_mask) in snd_soc_dai_tdm_mask_set() argument
525 dai->stream[stream].tdm_mask = tdm_mask; in snd_soc_dai_tdm_mask_set()
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c91 u32 tdm_mask[2]; member
717 if (mcasp->tdm_mask[stream]) in davinci_mcasp_ch_constraint()
718 slots = hweight32(mcasp->tdm_mask[stream]); in davinci_mcasp_ch_constraint()
782 mcasp->tdm_mask[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; in davinci_mcasp_set_tdm_slot()
783 mcasp->tdm_mask[SNDRV_PCM_STREAM_CAPTURE] = rx_mask; in davinci_mcasp_set_tdm_slot()
1001 if (mcasp->tdm_mask[stream]) { in mcasp_i2s_hw_param()
1002 active_slots = hweight32(mcasp->tdm_mask[stream]); in mcasp_i2s_hw_param()
1007 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/sound/soc/codecs/
H A Dpcm3168a.c53 u32 tdm_mask; member
426 io_params->tdm_mask = tx_mask; in pcm3168a_set_tdm_slot()
428 io_params->tdm_mask = rx_mask; in pcm3168a_set_tdm_slot()
/linux/sound/soc/dwc/
H A Dlocal.h139 u32 tdm_mask; member
H A 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/sound/soc/apple/
H A 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/sound/soc/
H A 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()
H A Dsoc-pcm.c1097 unsigned int tdm_mask = snd_soc_dai_tdm_mask_get(codec_dai, substream->stream); in __soc_pcm_hw_params() local
1120 if (tdm_mask) in __soc_pcm_hw_params()
1121 soc_pcm_codec_params_fixup(&tmp_params, tdm_mask); in __soc_pcm_hw_params()