STRUCT USB_EP(9) | Kernel Mode Gadget API | STRUCT USB_EP(9) |
NAME¶
struct_usb_ep - device side representation of USB endpoint
SYNOPSIS¶
struct usb_ep {
void * driver_data;
const char * name;
const struct usb_ep_ops * ops;
struct list_head ep_list;
struct usb_ep_caps caps;
unsigned maxpacket:16;
unsigned maxpacket_limit:16;
unsigned max_streams:16;
unsigned mult:2;
unsigned maxburst:5;
u8 address;
const struct usb_endpoint_descriptor * desc;
const struct usb_ss_ep_comp_descriptor * comp_desc; };
MEMBERS¶
void * driver_data
const char * name
const struct usb_ep_ops * ops
struct list_head ep_list
struct usb_ep_caps caps
unsigned:16 maxpacket
unsigned:16 maxpacket_limit
unsigned:16 max_streams
unsigned:2 mult
unsigned:5 maxburst
u8 address
const struct usb_endpoint_descriptor * desc
const struct usb_ss_ep_comp_descriptor * comp_desc
DESCRIPTION¶
the bus controller driver lists all the general purpose endpoints in gadget->ep_list. the control endpoint (gadget->ep0) is not in that list, and is accessed only in response to a driver setup callback.
AUTHOR¶
David Brownell <dbrownell@users.sourceforge.net>
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |