Lines Matching defs:stream
211 * @stream: Stream direction (playback/capture)
217 unsigned int stream)
221 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
415 static void omap_mcbsp_start(struct omap_mcbsp *mcbsp, int stream)
417 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK);
474 static void omap_mcbsp_stop(struct omap_mcbsp *mcbsp, int stream)
476 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK);
746 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
799 * This applies only for the playback stream.
801 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
820 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
843 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
870 omap_mcbsp_start(mcbsp, substream->stream);
876 omap_mcbsp_stop(mcbsp, substream->stream);
900 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
948 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
977 mcbsp->latency[substream->stream] = latency;
985 /* McBSP already configured by another stream */