Lines Matching refs:sruntime
11 struct sdw_stream_runtime *sruntime, in qcom_snd_sdw_prepare() argument
18 if (!sruntime) in qcom_snd_sdw_prepare()
36 sdw_disable_stream(sruntime); in qcom_snd_sdw_prepare()
37 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare()
41 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare()
53 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare()
55 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare()
71 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_hw_params() local
83 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in qcom_snd_sdw_hw_params()
84 if (sruntime != ERR_PTR(-ENOTSUPP)) in qcom_snd_sdw_hw_params()
85 *psruntime = sruntime; in qcom_snd_sdw_hw_params()
96 struct sdw_stream_runtime *sruntime, bool *stream_prepared) in qcom_snd_sdw_hw_free() argument
110 if (sruntime && *stream_prepared) { in qcom_snd_sdw_hw_free()
111 sdw_disable_stream(sruntime); in qcom_snd_sdw_hw_free()
112 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_hw_free()