Lines Matching refs:cidx
1042 int cidx, err; in snd_pcm_dev_register() local
1054 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_register()
1056 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1058 switch (cidx) { in snd_pcm_dev_register()
1068 &snd_pcm_f_ops[cidx], pcm, in snd_pcm_dev_register()
1069 &pcm->streams[cidx].dev); in snd_pcm_dev_register()
1075 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1090 int cidx; in snd_pcm_dev_disconnect() local
1096 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1097 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect()
1113 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1114 snd_unregister_device(&pcm->streams[cidx].dev); in snd_pcm_dev_disconnect()
1115 free_chmap(&pcm->streams[cidx]); in snd_pcm_dev_disconnect()