Lines Matching refs:stream
64 struct hdac_ext_stream *stream = get_hdac_ext_stream(substream); in get_bus_ctx() local
65 struct hdac_stream *hstream = hdac_stream(stream); in get_bus_ctx()
75 struct hdac_ext_stream *stream = get_hdac_ext_stream(substream); in skl_substream_alloc_pages() local
77 hdac_stream(stream)->bufsize = 0; in skl_substream_alloc_pages()
78 hdac_stream(stream)->period_bytes = 0; in skl_substream_alloc_pages()
79 hdac_stream(stream)->format_val = 0; in skl_substream_alloc_pages()
112 struct hdac_ext_stream *stream; in skl_pcm_open() local
122 stream = snd_hdac_ext_stream_assign(ebus, substream, in skl_pcm_open()
124 if (stream == NULL) in skl_pcm_open()
133 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in skl_pcm_open()
138 runtime->private_data = stream; in skl_pcm_open()
144 dma_params->stream_tag = hdac_stream(stream)->stream_tag; in skl_pcm_open()
183 struct hdac_ext_stream *stream = get_hdac_ext_stream(substream); in skl_pcm_prepare() local
188 if (hdac_stream(stream)->prepared) { in skl_pcm_prepare()
195 hdac_stream(stream)->stream_tag, format_val); in skl_pcm_prepare()
196 snd_hdac_stream_reset(hdac_stream(stream)); in skl_pcm_prepare()
198 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); in skl_pcm_prepare()
202 err = snd_hdac_stream_setup(hdac_stream(stream)); in skl_pcm_prepare()
206 hdac_stream(stream)->prepared = 1; in skl_pcm_prepare()
216 struct hdac_ext_stream *stream = get_hdac_ext_stream(substream); in skl_pcm_hw_params() local
231 dma_id = hdac_stream(stream)->stream_tag - 1; in skl_pcm_hw_params()
238 p_params.stream = substream->stream; in skl_pcm_hw_params()
240 m_cfg = skl_tplg_fe_get_cpr_module(dai, p_params.stream); in skl_pcm_hw_params()
250 struct hdac_ext_stream *stream = get_hdac_ext_stream(substream); in skl_pcm_close() local
256 snd_hdac_ext_stream_release(stream, skl_get_host_stream_type(ebus)); in skl_pcm_close()
274 struct hdac_ext_stream *stream = get_hdac_ext_stream(substream); in skl_pcm_hw_free() local
278 snd_hdac_stream_cleanup(hdac_stream(stream)); in skl_pcm_hw_free()
279 hdac_stream(stream)->prepared = 0; in skl_pcm_hw_free()
293 p_params.stream = substream->stream; in skl_be_hw_params()
306 mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); in skl_pcm_trigger()
352 p_params.stream = substream->stream; in skl_link_hw_params()
622 struct hdac_ext_stream *stream; in skl_coupled_trigger() local
629 stream = get_hdac_ext_stream(substream); in skl_coupled_trigger()
630 hstr = hdac_stream(stream); in skl_coupled_trigger()
657 stream = get_hdac_ext_stream(s); in skl_coupled_trigger()
658 sbits |= 1 << hdac_stream(stream)->index; in skl_coupled_trigger()
670 stream = get_hdac_ext_stream(s); in skl_coupled_trigger()
672 snd_hdac_stream_start(hdac_stream(stream), true); in skl_coupled_trigger()
674 snd_hdac_stream_stop(hdac_stream(stream)); in skl_coupled_trigger()
698 struct hdac_ext_stream *stream; in skl_decoupled_trigger() local
705 stream = get_hdac_ext_stream(substream); in skl_decoupled_trigger()
706 hstr = hdac_stream(stream); in skl_decoupled_trigger()
731 snd_hdac_stream_start(hdac_stream(stream), true); in skl_decoupled_trigger()
733 snd_hdac_stream_stop(hdac_stream(stream)); in skl_decoupled_trigger()
761 int stream = substream->stream; in skl_get_delay_from_lpib() local
765 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in skl_get_delay_from_lpib()
834 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in skl_adjust_codec_delay()