Lines Matching refs:stream
3 * HD-audio stream operations
52 * snd_hdac_stream_init - initialize each stream (aka device)
54 * @azx_dev: HD-audio core stream object to initialize
55 * @idx: stream index number
56 * @direction: stream direction (SNDRV_PCM_STREAM_PLAYBACK or SNDRV_PCM_STREAM_CAPTURE)
59 * Assign the starting bdl address to each stream (device) and initialize.
78 * snd_hdac_stream_start - start a stream
79 * @azx_dev: HD-audio core stream to start
82 * Start a stream, set start_wallclk and set the running flag.
125 * snd_hdac_stream_clear - stop a stream DMA
126 * @azx_dev: HD-audio core stream to stop
130 int stream;
144 stream = substream->stream;
146 chip->get_position[stream](chip, stream_to_azx_dev(azx_dev));
160 * snd_hdac_stream_stop - stop a stream
161 * @azx_dev: HD-audio core stream to stop
163 * Stop a stream DMA and disable stream interrupt
181 struct hdac_stream *stream;
183 list_for_each_entry(stream, &bus->stream_list, list)
184 snd_hdac_stream_stop(stream);
203 * snd_hdac_stream_reset - reset a stream
204 * @azx_dev: HD-audio core stream to reset
238 /* waiting for hardware to report that the stream is out of reset */
255 * @azx_dev: HD-audio core stream to set up
280 if(azx_dev->substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
288 /* program the stream format */
292 /* program the stream LVI (last valid index) of the BDL */
334 * snd_hdac_stream_cleanup - cleanup a stream
335 * @azx_dev: HD-audio core stream to clean up
349 * snd_hdac_stream_assign - assign a stream for the PCM
353 * Look for an unused stream for the given PCM substream, assign it
354 * and return the stream object. If no stream is free, returns NULL.
355 * The function tries to keep using the same stream object when it's used
366 int key = (substream->number << 2) | (substream->stream + 1);
373 if (azx_dev->direction != substream->stream)
396 * snd_hdac_stream_release - release the assigned stream
397 * @azx_dev: HD-audio core stream to release
399 * Release the stream that has been assigned by snd_hdac_stream_assign().
418 * @dir: direction for the stream to be found
419 * @stream_tag: stream tag for stream to be found
481 * @azx_dev: HD-audio core stream to set up
483 * Set up the buffer descriptor table of the given stream based on the
557 * snd_hdac_stream_set_params - set stream parameters
558 * @azx_dev: HD-audio core stream for which parameters are to be set
561 * Setup the HD-audio core stream parameters from substream of the stream
638 * @azx_dev: HD-audio core stream (master stream)
642 * bit corresponds to the stream index).
643 * The trigger timestamp of PCM substream assigned to the given stream is
671 * snd_hdac_stream_sync_trigger - turn on/off stream sync register
672 * @azx_dev: HD-audio core stream (master stream)
675 * @reg: the stream sync register address
696 * @azx_dev: HD-audio core stream (master stream)
727 * Perform stream reset if DMA RUN
745 * @azx_dev: HD-audio core stream used for DSP loading
746 * @format: HD-audio stream format
750 * Allocate the buffer for the given size and set up the given stream for
751 * DSP loading. Returns the stream tag (>= 0), or a negative error code.
810 * @azx_dev: HD-audio core stream used for DSP loading
823 * snd_hdac_dsp_cleanup - clean up the stream from DSP loading to normal
824 * @azx_dev: HD-audio core stream used for DSP loading