Lines Matching refs:cidx
1051 int cidx, err; in snd_pcm_dev_register() local
1063 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_register()
1065 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register()
1067 switch (cidx) { in snd_pcm_dev_register()
1077 &snd_pcm_f_ops[cidx], pcm, in snd_pcm_dev_register()
1078 &pcm->streams[cidx].dev); in snd_pcm_dev_register()
1084 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register()
1099 int cidx; in snd_pcm_dev_disconnect() local
1105 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1106 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect()
1121 for (cidx = 0; cidx < 2; cidx++) in snd_pcm_dev_disconnect()
1122 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_disconnect()
1126 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect()
1127 snd_unregister_device(&pcm->streams[cidx].dev); in snd_pcm_dev_disconnect()
1128 free_chmap(&pcm->streams[cidx]); in snd_pcm_dev_disconnect()