Lines Matching refs:sruntime
11 struct sdw_stream_runtime *sruntime, in qcom_snd_sdw_prepare() argument
18 if (!sruntime) in qcom_snd_sdw_prepare()
38 ret = sdw_prepare_stream(sruntime); in qcom_snd_sdw_prepare()
50 ret = sdw_enable_stream(sruntime); in qcom_snd_sdw_prepare()
52 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_prepare()
68 struct sdw_stream_runtime *sruntime; in qcom_snd_sdw_hw_params() local
80 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream); in qcom_snd_sdw_hw_params()
81 if (sruntime != ERR_PTR(-ENOTSUPP)) in qcom_snd_sdw_hw_params()
82 *psruntime = sruntime; in qcom_snd_sdw_hw_params()
93 struct sdw_stream_runtime *sruntime, bool *stream_prepared) in qcom_snd_sdw_hw_free() argument
107 if (sruntime && *stream_prepared) { in qcom_snd_sdw_hw_free()
108 sdw_disable_stream(sruntime); in qcom_snd_sdw_hw_free()
109 sdw_deprepare_stream(sruntime); in qcom_snd_sdw_hw_free()