Lines Matching refs:sruntime
171 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member
1035 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local
1038 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params()
1041 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params()
1050 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local
1052 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free()
1053 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free()
1063 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream()
1072 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
1080 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local
1092 sruntime = sdw_alloc_stream(dai->name); in qcom_swrm_startup()
1093 if (!sruntime) in qcom_swrm_startup()
1096 ctrl->sruntime[dai->id] = sruntime; in qcom_swrm_startup()
1099 ret = snd_soc_dai_set_stream(codec_dai, sruntime, in qcom_swrm_startup()
1104 sdw_release_stream(sruntime); in qcom_swrm_startup()
1117 sdw_release_stream(ctrl->sruntime[dai->id]); in qcom_swrm_shutdown()
1118 ctrl->sruntime[dai->id] = NULL; in qcom_swrm_shutdown()