Lines Matching refs:substream_count
139 if (pstr->substream_count == 0) { in snd_pcm_control_ioctl()
143 if (subdevice >= pstr->substream_count) { in snd_pcm_control_ioctl()
692 int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) in snd_pcm_new_stream() argument
703 pstr->substream_count = substream_count; in snd_pcm_new_stream()
704 if (!substream_count) in snd_pcm_new_stream()
720 for (idx = 0, prev = NULL; idx < substream_count; idx++) { in snd_pcm_new_stream()
892 if (pstr->substream_count) in snd_pcm_free_stream()
939 if (pstr->substream == NULL || pstr->substream_count == 0) in snd_pcm_attach_substream()
957 if (pstr->substream_count > 1) in snd_pcm_attach_substream()
1217 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count); in snd_pcm_proc_read()
1220 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count); in snd_pcm_proc_read()