Lines Matching refs:sdw_stream
529 struct sdw_stream_runtime *sdw_stream; in sdw_prepare() local
535 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_prepare()
536 if (IS_ERR(sdw_stream)) { in sdw_prepare()
538 return PTR_ERR(sdw_stream); in sdw_prepare()
541 return sdw_prepare_stream(sdw_stream); in sdw_prepare()
547 struct sdw_stream_runtime *sdw_stream; in sdw_trigger() local
554 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_trigger()
555 if (IS_ERR(sdw_stream)) { in sdw_trigger()
557 return PTR_ERR(sdw_stream); in sdw_trigger()
564 ret = sdw_enable_stream(sdw_stream); in sdw_trigger()
570 ret = sdw_disable_stream(sdw_stream); in sdw_trigger()
635 struct sdw_stream_runtime *sdw_stream; in sdw_hw_free() local
641 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); in sdw_hw_free()
642 if (IS_ERR(sdw_stream)) { in sdw_hw_free()
644 return PTR_ERR(sdw_stream); in sdw_hw_free()
647 return sdw_deprepare_stream(sdw_stream); in sdw_hw_free()