Lines Matching refs:cidx
1061 int cidx, err; in snd_pcm_dev_register() local
1076 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_register()
1078 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1080 switch (cidx) { in snd_pcm_dev_register()
1090 &snd_pcm_f_ops[cidx], pcm, in snd_pcm_dev_register()
1091 &pcm->streams[cidx].dev); in snd_pcm_dev_register()
1097 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1114 int cidx; in snd_pcm_dev_disconnect() local
1120 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1121 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect()
1135 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1137 snd_unregister_device(&pcm->streams[cidx].dev); in snd_pcm_dev_disconnect()
1138 if (pcm->streams[cidx].chmap_kctl) { in snd_pcm_dev_disconnect()
1139 snd_ctl_remove(pcm->card, pcm->streams[cidx].chmap_kctl); in snd_pcm_dev_disconnect()
1140 pcm->streams[cidx].chmap_kctl = NULL; in snd_pcm_dev_disconnect()