Lines Matching defs:stream
53 * @s: pointer to stream private data structure
93 /* If the stream is active, then also inform the PCM middle layer
96 snd_pcm_period_elapsed(s->stream);
131 dev_dbg(psc_dma->dev, "START: stream=%i fbits=%u ps=%u #p=%u\n",
132 substream->pstr->stream, runtime->frame_bits,
147 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
164 dev_dbg(psc_dma->dev, "STOP: stream=%i periods_count=%i\n",
165 substream->pstr->stream, s->period_count);
170 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
179 dev_dbg(psc_dma->dev, "unhandled trigger: stream=%i cmd=%i\n",
180 substream->pstr->stream, cmd);
229 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
243 s->stream = substream;
256 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
268 s->stream = NULL;
281 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
346 int stream;
350 for (stream = 0; stream < 2; stream++) {
351 substream = pcm->streams[stream].substream;