config_ep_by_speed(9) centos man page | unix.com

Man Page: config_ep_by_speed

Operating Environment: centos

Section: 9

CONFIG_EP_BY_SPEED(9)					      Kernel Mode Gadget API					     CONFIG_EP_BY_SPEED(9)

NAME
config_ep_by_speed - configures the given endpoint according to gadget speed.
SYNOPSIS
int config_ep_by_speed(struct usb_gadget * g, struct usb_function * f, struct usb_ep * _ep);
ARGUMENTS
g pointer to the gadget f usb function _ep the endpoint to configure
RETURN
error code, 0 on success This function chooses the right descriptors for a given endpoint according to gadget speed and saves it in the endpoint desc field. If the endpoint already has a descriptor assigned to it - overwrites it with currently corresponding descriptor. The endpoint maxpacket field is updated according to the chosen descriptor.
NOTE
the supplied function should hold all the descriptors for supported speeds
AUTHOR
David Brownell <dbrownell@users.sourceforge.net> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 CONFIG_EP_BY_SPEED(9)
Related Man Pages
usb_ep_queue(9) - suse
usb_interface_id(9) - suse
struct_usb_composite_dev(9) - centos
struct_usb_function(9) - suse
struct_usb_gadget_driver(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
DB2 convert digits to binary format
CentOS 6 ran out of space, need to reclaim it
Controlling user input
[TIP] Processing YAML files with yq