Lines Matching defs:data_urb
271 struct urb *data_urb;
274 data_urb = usb_alloc_urb(0, GFP_ATOMIC);
275 if (!data_urb) {
283 usb_fill_bulk_urb(data_urb, priv->udev,
287 data_urb->transfer_flags |= URB_ZERO_PACKET;
289 usb_anchor_urb(data_urb, &priv->submitted);
290 if (usb_submit_urb(data_urb, GFP_ATOMIC)) {
291 usb_unanchor_urb(data_urb);
294 usb_free_urb(data_urb);
300 struct urb *int_urb = NULL, *data_urb = NULL;
313 data_urb = usb_alloc_urb(0, GFP_ATOMIC);
314 if (!data_urb)
337 usb_fill_bulk_urb(data_urb, priv->udev,
341 data_urb->transfer_flags |= URB_ZERO_PACKET;
350 usb_anchor_urb(data_urb, &priv->submitted);
351 err = usb_submit_urb(data_urb, GFP_ATOMIC);
353 usb_unanchor_urb(data_urb);
358 usb_free_urb(data_urb);