Lines Matching defs:stream
211 * @stream: Stream direction (playback/capture)
217 unsigned int stream)
221 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
416 static void omap_mcbsp_start(struct omap_mcbsp *mcbsp, int stream)
418 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK);
475 static void omap_mcbsp_stop(struct omap_mcbsp *mcbsp, int stream)
477 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK);
757 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
810 * This applies only for the playback stream.
812 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
831 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
854 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
881 omap_mcbsp_start(mcbsp, substream->stream);
887 omap_mcbsp_stop(mcbsp, substream->stream);
911 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
959 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
988 mcbsp->latency[substream->stream] = latency;
996 /* McBSP already configured by another stream */