Searched refs:this_urb (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/usb/serial/ |
D | usb_wwan.c | 144 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 …]
|
D | keyspan.c | 701 struct urb *this_urb; in keyspan_write() local 726 this_urb = p_priv->out_urbs[flip]; in keyspan_write() 727 if (this_urb == NULL) { in keyspan_write() 734 __func__, usb_pipeendpoint(this_urb->pipe), flip); in keyspan_write() 736 if (this_urb->status == -EINPROGRESS) { in keyspan_write() 740 usb_unlink_urb(this_urb); in keyspan_write() 746 ((char *)this_urb->transfer_buffer)[0] = 0; in keyspan_write() 748 memcpy(this_urb->transfer_buffer + dataOffset, buf, todo); in keyspan_write() 752 this_urb->transfer_buffer_length = todo + dataOffset; in keyspan_write() 754 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_write() [all …]
|