Lines Matching full:rtd

28 	struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);  in create_page_table()  local
33 spcm = snd_sof_find_spcm_dai(component, rtd); in create_page_table()
74 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_sof_pcm_period_elapsed() local
76 snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in snd_sof_pcm_period_elapsed()
79 spcm = snd_sof_find_spcm_dai(component, rtd); in snd_sof_pcm_period_elapsed()
123 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_hw_params() local
132 if (rtd->dai_link->no_pcm) in sof_pcm_hw_params()
135 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_hw_params()
240 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_hw_free() local
246 if (rtd->dai_link->no_pcm) in sof_pcm_hw_free()
249 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_hw_free()
276 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_prepare() local
281 if (rtd->dai_link->no_pcm) in sof_pcm_prepare()
284 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_prepare()
313 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_trigger() local
323 if (rtd->dai_link->no_pcm) in sof_pcm_trigger()
326 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_trigger()
426 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_pointer() local
432 if (rtd->dai_link->no_pcm) in sof_pcm_pointer()
439 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_pointer()
459 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_open() local
468 if (rtd->dai_link->no_pcm) in sof_pcm_open()
471 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_open()
531 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_close() local
537 if (rtd->dai_link->no_pcm) in sof_pcm_close()
540 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_close()
566 struct snd_soc_pcm_runtime *rtd) in sof_pcm_new() argument
570 struct snd_pcm *pcm = rtd->pcm; in sof_pcm_new()
574 /* find SOF PCM for this RTD */ in sof_pcm_new()
575 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_new()
578 rtd->dai_link->id); in sof_pcm_new()
630 static int sof_pcm_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, in sof_pcm_dai_link_fixup() argument
639 snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in sof_pcm_dai_link_fixup()
641 snd_sof_find_dai(component, (char *)rtd->dai_link->name); in sof_pcm_dai_link_fixup()
648 rtd->dai_link->name); in sof_pcm_dai_link_fixup()
710 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in sof_pcm_dai_link_fixup()