Lines Matching refs:stream
68 static int snd_pcm_open(struct file *file, struct snd_pcm *pcm, int stream);
206 info->stream = substream->stream; in snd_pcm_info()
694 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_sw_params()
767 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_status()
1025 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_pre_start()
1054 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_post_start()
1331 int stream, err = 0; in snd_pcm_suspend_all() local
1336 for (stream = 0; stream < 2; stream++) { in snd_pcm_suspend_all()
1337 for (substream = pcm->streams[stream].substream; in snd_pcm_suspend_all()
1371 substream->stream != SNDRV_PCM_STREAM_PLAYBACK)) in snd_pcm_do_resume()
1491 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_post_reset()
1593 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_do_drain_init()
1708 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_drain()
2257 int snd_pcm_open_substream(struct snd_pcm *pcm, int stream, in snd_pcm_open_substream() argument
2264 err = snd_pcm_attach_substream(pcm, stream, file, &substream); in snd_pcm_open_substream()
2301 int stream) in snd_pcm_open_file() argument
2307 err = snd_pcm_open_substream(pcm, stream, file, &substream); in snd_pcm_open_file()
2354 static int snd_pcm_open(struct file *file, struct snd_pcm *pcm, int stream) in snd_pcm_open() argument
2374 err = snd_pcm_open_file(file, pcm, stream); in snd_pcm_open()
2634 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_pcm_hwsync()
2667 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_pcm_delay()
2677 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_delay()
2827 if (snd_BUG_ON(substream->stream != SNDRV_PCM_STREAM_PLAYBACK)) in snd_pcm_playback_ioctl1()
2907 if (snd_BUG_ON(substream->stream != SNDRV_PCM_STREAM_CAPTURE)) in snd_pcm_capture_ioctl1()
3016 switch (substream->stream) { in snd_pcm_kernel_ioctl()
3458 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_mmap_data()