Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_usb_ep(9) [centos man page]

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; unsigned maxpacket: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
driver_data for use by the gadget driver. name identifier for the endpoint, such as "ep-a" or "ep9in-bulk" ops Function pointers used to access hardware-specific operations. ep_list the gadget's ep_list holds all of its endpoints maxpacket The maximum packet size used on this endpoint. The initial value can sometimes be reduced (hardware allowing), according to the endpoint descriptor used to configure the endpoint. max_streams The maximum number of streams supported by this EP (0 - 16, actual number is 2^n) mult multiplier, 'mult' value for SS Isoc EPs maxburst the maximum number of bursts supported by this EP (for usb3) address used to identify the endpoint when finding descriptor that matches connection speed desc endpoint descriptor. This pointer is set before the endpoint is enabled and remains valid until the endpoint is disabled. comp_desc In case of SuperSpeed support, this is the endpoint companion descriptor that is used to configure the endpoint 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> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT USB_EP(9)

Check Out this Related Man Page

UBTBCMFW(4)						   BSD Kernel Interfaces Manual 					       UBTBCMFW(4)

NAME
ubtbcmfw -- Firmware driver for Broadcom BCM2033 chip based Bluetooth USB devices SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device ubtbcmfw Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): ubtbcmfw_load="YES" DESCRIPTION
The ubtbcmfw is a firmware driver for Broadcom BCM2033 chip based Bluetooth USB devices. It provides minimal access to the parts of the device required to download firmware. The ubtbcmfw driver creates three fixed endpoint device nodes. The control transfers can only happen on the control endpoint which is always endpoint 0. Control requests are issued by ioctl(2) calls. Only incoming transfers are supported on an interrupt endpoint. To perform I/O on an interrupt endpoint, read(2) should be used. All I/O operations on an interrupt endpoint are unbuffered. Interrupt endpoint is always endpoint 1. Only outgoing bulk transfers are supported on a bulk endpoint. To perform I/O on a bulk endpoint, write(2) should be used. All I/O opera- tions on a bulk endpoint are unbuffered. Outgoing bulk endpoint is always endpoint 2. The control endpoint (endpoint 0) handles the following ioctl(2) calls: USB_GET_DEVICE_DESC (usb_device_descriptor_t) Return the device descriptor. FILES
/dev/ubtbcmfwN.EE Endpoint EE of device N. SEE ALSO
ng_ubt(4), ugen(4), usb(4), bcmfw(8) HISTORY
The ubtbcmfw driver was implemented in FreeBSD 5.0. AUTHORS
Maksim Yevmenkin <m_evmenkin@yahoo.com> BUGS
Most likely. Please report if found. BSD
November 22, 2006 BSD
Man Page

Featured Tech Videos