• Home
  • Raw
  • Download

Lines Matching refs:stream

33 			  struct hdac_stream *stream,  in hda_setup_bdle()  argument
44 if (stream->frags >= HDA_DSP_MAX_BDL_ENTRIES) { in hda_setup_bdle()
67 stream->frags++; in hda_setup_bdle()
71 stream->frags, chunk); in hda_setup_bdle()
84 struct hdac_stream *stream) in hda_dsp_stream_setup_bdl() argument
91 period_bytes = stream->period_bytes; in hda_dsp_stream_setup_bdl()
94 period_bytes = stream->bufsize; in hda_dsp_stream_setup_bdl()
96 periods = stream->bufsize / period_bytes; in hda_dsp_stream_setup_bdl()
100 remain = stream->bufsize % period_bytes; in hda_dsp_stream_setup_bdl()
105 bdl = (struct sof_intel_dsp_bdl *)stream->bdl.area; in hda_dsp_stream_setup_bdl()
107 stream->frags = 0; in hda_dsp_stream_setup_bdl()
114 !stream->no_period_wakeup : 0; in hda_dsp_stream_setup_bdl()
120 stream, &bdl, offset, in hda_dsp_stream_setup_bdl()
124 stream, &bdl, offset, in hda_dsp_stream_setup_bdl()
132 struct hdac_ext_stream *stream, in hda_dsp_stream_spib_config() argument
135 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_spib_config()
151 sof_io_write(sdev, stream->spib_addr, size); in hda_dsp_stream_spib_config()
162 struct hdac_ext_stream *stream = NULL; in hda_dsp_stream_get() local
170 stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_get()
171 hda_stream = container_of(stream, in hda_dsp_stream_get()
186 if (!stream) { in hda_dsp_stream_get()
190 return stream; in hda_dsp_stream_get()
205 return stream; in hda_dsp_stream_get()
213 struct hdac_ext_stream *stream; in hda_dsp_stream_put() local
225 stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_put()
226 hda_stream = container_of(stream, struct sof_intel_hda_stream, hda_stream); in hda_dsp_stream_put()
255 struct hdac_ext_stream *stream, int cmd) in hda_dsp_stream_trigger() argument
257 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_trigger()
333 int hda_dsp_iccmax_stream_hw_params(struct snd_sof_dev *sdev, struct hdac_ext_stream *stream, in hda_dsp_iccmax_stream_hw_params() argument
338 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_iccmax_stream_hw_params()
343 if (!stream) { in hda_dsp_iccmax_stream_hw_params()
404 struct hdac_ext_stream *stream, in hda_dsp_stream_hw_params() argument
409 struct hdac_stream *hstream = &stream->hstream; in hda_dsp_stream_hw_params()
416 if (!stream) { in hda_dsp_stream_hw_params()
610 struct hdac_stream *stream = substream->runtime->private_data; in hda_dsp_stream_hw_free() local
611 struct hdac_ext_stream *link_dev = container_of(stream, in hda_dsp_stream_hw_free()
615 u32 mask = 0x1 << stream->index; in hda_dsp_stream_hw_free()
624 stream->substream = NULL; in hda_dsp_stream_hw_free()
752 struct hdac_ext_stream *stream; in hda_dsp_stream_init() local
816 stream = &hda_stream->hda_stream; in hda_dsp_stream_init()
818 stream->pphc_addr = sdev->bar[HDA_DSP_PP_BAR] + in hda_dsp_stream_init()
821 stream->pplc_addr = sdev->bar[HDA_DSP_PP_BAR] + in hda_dsp_stream_init()
827 stream->spib_addr = sdev->bar[HDA_DSP_SPIB_BAR] + in hda_dsp_stream_init()
831 stream->fifo_addr = sdev->bar[HDA_DSP_SPIB_BAR] + in hda_dsp_stream_init()
836 hstream = &stream->hstream; in hda_dsp_stream_init()
871 stream = &hda_stream->hda_stream; in hda_dsp_stream_init()
874 stream->pphc_addr = sdev->bar[HDA_DSP_PP_BAR] + in hda_dsp_stream_init()
877 stream->pplc_addr = sdev->bar[HDA_DSP_PP_BAR] + in hda_dsp_stream_init()
883 stream->spib_addr = sdev->bar[HDA_DSP_SPIB_BAR] + in hda_dsp_stream_init()
887 stream->fifo_addr = sdev->bar[HDA_DSP_SPIB_BAR] + in hda_dsp_stream_init()
892 hstream = &stream->hstream; in hda_dsp_stream_init()
927 struct hdac_ext_stream *stream; in hda_dsp_stream_free() local
947 stream = stream_to_hdac_ext_stream(s); in hda_dsp_stream_free()
948 hda_stream = container_of(stream, struct sof_intel_hda_stream, in hda_dsp_stream_free()