Lines Matching refs:stream
961 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_oss_change_params()
1002 substream->stream == SNDRV_PCM_STREAM_CAPTURE) in snd_pcm_oss_change_params()
1008 sw_params->avail_min = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pcm_oss_change_params()
1939 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_oss_get_caps1()
2084 static int snd_pcm_oss_get_ptr(struct snd_pcm_oss_file *pcm_oss_file, int stream, struct count_info… in snd_pcm_oss_get_ptr() argument
2095 substream = pcm_oss_file->streams[stream]; in snd_pcm_oss_get_ptr()
2107 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_oss_get_ptr()
2131 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_oss_get_ptr()
2136 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_oss_get_ptr()
2153 static int snd_pcm_oss_get_space(struct snd_pcm_oss_file *pcm_oss_file, int stream, struct audio_bu… in snd_pcm_oss_get_space() argument
2164 substream = pcm_oss_file->streams[stream]; in snd_pcm_oss_get_space()
2176 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_oss_get_space()
2184 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_oss_get_space()
2214 static int snd_pcm_oss_get_mapbuf(struct snd_pcm_oss_file *pcm_oss_file, int stream, struct buffmem… in snd_pcm_oss_get_mapbuf() argument
2231 static void snd_pcm_oss_look_for_setup(struct snd_pcm *pcm, int stream, in snd_pcm_oss_look_for_setup() argument
2237 mutex_lock(&pcm->streams[stream].oss.setup_mutex); in snd_pcm_oss_look_for_setup()
2239 for (setup = pcm->streams[stream].oss.setup_list; setup; in snd_pcm_oss_look_for_setup()
2248 mutex_unlock(&pcm->streams[stream].oss.setup_mutex); in snd_pcm_oss_look_for_setup()
2959 int stream; in snd_pcm_oss_proc_init() local
2960 for (stream = 0; stream < 2; ++stream) { in snd_pcm_oss_proc_init()
2962 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_oss_proc_init()
2982 int stream; in snd_pcm_oss_proc_done() local
2983 for (stream = 0; stream < 2; ++stream) { in snd_pcm_oss_proc_done()
2984 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_oss_proc_done()