Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/serial/
Dusb_wwan.c142 struct urb *this_urb = NULL; /* spurious */ in usb_wwan_write() local
157 this_urb = portdata->out_urbs[i]; in usb_wwan_write()
162 usb_unlink_urb(this_urb); in usb_wwan_write()
166 usb_pipeendpoint(this_urb->pipe), i); in usb_wwan_write()
175 memcpy(this_urb->transfer_buffer, buf, todo); in usb_wwan_write()
176 this_urb->transfer_buffer_length = todo; in usb_wwan_write()
180 usb_anchor_urb(this_urb, &portdata->delayed); in usb_wwan_write()
185 err = usb_submit_urb(this_urb, GFP_ATOMIC); in usb_wwan_write()
286 struct urb *this_urb; in usb_wwan_write_room() local
291 this_urb = portdata->out_urbs[i]; in usb_wwan_write_room()
[all …]
Dkeyspan.c697 struct urb *this_urb; in keyspan_write() local
722 this_urb = p_priv->out_urbs[flip]; in keyspan_write()
723 if (this_urb == NULL) { in keyspan_write()
730 __func__, usb_pipeendpoint(this_urb->pipe), flip); in keyspan_write()
732 if (this_urb->status == -EINPROGRESS) { in keyspan_write()
736 usb_unlink_urb(this_urb); in keyspan_write()
742 ((char *)this_urb->transfer_buffer)[0] = 0; in keyspan_write()
744 memcpy(this_urb->transfer_buffer + dataOffset, buf, todo); in keyspan_write()
748 this_urb->transfer_buffer_length = todo + dataOffset; in keyspan_write()
750 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_write()
[all …]