Lines Matching refs:murb
1081 static void oxu_murb_free(struct oxu_hcd *oxu, struct oxu_murb *murb) in oxu_murb_free() argument
1087 index = murb - &oxu->murb_pool[0]; in oxu_murb_free()
1097 struct oxu_murb *murb = NULL; in oxu_murb_alloc() local
1106 murb = &(oxu->murb_pool)[i]; in oxu_murb_alloc()
1113 return murb; in oxu_murb_alloc()
1390 struct oxu_murb *murb = NULL; in qh_completions() local
1420 murb = (struct oxu_murb *) last->urb; in qh_completions()
1421 last->urb = murb->main; in qh_completions()
1422 if (murb->last) { in qh_completions()
1426 oxu_murb_free(oxu, murb); in qh_completions()
1523 murb = (struct oxu_murb *) last->urb; in qh_completions()
1524 last->urb = murb->main; in qh_completions()
1525 if (murb->last) { in qh_completions()
1529 oxu_murb_free(oxu, murb); in qh_completions()
3246 struct urb *murb; in oxu_urb_enqueue() local
3271 murb = (struct urb *) oxu_murb_alloc(oxu); in oxu_urb_enqueue()
3272 if (!murb) in oxu_urb_enqueue()
3274 } while (!murb); in oxu_urb_enqueue()
3277 memcpy(murb, urb, sizeof(struct urb)); in oxu_urb_enqueue()
3279 murb->transfer_buffer_length = 4096; in oxu_urb_enqueue()
3280 murb->transfer_buffer = transfer_buffer + i * 4096; in oxu_urb_enqueue()
3283 murb->complete = NULL; in oxu_urb_enqueue()
3285 ((struct oxu_murb *) murb)->main = urb; in oxu_urb_enqueue()
3286 ((struct oxu_murb *) murb)->last = 0; in oxu_urb_enqueue()
3292 ret = __oxu_urb_enqueue(hcd, murb, mem_flags); in oxu_urb_enqueue()
3302 murb = (struct urb *) oxu_murb_alloc(oxu); in oxu_urb_enqueue()
3303 if (!murb) in oxu_urb_enqueue()
3305 } while (!murb); in oxu_urb_enqueue()
3308 memcpy(murb, urb, sizeof(struct urb)); in oxu_urb_enqueue()
3310 murb->transfer_buffer_length = rem > 0 ? rem : 4096; in oxu_urb_enqueue()
3311 murb->transfer_buffer = transfer_buffer + (num - 1) * 4096; in oxu_urb_enqueue()
3314 murb->complete = NULL; in oxu_urb_enqueue()
3316 ((struct oxu_murb *) murb)->main = urb; in oxu_urb_enqueue()
3317 ((struct oxu_murb *) murb)->last = 1; in oxu_urb_enqueue()
3320 ret = __oxu_urb_enqueue(hcd, murb, mem_flags); in oxu_urb_enqueue()