Lines Matching full:rtd
13 int mtk_sof_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, in mtk_sof_dai_link_fixup() argument
16 struct snd_soc_card *card = rtd->card; in mtk_sof_dai_link_fixup()
27 if (conn->normal_link && strcmp(rtd->dai_link->name, conn->normal_link)) in mtk_sof_dai_link_fixup()
71 static struct snd_soc_pcm_runtime *mtk_sof_find_tplg_be(struct snd_soc_pcm_runtime *rtd) in mtk_sof_find_tplg_be() argument
73 struct snd_soc_card *card = rtd->card; in mtk_sof_find_tplg_be()
83 for_each_dpcm_fe(rtd, stream, dpcm) { in mtk_sof_find_tplg_be()
94 if (be == rtd) in mtk_sof_find_tplg_be()
110 static int mtk_sof_check_tplg_be_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, in mtk_sof_check_tplg_be_dai_link_fixup() argument
113 struct snd_soc_card *card = rtd->card; in mtk_sof_check_tplg_be_dai_link_fixup()
120 sof_be = mtk_sof_find_tplg_be(rtd); in mtk_sof_check_tplg_be_dai_link_fixup()
123 ret = sof_priv->sof_dai_link_fixup(rtd, params); in mtk_sof_check_tplg_be_dai_link_fixup()
128 if (strcmp(dai_link->name, rtd->dai_link->name) == 0) { in mtk_sof_check_tplg_be_dai_link_fixup()
130 ret = dai_link->be_hw_params_fixup(rtd, params); in mtk_sof_check_tplg_be_dai_link_fixup()
142 struct snd_soc_pcm_runtime *rtd; in mtk_sof_card_late_probe() local
152 for_each_card_rtds(card, rtd) { in mtk_sof_card_late_probe()
153 sof_comp = snd_soc_rtdcom_lookup(rtd, "sof-audio-component"); in mtk_sof_card_late_probe()
187 for_each_card_rtds(card, rtd) { in mtk_sof_card_late_probe()
188 if (!strcmp(rtd->dai_link->name, conn->sof_link)) { in mtk_sof_card_late_probe()
189 sof_rtd = rtd; in mtk_sof_card_late_probe()