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()
705 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_sw_params()
778 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_status()
1036 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_pre_start()
1065 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_post_start()
1330 int stream, err = 0; in snd_pcm_suspend_all() local
1335 for (stream = 0; stream < 2; stream++) { in snd_pcm_suspend_all()
1336 for (substream = pcm->streams[stream].substream; in snd_pcm_suspend_all()
1370 substream->stream != SNDRV_PCM_STREAM_PLAYBACK)) in snd_pcm_do_resume()
1488 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_post_reset()
1590 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_do_drain_init()
1705 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_drain()
2255 int snd_pcm_open_substream(struct snd_pcm *pcm, int stream, in snd_pcm_open_substream() argument
2262 err = snd_pcm_attach_substream(pcm, stream, file, &substream); in snd_pcm_open_substream()
2299 int stream) in snd_pcm_open_file() argument
2305 err = snd_pcm_open_substream(pcm, stream, file, &substream); in snd_pcm_open_file()
2352 static int snd_pcm_open(struct file *file, struct snd_pcm *pcm, int stream) in snd_pcm_open() argument
2372 err = snd_pcm_open_file(file, pcm, stream); in snd_pcm_open()
2632 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_pcm_hwsync()
2665 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_pcm_delay()
2675 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_delay()
2825 if (snd_BUG_ON(substream->stream != SNDRV_PCM_STREAM_PLAYBACK)) in snd_pcm_playback_ioctl1()
2905 if (snd_BUG_ON(substream->stream != SNDRV_PCM_STREAM_CAPTURE)) in snd_pcm_capture_ioctl1()
3014 switch (substream->stream) { in snd_pcm_kernel_ioctl()
3456 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_mmap_data()