Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Df_midi2.c42 unsigned long free_reqs; /* bitmap for unused requests */ member
390 if (!usb_ep->free_reqs) in get_empty_request()
392 index = find_first_bit(&usb_ep->free_reqs, usb_ep->num_reqs); in get_empty_request()
398 clear_bit(index, &usb_ep->free_reqs); in get_empty_request()
412 set_bit(ctx->index, &ctx->usb_ep->free_reqs); in put_empty_request()
1130 if (!test_bit(i, &usb_ep->free_reqs) && usb_ep->reqs[i].req) { in f_midi2_drop_reqs()
1132 set_bit(i, &usb_ep->free_reqs); in f_midi2_drop_reqs()
1197 set_bit(i, &usb_ep->free_reqs); in f_midi2_init_ep()
1213 usb_ep->free_reqs = 0; in f_midi2_free_ep()
1226 if (!test_bit(i, &usb_ep->free_reqs) || !usb_ep->reqs[i].req) in f_midi2_queue_out_reqs()
[all …]