Searched refs:tdm_mask (Results 1 – 8 of 8) sorted by relevance
430 unsigned int tdm_mask; /* CODEC TDM slot masks and params (for fixup) */ member519 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() argument525 dai->stream[stream].tdm_mask = tdm_mask; in snd_soc_dai_tdm_mask_set()
91 u32 tdm_mask[2]; member717 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()
53 u32 tdm_mask; member426 io_params->tdm_mask = tx_mask; in pcm3168a_set_tdm_slot()428 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() 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()
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()
1097 unsigned int tdm_mask = snd_soc_dai_tdm_mask_get(codec_dai, substream->stream); in __soc_pcm_hw_params() local1120 if (tdm_mask) in __soc_pcm_hw_params()1121 soc_pcm_codec_params_fixup(&tmp_params, tdm_mask); in __soc_pcm_hw_params()