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

NAME

6       usb_fill_control_urb - initializes a control urb
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

41       Initializes a control urb with the proper information needed to submit
42       it to a device.
43
45Kernel Hackers Manual 2.6.         June 2019           USB_FILL_CONTROL_URB(9)
Impressum