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()
83 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm2450_snd_shutdown() local
84 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm2450_snd_shutdown()
85 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm2450_snd_shutdown()
95 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_hw_params() local
96 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_params()
97 struct sm8250_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_hw_params()
104 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_prepare() local
105 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_prepare()
106 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_prepare()
115 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sm8250_snd_hw_free() local
116 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_hw_free()
117 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_free()