Lines Matching defs:stream
170 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK &&
194 stream_t *stream = (stream_t *) substream->runtime->private_data;
197 if (stream != NULL) {
198 stream->substream = NULL;
199 stream->nr_ch = 0;
211 stream_t *stream = (stream_t *) (substream->runtime->private_data);
222 if (stream != NULL)
223 vortex_adb_allocroute(chip, stream->dma,
224 stream->nr_ch, stream->dir,
225 stream->type,
231 substream->stream, type,
237 stream = substream->runtime->private_data = &chip->dma_adb[dma];
238 stream->substream = substream;
251 /* if (stream != NULL)
255 stream = substream->runtime->private_data =
257 stream->dma = substream->number;
258 stream->substream = substream;
272 stream_t *stream = (stream_t *) (substream->runtime->private_data);
277 if (stream != NULL) {
284 vortex_adb_allocroute(chip, stream->dma,
285 stream->nr_ch, stream->dir,
286 stream->type,
292 if (stream != NULL)
293 vortex_wt_allocroute(chip, stream->dma, 0);
307 stream_t *stream = (stream_t *) substream->runtime->private_data;
308 int dma = stream->dma, fmt, dir;
311 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
339 stream_t *stream = (stream_t *) substream->runtime->private_data;
340 int dma = stream->dma;
347 stream->fifo_enabled = 1;
362 stream->fifo_enabled = 0;
402 stream_t *stream = (stream_t *) substream->runtime->private_data;
403 int dma = stream->dma;