Lines Matching refs:stream
3 * hdac-ext-stream.c - HD-audio extended stream operations.
20 * snd_hdac_ext_stream_init - initialize each stream (aka device)
22 * @hext_stream: HD-audio ext core stream object to initialize
23 * @idx: stream index number
24 * @direction: stream direction (SNDRV_PCM_STREAM_PLAYBACK or SNDRV_PCM_STREAM_CAPTURE)
27 * initialize the stream, if ppcap is enabled then init those and then
28 * invoke hdac stream initialization routine
48 * snd_hdac_ext_stream_init_all - create and initialize the stream objects
77 * snd_hdac_ext_stream_free_all - free hdac extended stream objects
115 * snd_hdac_ext_stream_decouple - decouple the hdac stream
117 * @hext_stream: HD-audio ext core stream object to initialize
130 * snd_hdac_ext_stream_start - start a stream
131 * @hext_stream: HD-audio ext core stream to start
141 * snd_hdac_ext_stream_clear - stop a stream DMA
142 * @hext_stream: HD-audio ext core stream to stop
151 * snd_hdac_ext_stream_reset - reset a stream
152 * @hext_stream: HD-audio ext core stream to reset
177 /* waiting for hardware to report that the stream is out of reset */
190 * @hext_stream: HD-audio ext core stream to set up
191 * @fmt: stream format
206 /* program the stream format */
221 dev_err(bus->dev, "stream type not supported\n");
230 if (hstream->direction != substream->stream)
233 /* check if link stream is available */
257 dev_err(bus->dev, "stream type not supported\n");
266 if (hstream->direction != substream->stream)
286 * snd_hdac_ext_stream_assign - assign a stream for the PCM
289 * @type: type of stream (coupled, host or link stream)
291 * This assigns the stream based on the type (coupled/host/link), for the
292 * given PCM substream, assigns it and returns the stream object
294 * coupled: Looks for an unused stream
295 * host: Looks for an unused decoupled host stream
296 * link: Looks for an unused decoupled link stream
298 * If no stream is free, returns NULL. The function tries to keep using
299 * the same stream object when it's used beforehand. when a stream is
300 * decoupled, it becomes a host stream and link stream.
331 * snd_hdac_ext_stream_release - release the assigned stream
332 * @hext_stream: HD-audio ext core stream to release
333 * @type: type of stream (coupled, host or link stream)
335 * Release the stream that has been assigned by snd_hdac_ext_stream_assign().
373 * snd_hdac_ext_cstream_assign - assign a host stream for compress
375 * @cstream: Compress stream to assign
377 * Assign an unused host stream for the given compress stream.
378 * If no stream is free, NULL is returned. Stream is decoupled