Searched refs:purb (Results 1 – 1 of 1) sorted by relevance
613 int usb_stor_bulk_transfer_async_prepare(struct us_data *us, struct urb *purb, U32 pipe, in usb_stor_bulk_transfer_async_prepare() argument618 usb_fill_bulk_urb(purb, us->pusb_dev, pipe, buf, length, in usb_stor_bulk_transfer_async_prepare()619 usb_stor_async_completion, &purb->urb_done); in usb_stor_bulk_transfer_async_prepare()621 init_completion(&purb->urb_done); in usb_stor_bulk_transfer_async_prepare()624 purb->actual_length = 0; in usb_stor_bulk_transfer_async_prepare()625 purb->error_count = 0; in usb_stor_bulk_transfer_async_prepare()626 purb->status = 0; in usb_stor_bulk_transfer_async_prepare()628 purb->transfer_flags = URB_ASYNC_UNLINK | URB_NO_SETUP_DMA_MAP; in usb_stor_bulk_transfer_async_prepare()629 if (purb->transfer_buffer == us->iobuf) in usb_stor_bulk_transfer_async_prepare()630 purb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_stor_bulk_transfer_async_prepare()[all …]