Home
last modified time | relevance | path

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

/drivers/usb/storage/
Dtransport.c129 us->current_urb->context = &urb_done; in usb_stor_msg_common()
130 us->current_urb->transfer_flags = 0; in usb_stor_msg_common()
138 if (us->current_urb->transfer_buffer == us->iobuf) in usb_stor_msg_common()
139 us->current_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_stor_msg_common()
140 us->current_urb->transfer_dma = us->iobuf_dma; in usb_stor_msg_common()
143 status = usb_submit_urb(us->current_urb, GFP_NOIO); in usb_stor_msg_common()
161 usb_unlink_urb(us->current_urb); in usb_stor_msg_common()
174 usb_kill_urb(us->current_urb); in usb_stor_msg_common()
178 return us->current_urb->status; in usb_stor_msg_common()
202 usb_fill_control_urb(us->current_urb, us->pusb_dev, pipe, in usb_stor_control_msg()
[all …]
Dusb.h128 struct urb *current_urb; /* USB requests */ member
Dusb.c778 us->current_urb = usb_alloc_urb(0, GFP_KERNEL); in usb_stor_acquire_resources()
779 if (!us->current_urb) in usb_stor_acquire_resources()
825 usb_free_urb(us->current_urb); in usb_stor_release_resources()