Lines Matching refs:sruntime
185 struct sdw_stream_runtime *sruntime, in qcom_snd_sdw_prepare() argument
192 if (!sruntime) in qcom_snd_sdw_prepare()
210 sdw_disable_stream(sruntime); in qcom_snd_sdw_prepare()
211 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare()
215 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare()
227 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare()
229 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare()
245 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_hw_params() local
257 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in qcom_snd_sdw_hw_params()
258 if (sruntime != ERR_PTR(-ENOTSUPP)) in qcom_snd_sdw_hw_params()
259 *psruntime = sruntime; in qcom_snd_sdw_hw_params()
270 struct sdw_stream_runtime *sruntime, bool *stream_prepared) in qcom_snd_sdw_hw_free() argument
284 if (sruntime && *stream_prepared) { in qcom_snd_sdw_hw_free()
285 sdw_disable_stream(sruntime); in qcom_snd_sdw_hw_free()
286 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_hw_free()