Lines Matching defs:substream
513 static int fsl_sai_hw_params(struct snd_pcm_substream *substream,
519 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
585 if (!(sai->mclk_streams & BIT(substream->stream))) {
590 sai->mclk_streams |= BIT(substream->stream);
711 static int fsl_sai_hw_free(struct snd_pcm_substream *substream,
715 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
725 sai->mclk_streams & BIT(substream->stream)) {
727 sai->mclk_streams &= ~BIT(substream->stream);
771 static int fsl_sai_trigger(struct snd_pcm_substream *substream, int cmd,
777 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
858 static int fsl_sai_startup(struct snd_pcm_substream *substream,
862 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
870 snd_pcm_hw_constraint_step(substream->runtime, 0,
875 ret = snd_pcm_hw_constraint_list(substream->runtime, 0,