1USB_FILL_BULK_URB(9)    Host-Side Data Types and Macro    USB_FILL_BULK_URB(9)
2
3
4

NAME

6       usb_fill_bulk_urb - macro to help initialize a bulk urb
7

SYNOPSIS

9       void usb_fill_bulk_urb(struct urb * urb, struct usb_device * dev,
10                              unsigned int pipe, void * transfer_buffer,
11                              int buffer_length, usb_complete_t complete_fn,
12                              void * context);
13

ARGUMENTS

15       urb
16           pointer to the urb to initialize.
17
18       dev
19           pointer to the struct usb_device for this urb.
20
21       pipe
22           the endpoint pipe
23
24       transfer_buffer
25           pointer to the transfer buffer
26
27       buffer_length
28           length of the transfer buffer
29
30       complete_fn
31           pointer to the usb_complete_t function
32
33       context
34           what to set the urb context to.
35

DESCRIPTION

37       Initializes a bulk urb with the proper information needed to submit it
38       to a device.
39
41Kernel Hackers Manual 3.10         June 2019              USB_FILL_BULK_URB(9)
Impressum