1STRUCT USB_HOST_ENDP(9) Host-Side Data Types and Macro STRUCT USB_HOST_ENDP(9)
2
3
4
6 struct_usb_host_endpoint - host-side endpoint descriptor and queue
7
9 struct usb_host_endpoint {
10 struct usb_endpoint_descriptor desc;
11 struct usb_ss_ep_comp_descriptor ss_ep_comp;
12 struct list_head urb_list;
13 void * hcpriv;
14 struct ep_device * ep_dev;
15 unsigned char * extra;
16 int extralen;
17 int enabled;
18 };
19
21 desc
22 descriptor for this endpoint, wMaxPacketSize in native byteorder
23
24 ss_ep_comp
25 SuperSpeed companion descriptor for this endpoint
26
27 urb_list
28 urbs queued to this endpoint; maintained by usbcore
29
30 hcpriv
31 for use by HCD; typically holds hardware dma queue head (QH) with
32 one or more transfer descriptors (TDs) per urb
33
34 ep_dev
35 ep_device for sysfs info
36
37 extra
38 descriptors following this endpoint in the configuration
39
40 extralen
41 how many bytes of “extra” are valid
42
43 enabled
44 URBs may be submitted to this endpoint
45
47 USB requests are always queued to a given endpoint, identified by a
48 descriptor within an active interface in a given USB configuration.
49
51Kernel Hackers Manual 2.6. November 2011 STRUCT USB_HOST_ENDP(9)