Lines Matching refs:murb

1106 static void oxu_murb_free(struct oxu_hcd *oxu, struct oxu_murb *murb)  in oxu_murb_free()  argument
1112 index = murb - &oxu->murb_pool[0]; in oxu_murb_free()
1122 struct oxu_murb *murb = NULL; in oxu_murb_alloc() local
1131 murb = &(oxu->murb_pool)[i]; in oxu_murb_alloc()
1138 return murb; in oxu_murb_alloc()
1415 struct oxu_murb *murb = NULL; in qh_completions() local
1445 murb = (struct oxu_murb *) last->urb; in qh_completions()
1446 last->urb = murb->main; in qh_completions()
1447 if (murb->last) { in qh_completions()
1451 oxu_murb_free(oxu, murb); in qh_completions()
1548 murb = (struct oxu_murb *) last->urb; in qh_completions()
1549 last->urb = murb->main; in qh_completions()
1550 if (murb->last) { in qh_completions()
1554 oxu_murb_free(oxu, murb); in qh_completions()
3271 struct urb *murb; in oxu_urb_enqueue() local
3296 murb = (struct urb *) oxu_murb_alloc(oxu); in oxu_urb_enqueue()
3297 if (!murb) in oxu_urb_enqueue()
3299 } while (!murb); in oxu_urb_enqueue()
3302 memcpy(murb, urb, sizeof(struct urb)); in oxu_urb_enqueue()
3304 murb->transfer_buffer_length = 4096; in oxu_urb_enqueue()
3305 murb->transfer_buffer = transfer_buffer + i * 4096; in oxu_urb_enqueue()
3308 murb->complete = NULL; in oxu_urb_enqueue()
3310 ((struct oxu_murb *) murb)->main = urb; in oxu_urb_enqueue()
3311 ((struct oxu_murb *) murb)->last = 0; in oxu_urb_enqueue()
3317 ret = __oxu_urb_enqueue(hcd, murb, mem_flags); in oxu_urb_enqueue()
3327 murb = (struct urb *) oxu_murb_alloc(oxu); in oxu_urb_enqueue()
3328 if (!murb) in oxu_urb_enqueue()
3330 } while (!murb); in oxu_urb_enqueue()
3333 memcpy(murb, urb, sizeof(struct urb)); in oxu_urb_enqueue()
3335 murb->transfer_buffer_length = rem > 0 ? rem : 4096; in oxu_urb_enqueue()
3336 murb->transfer_buffer = transfer_buffer + (num - 1) * 4096; in oxu_urb_enqueue()
3339 murb->complete = NULL; in oxu_urb_enqueue()
3341 ((struct oxu_murb *) murb)->main = urb; in oxu_urb_enqueue()
3342 ((struct oxu_murb *) murb)->last = 1; in oxu_urb_enqueue()
3345 ret = __oxu_urb_enqueue(hcd, murb, mem_flags); in oxu_urb_enqueue()