Lines Matching refs:streams
127 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl()
642 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream()
875 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free()
876 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free()
904 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream()
914 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream()
1070 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1083 pcm->streams[cidx].dev); in snd_pcm_dev_register()
1089 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1130 if (pcm->streams[cidx].dev) in snd_pcm_dev_disconnect()
1131 snd_unregister_device(pcm->streams[cidx].dev); in snd_pcm_dev_disconnect()
1132 free_chmap(&pcm->streams[cidx]); in snd_pcm_dev_disconnect()
1190 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in snd_pcm_proc_read()
1192 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count); in snd_pcm_proc_read()
1193 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) in snd_pcm_proc_read()
1195 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count); in snd_pcm_proc_read()