rpipe_idx 134 drivers/staging/wusbcore/wa-rpipe.c static unsigned rpipe_get_idx(struct wahc *wa, unsigned rpipe_idx) rpipe_idx 139 drivers/staging/wusbcore/wa-rpipe.c rpipe_idx = find_next_zero_bit(wa->rpipe_bm, wa->rpipes, rpipe_idx); rpipe_idx 140 drivers/staging/wusbcore/wa-rpipe.c if (rpipe_idx < wa->rpipes) rpipe_idx 141 drivers/staging/wusbcore/wa-rpipe.c set_bit(rpipe_idx, wa->rpipe_bm); rpipe_idx 144 drivers/staging/wusbcore/wa-rpipe.c return rpipe_idx; rpipe_idx 147 drivers/staging/wusbcore/wa-rpipe.c static void rpipe_put_idx(struct wahc *wa, unsigned rpipe_idx) rpipe_idx 152 drivers/staging/wusbcore/wa-rpipe.c clear_bit(rpipe_idx, wa->rpipe_bm); rpipe_idx 183 drivers/staging/wusbcore/wa-rpipe.c unsigned rpipe_idx; rpipe_idx 193 drivers/staging/wusbcore/wa-rpipe.c for (rpipe_idx = 0; rpipe_idx < wa->rpipes; rpipe_idx++) { rpipe_idx 194 drivers/staging/wusbcore/wa-rpipe.c rpipe_idx = rpipe_get_idx(wa, rpipe_idx); rpipe_idx 195 drivers/staging/wusbcore/wa-rpipe.c if (rpipe_idx >= wa->rpipes) /* no more pipes :( */ rpipe_idx 197 drivers/staging/wusbcore/wa-rpipe.c result = __rpipe_get_descr(wa, &rpipe->descr, rpipe_idx); rpipe_idx 200 drivers/staging/wusbcore/wa-rpipe.c rpipe_idx, result); rpipe_idx 203 drivers/staging/wusbcore/wa-rpipe.c rpipe_put_idx(wa, rpipe_idx); rpipe_idx 210 drivers/staging/wusbcore/wa-rpipe.c set_bit(rpipe_idx, wa->rpipe_bm);