Lines Matching refs:stream
196 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
233 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
308 int stream, i;
317 for_each_pcm_streams(stream) {
318 if (be_cl->clocks_in_use[stream]) {
353 cl->clocks_in_use[substream->stream] = true;
377 cl->clocks_in_use[substream->stream] = false;
554 for_each_dpcm_be(fe, substream->stream, dpcm) {
573 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
603 dev_err(dev, "missing TDM for stream with two or more channels\n");
692 int stream;
694 for_each_pcm_streams(stream)
695 if (cl->port_started[stream])
712 for_each_dpcm_fe(be, substream->stream, dpcm) {
735 cl->port_started[substream->stream] = true;
748 cl->port_started[substream->stream] = true;
759 cl->port_started[substream->stream] = false;
816 struct dma_chan *chan = cl->dma_chans[substream->stream];
847 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
896 static struct dma_chan *mca_request_dma_channel(struct mca_cluster *cl, unsigned int stream)
898 bool is_tx = (stream == SNDRV_PCM_STREAM_PLAYBACK);
958 dev_err(component->dev, "unable to obtain DMA channel (stream %d cluster %d): %pe\n",