2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00
linux-next/include/linux/usb
Sarah Sharp 663c30d082 USB: Parse and store the SuperSpeed endpoint companion descriptors.
The USB 3.0 bus specification added an "Endpoint Companion" descriptor that is
supposed to follow all SuperSpeed Endpoint descriptors.  This descriptor is used
to extend the bus protocol to allow more packets to be sent to an endpoint per
"microframe".  The word microframe was removed from the USB 3.0 specification
because the host controller does not send Start Of Frame (SOF) symbols down the
USB 3.0 wires.

The descriptor defines a bMaxBurst field, which indicates the number of packets
of wMaxPacketSize that a SuperSpeed device can send or recieve in a service
interval.  All non-control endpoints may set this value as high as 16 packets
(bMaxBurst = 15).

The descriptor also allows isochronous endpoints to further specify that they
can send and receive multiple bursts per service interval.  The bmAttributes
allows them to specify a "Mult" of up to 3 (bmAttributes = 2).

Bulk endpoints use bmAttributes to report the number of "Streams" they support.
This was an extension of the endpoint pipe concept to allow multiple mass
storage device commands to be outstanding for one bulk endpoint at a time.  This
should allow USB 3.0 mass storage devices to support SCSI command queueing.
Bulk endpoints can say they support up to 2^16 (65,536) streams.

The information in the endpoint companion descriptor must be stored with the
other device, config, interface, and endpoint descriptors because the host
controller needs to access them quickly, and we need to install some default
values if a SuperSpeed device doesn't provide an endpoint companion descriptor.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-06-15 21:44:49 -07:00
..
association.h USB: wusb: annotate association types withe proper endianness 2009-01-07 09:59:51 -08:00
atmel_usba_udc.h
audio.h USB: audio: add USB audio class definitions 2009-06-15 21:44:47 -07:00
c67x00.h
cdc.h usbnet: CDC EEM support (v5) 2009-05-04 12:01:43 -07:00
ch9.h USB: Parse and store the SuperSpeed endpoint companion descriptors. 2009-06-15 21:44:49 -07:00
composite.h USB: composite.h: mark private struct members as private: 2009-06-15 21:44:44 -07:00
ehci_def.h
g_printer.h
gadget.h USB: gpio_vbus: add delayed vbus_session calls 2009-03-24 16:20:26 -07:00
gadgetfs.h headers_check fix: usb/gadgetfs.h 2009-01-30 23:37:37 +05:30
gpio_vbus.h USB: otg: gpio_vbus transceiver stub 2009-01-07 10:00:02 -08:00
input.h
iowarrior.h
irda.h
isp116x.h
Kbuild
langwell_otg.h USB: Add Intel Langwell USB OTG Transceiver Drive 2009-06-15 21:44:47 -07:00
langwell_udc.h USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
midi.h
musb.h USB: musb: Prevent multiple includes of musb.h 2009-04-23 14:15:28 -07:00
net2280.h
otg.h USB: nop-usb-xceiv: behave when linked as a module 2009-06-15 21:44:40 -07:00
quirks.h USB: add quirk to avoid config and interface strings 2009-03-24 16:20:25 -07:00
r8a66597.h USB: r8a66597-hcd: use platform_data instead of module_param 2009-06-15 21:44:46 -07:00
rndis_host.h rndis: remove private wrapper of __constant_cpu_to_le32 2009-02-14 22:56:56 -08:00
serial.h USB: usb-serial: replace shutdown with disconnect, release 2009-06-15 21:44:47 -07:00
sl811.h
tmc.h
usbnet.h export usbnet_get_ethernet_addr from usbnet and fixed cdc_ether.c 2009-04-21 01:55:59 -07:00
vstusb.h
wusb-wa.h
wusb.h trivial: wusb: Storage class should be before const qualifier 2009-03-30 15:22:03 +02:00