Lines Matching full:rtd

26 static int sc8280xp_snd_init(struct snd_soc_pcm_runtime *rtd)  in sc8280xp_snd_init()  argument
28 struct sc8280xp_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sc8280xp_snd_init()
29 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_init()
30 struct snd_soc_card *card = rtd->card; in sc8280xp_snd_init()
61 return qcom_snd_dp_jack_setup(rtd, dp_jack, dp_pcm_id); in sc8280xp_snd_init()
63 return qcom_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup); in sc8280xp_snd_init()
68 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_shutdown() local
69 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_shutdown()
70 struct sc8280xp_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sc8280xp_snd_shutdown()
77 static int sc8280xp_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sc8280xp_be_hw_params_fixup() argument
80 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_be_hw_params_fixup()
107 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_hw_params() local
108 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_hw_params()
109 struct sc8280xp_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sc8280xp_snd_hw_params()
116 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_prepare() local
117 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_prepare()
118 struct sc8280xp_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sc8280xp_snd_prepare()
127 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_hw_free() local
128 struct sc8280xp_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sc8280xp_snd_hw_free()
129 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_hw_free()