Lines Matching full:rtd

28 static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd)  in sm8250_snd_init()  argument
30 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_init()
32 return qcom_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup); in sm8250_snd_init()
35 static int sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sm8250_be_hw_params_fixup() argument
53 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_startup() local
54 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_startup()
55 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sm8250_snd_startup()
91 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_shutdown() local
92 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_shutdown()
93 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_shutdown()
103 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_hw_params() local
104 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_params()
105 struct sm8250_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_hw_params()
112 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_prepare() local
113 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_prepare()
114 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_prepare()
123 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_hw_free() local
124 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_hw_free()
125 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_free()