Lines Matching refs:sruntime
22 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
127 struct sdw_stream_runtime *sruntime; in sm8250_snd_hw_params() local
139 sruntime = snd_soc_dai_get_stream(codec_dai, in sm8250_snd_hw_params()
141 if (sruntime != ERR_PTR(-ENOTSUPP)) in sm8250_snd_hw_params()
142 pdata->sruntime[cpu_dai->id] = sruntime; in sm8250_snd_hw_params()
156 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_wsa_dma_prepare() local
159 if (!sruntime) in sm8250_snd_wsa_dma_prepare()
163 sdw_disable_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
164 sdw_deprepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
168 ret = sdw_prepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
180 ret = sdw_enable_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
182 sdw_deprepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
217 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() local
228 if (sruntime && data->stream_prepared[cpu_dai->id]) { in sm8250_snd_hw_free()
229 sdw_disable_stream(sruntime); in sm8250_snd_hw_free()
230 sdw_deprepare_stream(sruntime); in sm8250_snd_hw_free()