Lines Matching refs:sruntime
20 struct sdw_stream_runtime *sruntime[AFE_PORT_MAX]; member
67 struct sdw_stream_runtime *sruntime; in sm8250_snd_hw_params() local
73 sruntime = snd_soc_dai_get_sdw_stream(codec_dai, in sm8250_snd_hw_params()
75 if (sruntime != ERR_PTR(-ENOTSUPP)) in sm8250_snd_hw_params()
76 pdata->sruntime[cpu_dai->id] = sruntime; in sm8250_snd_hw_params()
90 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_wsa_dma_prepare() local
93 if (!sruntime) in sm8250_snd_wsa_dma_prepare()
97 sdw_disable_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
98 sdw_deprepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
102 ret = sdw_prepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
114 ret = sdw_enable_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
116 sdw_deprepare_stream(sruntime); in sm8250_snd_wsa_dma_prepare()
145 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() local
150 if (sruntime && data->stream_prepared[cpu_dai->id]) { in sm8250_snd_hw_free()
151 sdw_disable_stream(sruntime); in sm8250_snd_hw_free()
152 sdw_deprepare_stream(sruntime); in sm8250_snd_hw_free()