Lines Matching refs:dma_data
68 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_hw_params() local
70 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_hw_params()
72 if (dma_data->tdm_mode) in bf5xx_pcm_hw_params()
91 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_prepare() local
93 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_prepare()
95 if (dma_data->tdm_mode) in bf5xx_pcm_prepare()
148 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_pointer() local
150 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_pointer()
168 if (dma_data->tdm_mode) in bf5xx_pcm_pointer()
181 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_open() local
184 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_open()
189 if (dma_data->tdm_mode) in bf5xx_pcm_open()
235 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_copy() local
239 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_copy()
241 if (dma_data->tdm_mode) { in bf5xx_pcm_copy()
251 memcpy(dst + dma_data->map[i] * in bf5xx_pcm_copy()
264 memcpy(dst, src + dma_data->map[i] * in bf5xx_pcm_copy()
303 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_silence() local
306 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_silence()
308 if (dma_data->tdm_mode) { in bf5xx_pcm_silence()