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()
63 struct snd_soc_pcm_runtime *rtd = asoc_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 = asoc_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 = asoc_substream_to_rtd(substream); in sof_pcm_hw_free() local
204 if (rtd->dai_link->no_pcm) in sof_pcm_hw_free()
207 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_hw_free()
243 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_prepare() local
248 if (rtd->dai_link->no_pcm) in sof_pcm_prepare()
251 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_prepare()
280 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_trigger() local
290 if (rtd->dai_link->no_pcm) in sof_pcm_trigger()
293 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_trigger()
365 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_pointer() local
371 if (rtd->dai_link->no_pcm) in sof_pcm_pointer()
378 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_pointer()
396 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_open() local
405 if (rtd->dai_link->no_pcm) in sof_pcm_open()
408 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_open()
461 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_close() local
467 if (rtd->dai_link->no_pcm) in sof_pcm_close()
470 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_close()
496 struct snd_soc_pcm_runtime *rtd) in sof_pcm_new() argument
500 struct snd_pcm *pcm = rtd->pcm; in sof_pcm_new()
504 /* find SOF PCM for this RTD */ in sof_pcm_new()
505 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_new()
508 rtd->dai_link->id); in sof_pcm_new()
560 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
568 snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in sof_pcm_dai_link_fixup()
570 snd_sof_find_dai(component, (char *)rtd->dai_link->name); in sof_pcm_dai_link_fixup()
578 rtd->dai_link->name); in sof_pcm_dai_link_fixup()
594 return pcm_ops->dai_link_fixup(rtd, params); in sof_pcm_dai_link_fixup()