Lines Matching defs:cidx
1056 int cidx, err;
1068 for (cidx = 0; cidx < 2; cidx++) {
1070 if (pcm->streams[cidx].substream == NULL)
1072 switch (cidx) {
1082 &snd_pcm_f_ops[cidx], pcm,
1083 pcm->streams[cidx].dev);
1089 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next)
1104 int cidx;
1111 for_each_pcm_substream(pcm, cidx, substream) {
1125 for_each_pcm_substream(pcm, cidx, substream)
1129 for (cidx = 0; cidx < 2; cidx++) {
1130 if (pcm->streams[cidx].dev)
1131 snd_unregister_device(pcm->streams[cidx].dev);
1132 free_chmap(&pcm->streams[cidx]);