Lines Matching refs:streams
123 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl()
632 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream()
865 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free()
866 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free()
894 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream()
904 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream()
1062 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1075 pcm->streams[cidx].dev); in snd_pcm_dev_register()
1081 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1119 if (pcm->streams[cidx].dev) in snd_pcm_dev_disconnect()
1120 snd_unregister_device(pcm->streams[cidx].dev); in snd_pcm_dev_disconnect()
1121 free_chmap(&pcm->streams[cidx]); in snd_pcm_dev_disconnect()
1176 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in snd_pcm_proc_read()
1178 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count); in snd_pcm_proc_read()
1179 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) in snd_pcm_proc_read()
1181 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count); in snd_pcm_proc_read()