Lines Matching defs:sruntime
206 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS];
1212 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id];
1215 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params,
1218 qcom_swrm_stream_free_ports(ctrl, sruntime);
1227 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id];
1229 qcom_swrm_stream_free_ports(ctrl, sruntime);
1230 sdw_stream_remove_master(&ctrl->bus, sruntime);
1240 ctrl->sruntime[dai->id] = stream;
1249 return ctrl->sruntime[dai->id];
1257 struct sdw_stream_runtime *sruntime;
1270 sruntime = sdw_alloc_stream(dai->name);
1271 if (!sruntime) {
1276 ctrl->sruntime[dai->id] = sruntime;
1279 ret = snd_soc_dai_set_stream(codec_dai, sruntime,
1291 sdw_release_stream(sruntime);
1305 sdw_release_stream(ctrl->sruntime[dai->id]);
1306 ctrl->sruntime[dai->id] = NULL;