Lines Matching refs:rtd

28 	struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);  in create_page_table()  local
33 spcm = snd_sof_find_spcm_dai(component, rtd); in create_page_table()
63 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_sof_pcm_period_elapsed() local
65 snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in snd_sof_pcm_period_elapsed()
68 spcm = snd_sof_find_spcm_dai(component, rtd); in snd_sof_pcm_period_elapsed()
88 sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd, in sof_pcm_setup_connected_widgets() argument
96 for_each_rtd_cpu_dais(rtd, j, dai) { in sof_pcm_setup_connected_widgets()
127 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_hw_params() local
135 if (rtd->dai_link->no_pcm) in sof_pcm_hw_params()
138 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_hw_params()
165 ret = sof_pcm_setup_connected_widgets(sdev, rtd, spcm, params, &platform_params, in sof_pcm_hw_params()
197 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_hw_free() local
203 if (rtd->dai_link->no_pcm) in sof_pcm_hw_free()
206 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_hw_free()
223 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_prepare() local
229 if (rtd->dai_link->no_pcm) in sof_pcm_prepare()
232 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_prepare()
271 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_trigger() local
280 if (rtd->dai_link->no_pcm) in sof_pcm_trigger()
283 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_trigger()
384 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_pointer() local
392 if (rtd->dai_link->no_pcm) in sof_pcm_pointer()
405 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_pointer()
423 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_open() local
432 if (rtd->dai_link->no_pcm) in sof_pcm_open()
435 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_open()
488 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_close() local
494 if (rtd->dai_link->no_pcm) in sof_pcm_close()
497 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_close()
525 struct snd_soc_pcm_runtime *rtd) in sof_pcm_new() argument
529 struct snd_pcm *pcm = rtd->pcm; in sof_pcm_new()
534 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_new()
537 rtd->dai_link->id); in sof_pcm_new()
589 int sof_pcm_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) in sof_pcm_dai_link_fixup() argument
597 snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in sof_pcm_dai_link_fixup()
599 snd_sof_find_dai(component, (char *)rtd->dai_link->name); in sof_pcm_dai_link_fixup()
607 rtd->dai_link->name); in sof_pcm_dai_link_fixup()
623 return pcm_ops->dai_link_fixup(rtd, params); in sof_pcm_dai_link_fixup()