Lines Matching refs:cidx
1054 int cidx, err; in snd_pcm_dev_register() local
1066 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_register()
1068 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1070 switch (cidx) { in snd_pcm_dev_register()
1080 &snd_pcm_f_ops[cidx], pcm, in snd_pcm_dev_register()
1081 &pcm->streams[cidx].dev); in snd_pcm_dev_register()
1087 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1102 int cidx; in snd_pcm_dev_disconnect() local
1109 for_each_pcm_substream(pcm, cidx, substream) { in snd_pcm_dev_disconnect()
1123 for_each_pcm_substream(pcm, cidx, substream) in snd_pcm_dev_disconnect()
1127 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1128 snd_unregister_device(&pcm->streams[cidx].dev); in snd_pcm_dev_disconnect()
1129 free_chmap(&pcm->streams[cidx]); in snd_pcm_dev_disconnect()