Lines Matching refs:sruntime
107 struct sdw_stream_runtime *sruntime[SWRM_MAX_DAIS]; member
596 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_params() local
599 ret = qcom_swrm_stream_alloc_ports(ctrl, sruntime, params, in qcom_swrm_hw_params()
602 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_params()
611 struct sdw_stream_runtime *sruntime = ctrl->sruntime[dai->id]; in qcom_swrm_hw_free() local
613 qcom_swrm_stream_free_ports(ctrl, sruntime); in qcom_swrm_hw_free()
614 sdw_stream_remove_master(&ctrl->bus, sruntime); in qcom_swrm_hw_free()
624 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream()
633 return ctrl->sruntime[dai->id]; in qcom_swrm_get_sdw_stream()
641 struct sdw_stream_runtime *sruntime; in qcom_swrm_startup() local
645 sruntime = sdw_alloc_stream(dai->name); in qcom_swrm_startup()
646 if (!sruntime) in qcom_swrm_startup()
649 ctrl->sruntime[dai->id] = sruntime; in qcom_swrm_startup()
652 ret = snd_soc_dai_set_sdw_stream(codec_dai, sruntime, in qcom_swrm_startup()
657 sdw_release_stream(sruntime); in qcom_swrm_startup()
670 sdw_release_stream(ctrl->sruntime[dai->id]); in qcom_swrm_shutdown()
671 ctrl->sruntime[dai->id] = NULL; in qcom_swrm_shutdown()