Lines Matching defs:sruntime
31 struct sdw_stream_runtime *sruntime[LPASS_MAX_PORTS];
210 struct sdw_stream_runtime *sruntime;
226 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream);
227 if (sruntime != ERR_PTR(-ENOTSUPP))
228 pdata->sruntime[cpu_dai->id] = sruntime;
241 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id];
244 if (!sruntime)
248 sdw_disable_stream(sruntime);
249 sdw_deprepare_stream(sruntime);
253 ret = sdw_prepare_stream(sruntime);
257 ret = sdw_enable_stream(sruntime);
259 sdw_deprepare_stream(sruntime);
291 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id];
299 if (sruntime && data->stream_prepared[cpu_dai->id]) {
300 sdw_disable_stream(sruntime);
301 sdw_deprepare_stream(sruntime);