Lines Matching refs:stream
114 int stream; in snd_pcm_control_ioctl() local
123 if (get_user(stream, &info->stream)) in snd_pcm_control_ioctl()
125 if (stream < 0 || stream > 1) in snd_pcm_control_ioctl()
135 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl()
279 static const char *snd_pcm_stream_name(int stream) in snd_pcm_stream_name() argument
281 return snd_pcm_stream_names[stream]; in snd_pcm_stream_name()
358 snd_iprintf(buffer, "stream: %s\n", snd_pcm_stream_name(info->stream)); in snd_pcm_proc_info_read()
521 pstr->stream == SNDRV_PCM_STREAM_PLAYBACK ? 'p' : 'c'); in snd_pcm_stream_proc_init()
687 int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) in snd_pcm_new_stream() argument
690 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream()
696 pstr->stream = stream; in snd_pcm_new_stream()
705 stream == SNDRV_PCM_STREAM_PLAYBACK ? 'p' : 'c'); in snd_pcm_new_stream()
722 substream->stream = stream; in snd_pcm_new_stream()
903 int snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, in snd_pcm_attach_substream() argument
916 if (snd_BUG_ON(stream != SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_attach_substream()
917 stream != SNDRV_PCM_STREAM_CAPTURE)) in snd_pcm_attach_substream()
920 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream()
928 int opposite = !stream; in snd_pcm_attach_substream()