Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/wusbcore/
Dwa-rpipe.c139 rpipe_idx = find_next_zero_bit(wa->rpipe_bm, wa->rpipes, rpipe_idx); in rpipe_get_idx()
141 set_bit(rpipe_idx, wa->rpipe_bm); in rpipe_get_idx()
152 clear_bit(rpipe_idx, wa->rpipe_bm); in rpipe_put_idx()
210 set_bit(rpipe_idx, wa->rpipe_bm); in rpipe_get_idle()
473 wa->rpipe_bm = bitmap_zalloc(wa->rpipes, GFP_KERNEL); in wa_rpipes_create()
474 if (wa->rpipe_bm == NULL) in wa_rpipes_create()
483 if (!bitmap_empty(wa->rpipe_bm, wa->rpipes)) { in wa_rpipes_destroy()
486 wa->rpipes, wa->rpipe_bm); in wa_rpipes_destroy()
488 bitmap_free(wa->rpipe_bm); in wa_rpipes_destroy()
Dwa-hc.h193 unsigned long *rpipe_bm; /* rpipe usage bitmap */ member