Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/uwb/
Dneh.c164 result = find_next_zero_bit(rc->ctx_bm, UWB_RC_CTX_MAX, in __uwb_rc_ctx_get()
168 result = find_first_zero_bit(rc->ctx_bm, UWB_RC_CTX_MAX); in __uwb_rc_ctx_get()
173 set_bit(result, rc->ctx_bm); in __uwb_rc_ctx_get()
186 if (test_bit(neh->context, rc->ctx_bm) == 0) { in __uwb_rc_ctx_put()
191 clear_bit(neh->context, rc->ctx_bm); in __uwb_rc_ctx_put()
586 set_bit(0, rc->ctx_bm); /* 0 is reserved (see [WUSB] table 8-65) */ in uwb_rc_neh_create()
587 set_bit(0xff, rc->ctx_bm); /* and 0xff is invalid */ in uwb_rc_neh_create()
/linux-2.6.39/include/linux/
Duwb.h387 unsigned long ctx_bm[UWB_RC_CTX_MAX / 8 / sizeof(unsigned long)]; member