Home
last modified time | relevance | path

Searched refs:current_urb (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/storage/
Dtransport.c142 us->current_urb->context = &urb_done; in usb_stor_msg_common()
143 us->current_urb->transfer_flags = 0; in usb_stor_msg_common()
149 if (us->current_urb->transfer_buffer == us->iobuf) in usb_stor_msg_common()
150 us->current_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_stor_msg_common()
151 us->current_urb->transfer_dma = us->iobuf_dma; in usb_stor_msg_common()
154 status = usb_submit_urb(us->current_urb, GFP_NOIO); in usb_stor_msg_common()
170 usb_unlink_urb(us->current_urb); in usb_stor_msg_common()
183 usb_kill_urb(us->current_urb); in usb_stor_msg_common()
187 return us->current_urb->status; in usb_stor_msg_common()
211 usb_fill_control_urb(us->current_urb, us->pusb_dev, pipe, in usb_stor_control_msg()
[all …]
Dusb.h141 struct urb *current_urb; /* USB requests */ member
Dusb.c779 us->current_urb = usb_alloc_urb(0, GFP_KERNEL); in usb_stor_acquire_resources()
780 if (!us->current_urb) { in usb_stor_acquire_resources()
825 usb_free_urb(us->current_urb); in usb_stor_release_resources()