Lines Matching refs:streams
135 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl()
690 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream()
891 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free()
892 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free()
920 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream()
930 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream()
1081 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1094 &pcm->streams[cidx].dev); in snd_pcm_dev_register()
1100 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1124 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect()
1140 snd_unregister_device(&pcm->streams[cidx].dev); in snd_pcm_dev_disconnect()
1141 if (pcm->streams[cidx].chmap_kctl) { in snd_pcm_dev_disconnect()
1142 snd_ctl_remove(pcm->card, pcm->streams[cidx].chmap_kctl); in snd_pcm_dev_disconnect()
1143 pcm->streams[cidx].chmap_kctl = NULL; in snd_pcm_dev_disconnect()
1198 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in snd_pcm_proc_read()
1200 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count); in snd_pcm_proc_read()
1201 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) in snd_pcm_proc_read()
1203 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream_count); in snd_pcm_proc_read()