Lines Matching refs:sruntime
30 struct sdw_stream_runtime *sruntime[LPASS_MAX_PORTS]; member
196 struct sdw_stream_runtime *sruntime; in sc7280_snd_hw_params() local
210 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in sc7280_snd_hw_params()
211 if (sruntime != ERR_PTR(-ENOTSUPP)) in sc7280_snd_hw_params()
212 pdata->sruntime[cpu_dai->id] = sruntime; in sc7280_snd_hw_params()
225 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_swr_prepare() local
228 if (!sruntime) in sc7280_snd_swr_prepare()
232 sdw_disable_stream(sruntime); in sc7280_snd_swr_prepare()
233 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare()
237 ret = sdw_prepare_stream(sruntime); in sc7280_snd_swr_prepare()
241 ret = sdw_enable_stream(sruntime); in sc7280_snd_swr_prepare()
243 sdw_deprepare_stream(sruntime); in sc7280_snd_swr_prepare()
275 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc7280_snd_hw_free() local
283 if (sruntime && data->stream_prepared[cpu_dai->id]) { in sc7280_snd_hw_free()
284 sdw_disable_stream(sruntime); in sc7280_snd_hw_free()
285 sdw_deprepare_stream(sruntime); in sc7280_snd_hw_free()