Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/uwb/
Dneh.c166 result = find_next_zero_bit(rc->ctx_bm, UWB_RC_CTX_MAX, in __uwb_rc_ctx_get()
170 result = find_first_zero_bit(rc->ctx_bm, UWB_RC_CTX_MAX); in __uwb_rc_ctx_get()
175 set_bit(result, rc->ctx_bm); in __uwb_rc_ctx_get()
188 if (test_bit(neh->context, rc->ctx_bm) == 0) { in __uwb_rc_ctx_put()
193 clear_bit(neh->context, rc->ctx_bm); in __uwb_rc_ctx_put()
595 set_bit(0, rc->ctx_bm); /* 0 is reserved (see [WUSB] table 8-65) */ in uwb_rc_neh_create()
596 set_bit(0xff, rc->ctx_bm); /* and 0xff is invalid */ in uwb_rc_neh_create()
/linux-4.19.296/include/linux/
Duwb.h388 unsigned long ctx_bm[UWB_RC_CTX_MAX / 8 / sizeof(unsigned long)]; member