Searched refs:tdm_mask (Results 1 – 8 of 8) sorted by relevance
435 unsigned int tdm_mask; /* CODEC TDM slot masks and params (for fixup) */ member523 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() argument529 dai->stream[stream].tdm_mask = tdm_mask; in snd_soc_dai_tdm_mask_set()
93 u32 tdm_mask[2]; member719 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()
54 u32 tdm_mask; member427 io_params->tdm_mask = tx_mask; in pcm3168a_set_tdm_slot()429 io_params->tdm_mask = rx_mask; in pcm3168a_set_tdm_slot()
139 u32 tdm_mask; member
262 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()
576 unsigned int tdm_slots, tdm_slot_width, tdm_mask; in mca_fe_hw_params() local591 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()
271 unsigned int *tdm_mask[] = { in snd_soc_dai_set_tdm_slot() local284 snd_soc_dai_tdm_mask_set(dai, stream, *tdm_mask[stream]); in snd_soc_dai_set_tdm_slot()
1013 unsigned int tdm_mask = snd_soc_dai_tdm_mask_get(codec_dai, substream->stream); in __soc_pcm_hw_params() local1036 if (tdm_mask) in __soc_pcm_hw_params()1037 soc_pcm_codec_params_fixup(&tmp_params, tdm_mask); in __soc_pcm_hw_params()