Lines Matching refs:sruntime
41 struct sdw_stream_runtime *sruntime[SLIM_MAX_RX_PORTS]; member
54 struct sdw_stream_runtime *sruntime; in sdm845_slim_snd_hw_params() local
59 sruntime = snd_soc_dai_get_sdw_stream(codec_dai, in sdm845_slim_snd_hw_params()
61 if (sruntime != ERR_PTR(-ENOTSUPP)) in sdm845_slim_snd_hw_params()
62 pdata->sruntime[cpu_dai->id] = sruntime; in sdm845_slim_snd_hw_params()
444 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_prepare() local
447 if (!sruntime) in sdm845_snd_prepare()
451 sdw_disable_stream(sruntime); in sdm845_snd_prepare()
452 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare()
456 ret = sdw_prepare_stream(sruntime); in sdm845_snd_prepare()
468 ret = sdw_enable_stream(sruntime); in sdm845_snd_prepare()
470 sdw_deprepare_stream(sruntime); in sdm845_snd_prepare()
483 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sdm845_snd_hw_free() local
485 if (sruntime && data->stream_prepared[cpu_dai->id]) { in sdm845_snd_hw_free()
486 sdw_disable_stream(sruntime); in sdm845_snd_hw_free()
487 sdw_deprepare_stream(sruntime); in sdm845_snd_hw_free()