Lines Matching refs:rtd
175 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_pcm_pointer() local
176 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_pcm_pointer()
177 struct mtk_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; in mtk_afe_pcm_pointer()
187 static int mtk_afe_pcm_new(struct snd_soc_pcm_runtime *rtd) in mtk_afe_pcm_new() argument
190 struct snd_card *card = rtd->card->snd_card; in mtk_afe_pcm_new()
191 struct snd_pcm *pcm = rtd->pcm; in mtk_afe_pcm_new()
356 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_i2s_startup() local
357 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_i2s_startup()
369 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_i2s_shutdown() local
370 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_i2s_shutdown()
385 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_i2s_prepare() local
387 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_i2s_prepare()
406 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_hdmi_startup() local
407 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_hdmi_startup()
420 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_hdmi_shutdown() local
421 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_hdmi_shutdown()
436 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_hdmi_prepare() local
438 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_hdmi_prepare()
497 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_hdmi_trigger() local
498 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_hdmi_trigger()
543 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_dais_startup() local
544 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_dais_startup()
546 struct mtk_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; in mtk_afe_dais_startup()
579 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_dais_shutdown() local
580 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_dais_shutdown()
581 struct mtk_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; in mtk_afe_dais_shutdown()
590 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_dais_hw_params() local
591 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_dais_hw_params()
592 struct mtk_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; in mtk_afe_dais_hw_params()
678 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_dais_prepare() local
679 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_dais_prepare()
689 struct snd_soc_pcm_runtime *rtd = substream->private_data; in mtk_afe_dais_trigger() local
691 struct mtk_afe *afe = snd_soc_platform_get_drvdata(rtd->platform); in mtk_afe_dais_trigger()
692 struct mtk_afe_memif *memif = &afe->memif[rtd->cpu_dai->id]; in mtk_afe_dais_trigger()