Lines Matching refs:stream

61 	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {  in bf5xx_mmap_copy()
87 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_dma_irq()
135 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_hw_free()
158 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_prepare()
168 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_prepare()
190 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_trigger()
202 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_trigger()
227 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_pointer()
233 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_pointer()
289 substream->stream ? "Capture" : "Playback", pos, count); in bf5xx_pcm_copy()
291 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_copy()
316 static int bf5xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) in bf5xx_pcm_preallocate_dma_buffer() argument
321 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in bf5xx_pcm_preallocate_dma_buffer()
341 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_preallocate_dma_buffer()
351 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_preallocate_dma_buffer()
382 int stream; in bf5xx_pcm_free_dma_buffers() local
390 for (stream = 0; stream < 2; stream++) { in bf5xx_pcm_free_dma_buffers()
391 substream = pcm->streams[stream].substream; in bf5xx_pcm_free_dma_buffers()
401 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_free_dma_buffers()