alistair23-linux/drivers/usb
Mathias Nyman c840d6ce77 xhci: create one unified function to calculate TRB TD remainder.
xhci versions 1.0 and later report the untransferred data remaining in a
TD a bit differently than older hosts.

We used to have separate functions for these, and needed to check host
version before calling the right function.

Now Mediatek host has an additional quirk on how it uses the TD Size
field for remaining data. To prevent yet another function for calculating
remainder we instead want to make one quirk friendly unified function.

Tested-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-16 23:34:22 -07:00
..
atm USB: atm: cxacru: fix blank line after declaration 2015-07-22 14:55:22 -07:00
c67x00
chipidea usb: chipidea: imx: fix a typo for imx6sx 2015-09-16 13:45:11 +08:00
class Merge 4.2-rc4 into usb-next 2015-07-27 11:15:16 -07:00
common usb: common: add API to update usb otg capabilities by device tree 2015-07-29 09:59:21 -05:00
core Merge 4.3-rc5 into usb-next 2015-10-12 10:49:33 -07:00
dwc2 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-09-01 18:46:42 -07:00
dwc3 usb: dwc3: gadget: Fix BUG in RT config 2015-09-21 14:42:36 -05:00
early
gadget usb: gadget: bdc: fix memory leak 2015-09-30 11:20:21 -05:00
host xhci: create one unified function to calculate TRB TD remainder. 2015-10-16 23:34:22 -07:00
image
isp1760 usb: isp1760: udc: add ep capabilities support 2015-08-04 12:26:55 -05:00
misc USB: chaoskey read offset bug 2015-10-04 11:01:13 +01:00
mon
musb usb: musb: fix cppi channel teardown for isoch transfer 2015-09-21 14:42:36 -05:00
phy usb: phy: isp1301: Export I2C module alias information 2015-09-21 14:42:36 -05:00
renesas_usbhs usb: renesas_usbhs: Add support for R-Car H3 2015-10-04 10:59:03 +01:00
serial USB: whiteheat: fix potential null-deref at probe 2015-09-23 12:15:19 -07:00
storage USB: rewrite isd200_init_info for readability 2015-10-04 10:51:58 +01:00
usbip usbip: vhci_hcd: at unlink, return -EIDRM if vhci_rx took the urb 2015-10-04 10:59:03 +01:00
wusbcore
Kconfig
Makefile
README
usb-skeleton.c

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("hub_wq").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
../input/	- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
../media/	- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
../net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.