Searched refs:current_urb (Results 1 – 9 of 9) sorted by relevance
/drivers/staging/keucr/ |
D | transport.c | 44 us->current_urb->context = &urb_done; in usb_stor_msg_common() 45 us->current_urb->actual_length = 0; in usb_stor_msg_common() 46 us->current_urb->error_count = 0; in usb_stor_msg_common() 47 us->current_urb->status = 0; in usb_stor_msg_common() 49 us->current_urb->transfer_flags = 0; in usb_stor_msg_common() 50 if (us->current_urb->transfer_buffer == us->iobuf) in usb_stor_msg_common() 51 us->current_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in usb_stor_msg_common() 52 us->current_urb->transfer_dma = us->iobuf_dma; in usb_stor_msg_common() 53 us->current_urb->setup_dma = us->cr_dma; in usb_stor_msg_common() 55 status = usb_submit_urb(us->current_urb, GFP_NOIO); in usb_stor_msg_common() [all …]
|
D | usb.c | 445 us->current_urb = usb_alloc_urb(0, GFP_KERNEL); in usb_stor_acquire_resources() 446 if (!us->current_urb) in usb_stor_acquire_resources() 484 usb_free_urb(us->current_urb); in usb_stor_release_resources()
|
D | usb.h | 158 struct urb *current_urb; /* USB requests */ member
|
/drivers/usb/storage/ |
D | transport.c | 142 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() 212 usb_fill_control_urb(us->current_urb, us->pusb_dev, pipe, in usb_stor_control_msg() [all …]
|
D | usb.h | 141 struct urb *current_urb; /* USB requests */ member
|
D | usb.c | 763 us->current_urb = usb_alloc_urb(0, GFP_KERNEL); in usb_stor_acquire_resources() 764 if (!us->current_urb) { in usb_stor_acquire_resources() 811 usb_free_urb(us->current_urb); in usb_stor_release_resources()
|
/drivers/staging/rts5139/ |
D | rts51x_transport.c | 353 usb_fill_control_urb(rts51x->current_urb, rts51x->pusb_dev, pipe, in rts51x_ctrl_transfer() 356 result = rts51x_msg_common(chip, rts51x->current_urb, timeout); in rts51x_ctrl_transfer() 359 rts51x->current_urb->actual_length); in rts51x_ctrl_transfer() 799 usb_fill_bulk_urb(chip->usb->current_urb, chip->usb->pusb_dev, pipe, in rts51x_bulk_transfer_buf() 801 result = rts51x_msg_common(chip, chip->usb->current_urb, timeout); in rts51x_bulk_transfer_buf() 805 *act_len = chip->usb->current_urb->actual_length; in rts51x_bulk_transfer_buf() 807 chip->usb->current_urb->actual_length); in rts51x_bulk_transfer_buf()
|
D | rts51x.c | 648 rts51x->current_urb = usb_alloc_urb(0, GFP_KERNEL); in rts51x_acquire_resources() 649 if (!rts51x->current_urb) { in rts51x_acquire_resources() 697 usb_free_urb(chip->usb->current_urb); in rts51x_release_resources()
|
D | rts51x.h | 104 struct urb *current_urb; /* USB requests */ member
|