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()
234 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_copy() local
238 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_copy()
240 if (dma_data->tdm_mode) { in bf5xx_pcm_copy()
248 memcpy(dst + dma_data->map[i] * in bf5xx_pcm_copy()
261 memcpy(dst, src + dma_data->map[i] * in bf5xx_pcm_copy()
292 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_silence() local
295 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_silence()
297 if (dma_data->tdm_mode) { in bf5xx_pcm_silence()