Lines Matching refs:stream
41 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream
45 * the stream's are synced by the opposite stream.
48 * @dir: stream direction
440 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
471 if (!(sai->mclk_streams & BIT(substream->stream))) {
476 sai->mclk_streams |= BIT(substream->stream);
533 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
540 sai->mclk_streams & BIT(substream->stream)) {
542 sai->mclk_streams &= ~BIT(substream->stream);
587 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
645 * If opposite stream provides clocks for synchronous mode and
652 * Disable current stream if either of:
653 * 1. current stream doesn't provide clocks for synchronous mode
654 * 2. current stream provides clocks for synchronous mode but no
655 * more stream is active.
672 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;