Lines Matching refs:cidx
1064 int cidx, err; in snd_pcm_dev_register() local
1079 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_register()
1081 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1083 switch (cidx) { in snd_pcm_dev_register()
1093 &snd_pcm_f_ops[cidx], pcm, 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()
1117 int cidx; in snd_pcm_dev_disconnect() local
1123 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1124 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect()
1138 for (cidx = 0; cidx < 2; cidx++) { 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()