Lines Matching refs:cidx
1102 int cidx, err; in snd_pcm_dev_register() local
1114 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_register()
1116 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1118 switch (cidx) { in snd_pcm_dev_register()
1128 &snd_pcm_f_ops[cidx], pcm, in snd_pcm_dev_register()
1129 &pcm->streams[cidx].dev); in snd_pcm_dev_register()
1135 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1150 int cidx; in snd_pcm_dev_disconnect() local
1156 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1157 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect()
1173 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1174 snd_unregister_device(&pcm->streams[cidx].dev); in snd_pcm_dev_disconnect()
1175 free_chmap(&pcm->streams[cidx]); in snd_pcm_dev_disconnect()