Home
last modified time | relevance | path

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

/drivers/usb/serial/
Dkeyspan.c698 struct urb *this_urb; in keyspan_write() local
723 this_urb = p_priv->out_urbs[flip]; in keyspan_write()
724 if (this_urb == NULL) { in keyspan_write()
731 __func__, usb_pipeendpoint(this_urb->pipe), flip); in keyspan_write()
733 if (this_urb->status == -EINPROGRESS) { in keyspan_write()
737 usb_unlink_urb(this_urb); in keyspan_write()
743 ((char *)this_urb->transfer_buffer)[0] = 0; in keyspan_write()
745 memcpy(this_urb->transfer_buffer + dataOffset, buf, todo); in keyspan_write()
749 this_urb->transfer_buffer_length = todo + dataOffset; in keyspan_write()
751 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_write()
[all …]
Dusb_wwan.c144 struct urb *this_urb = NULL; /* spurious */ in usb_wwan_write() local
159 this_urb = portdata->out_urbs[i]; in usb_wwan_write()
164 usb_unlink_urb(this_urb); in usb_wwan_write()
168 usb_pipeendpoint(this_urb->pipe), i); in usb_wwan_write()
177 memcpy(this_urb->transfer_buffer, buf, todo); in usb_wwan_write()
178 this_urb->transfer_buffer_length = todo; in usb_wwan_write()
182 usb_anchor_urb(this_urb, &portdata->delayed); in usb_wwan_write()
187 err = usb_submit_urb(this_urb, GFP_ATOMIC); in usb_wwan_write()
288 struct urb *this_urb; in usb_wwan_write_room() local
293 this_urb = portdata->out_urbs[i]; in usb_wwan_write_room()
[all …]