Lines Matching full: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
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()
249 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_prepare() local
254 if (rtd->dai_link->no_pcm) in sof_pcm_prepare()
257 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_prepare()
286 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_trigger() local
295 if (rtd->dai_link->no_pcm) in sof_pcm_trigger()
298 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_trigger()
389 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_pointer() local
395 if (rtd->dai_link->no_pcm) in sof_pcm_pointer()
402 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_pointer()
420 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_open() local
429 if (rtd->dai_link->no_pcm) in sof_pcm_open()
432 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_open()
485 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sof_pcm_close() local
491 if (rtd->dai_link->no_pcm) in sof_pcm_close()
494 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_close()
520 struct snd_soc_pcm_runtime *rtd) in sof_pcm_new() argument
524 struct snd_pcm *pcm = rtd->pcm; in sof_pcm_new()
528 /* find SOF PCM for this RTD */ in sof_pcm_new()
529 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_pcm_new()
532 rtd->dai_link->id); in sof_pcm_new()
584 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
592 snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in sof_pcm_dai_link_fixup()
594 snd_sof_find_dai(component, (char *)rtd->dai_link->name); in sof_pcm_dai_link_fixup()
602 rtd->dai_link->name); in sof_pcm_dai_link_fixup()
618 return pcm_ops->dai_link_fixup(rtd, params); in sof_pcm_dai_link_fixup()