Searched refs:current_urb (Results 1 – 4 of 4) sorted by relevance
811 struct urb *current_urb = NULL; in next_urb() local816 current_urb = endpoint->tx_urb; in next_urb()819 current_urb = in next_urb()824 space = current_urb->buffer_length - current_urb->actual_length; in next_urb()826 return current_urb; in next_urb()829 current_urb = first_urb_detached (&endpoint->done); in next_urb()830 if (!current_urb) { in next_urb()831 current_urb = usbd_alloc_urb (device, endpoint); in next_urb()834 urb_append (&endpoint->tx, current_urb); in next_urb()837 return current_urb; in next_urb()[all …]
129 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 …]
128 struct urb *current_urb; /* USB requests */ member
778 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()