Lines Matching refs:cpu_dai
118 struct snd_soc_dai *cpu_dai,
121 return snd_soc_dai_get_dma_data(cpu_dai, substream);
125 struct snd_soc_dai *cpu_dai,
133 w = snd_soc_dai_get_widget(cpu_dai, substream->stream);
141 return snd_soc_dai_get_dma_data(cpu_dai, substream);
145 struct snd_soc_dai *cpu_dai,
154 if (dai == cpu_dai)
162 snd_soc_dai_set_dma_data(cpu_dai, substream, (void *)hext_stream);
167 static void hda_release_hext_stream(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai,
170 struct hdac_ext_stream *hext_stream = hda_get_hext_stream(sdev, cpu_dai, substream);
176 if (dai == cpu_dai)
178 snd_soc_dai_set_dma_data(cpu_dai, substream, NULL);
307 static int hda_ipc4_pre_trigger(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai,
317 w = snd_soc_dai_get_widget(cpu_dai, substream->stream);
350 static int hda_trigger(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai,
353 struct hdac_ext_stream *hext_stream = snd_soc_dai_get_dma_data(cpu_dai, substream);
373 static int hda_ipc4_post_trigger(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai,
383 w = snd_soc_dai_get_widget(cpu_dai, substream->stream);
438 struct snd_soc_dai *cpu_dai,
441 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream);
456 return hda_ipc4_get_hext_stream(sdev, cpu_dai, substream);
524 static int hda_ipc3_post_trigger(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai,
527 struct hdac_ext_stream *hext_stream = hda_get_hext_stream(sdev, cpu_dai, substream);
528 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream);
543 return hda_link_dma_cleanup(substream, hext_stream, cpu_dai);
570 hda_dspless_get_hext_stream(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai,