Searched refs:rpipe_bm (Results 1 - 2 of 2) sorted by relevance

/drivers/usb/wusbcore/
H A Dwa-rpipe.c34 * Each bit in wa->rpipe_bm represents if an rpipe is being used or
153 rpipe_idx = find_next_zero_bit(wa->rpipe_bm, wa->rpipes, rpipe_idx);
155 set_bit(rpipe_idx, wa->rpipe_bm);
166 clear_bit(rpipe_idx, wa->rpipe_bm);
224 set_bit(rpipe_idx, wa->rpipe_bm);
482 wa->rpipe_bm = kzalloc(BITS_TO_LONGS(wa->rpipes)*sizeof(unsigned long),
484 if (wa->rpipe_bm == NULL)
493 if (!bitmap_empty(wa->rpipe_bm, wa->rpipes)) {
496 bitmap_scnprintf(buf, sizeof(buf), wa->rpipe_bm, wa->rpipes);
499 kfree(wa->rpipe_bm);
[all...]
H A Dwa-hc.h179 unsigned long *rpipe_bm; /* rpipe usage bitmap */ member in struct:wahc
180 spinlock_t rpipe_bm_lock; /* protect rpipe_bm */

Completed in 223 milliseconds