• Home
  • Raw
  • Download

Lines Matching refs:urbs

1531 	struct urb		**urbs;  member
1541 if (urb == ctx->urbs[ctx->num - 4] || urb == ctx->urbs[ctx->num - 2]) { in unlink_queued_callback()
1575 ctx.urbs = kcalloc(num, sizeof(struct urb *), GFP_KERNEL); in unlink_queued()
1576 if (!ctx.urbs) in unlink_queued()
1579 ctx.urbs[i] = usb_alloc_urb(0, GFP_KERNEL); in unlink_queued()
1580 if (!ctx.urbs[i]) in unlink_queued()
1582 usb_fill_bulk_urb(ctx.urbs[i], udev, pipe, buf, size, in unlink_queued()
1584 ctx.urbs[i]->transfer_dma = buf_dma; in unlink_queued()
1585 ctx.urbs[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in unlink_queued()
1587 if (usb_pipeout(ctx.urbs[i]->pipe)) { in unlink_queued()
1588 simple_fill_buf(ctx.urbs[i]); in unlink_queued()
1589 ctx.urbs[i]->transfer_flags |= URB_ZERO_PACKET; in unlink_queued()
1596 retval = usb_submit_urb(ctx.urbs[i], GFP_KERNEL); in unlink_queued()
1606 usb_unlink_urb(ctx.urbs[num - 4]); in unlink_queued()
1607 usb_unlink_urb(ctx.urbs[num - 2]); in unlink_queued()
1610 usb_unlink_urb(ctx.urbs[i]); in unlink_queued()
1620 usb_free_urb(ctx.urbs[i]); in unlink_queued()
1621 kfree(ctx.urbs); in unlink_queued()
2046 struct urb **urbs; in test_queue() local
2054 urbs = kcalloc(param->sglen, sizeof(*urbs), GFP_KERNEL); in test_queue()
2055 if (!urbs) in test_queue()
2069 urbs[i] = iso_alloc_urb(udev, pipe, desc, in test_queue()
2072 urbs[i] = complicated_alloc_urb(udev, pipe, in test_queue()
2075 if (!urbs[i]) { in test_queue()
2079 packets += urbs[i]->number_of_packets; in test_queue()
2080 urbs[i]->context = &context; in test_queue()
2109 status = usb_submit_urb(urbs[i], GFP_ATOMIC); in test_queue()
2117 simple_free_urb(urbs[i]); in test_queue()
2118 urbs[i] = NULL; in test_queue()
2129 if (urbs[i]) in test_queue()
2130 simple_free_urb(urbs[i]); in test_queue()
2145 kfree(urbs); in test_queue()
2150 if (urbs[i]) in test_queue()
2151 simple_free_urb(urbs[i]); in test_queue()
2154 kfree(urbs); in test_queue()