WSL2-Linux-Kernel/drivers/usb
Colin Ian King 8af620f06f usb: gadget: udc: renesas_usb3: make const array max_packet_array static
Don't populate the const array max_packet_array on the stack, instead make
it static. Makes the object code smaller by over 90 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
  34337	   5612	    128	  40077	   9c8d	renesas_usb3.o

After:
   text	   data	    bss	    dec	    hex	filename
  34149	   5708	    128	  39985	   9c31	renesas_usb3.o

(gcc version 7.2.0 x86_64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-03 10:12:27 +01:00
..
atm usb: atm: cxacru: mark expected switch fall-throughs 2017-10-27 12:40:54 +02:00
c67x00 USB: c67x00: remove redundant pointer urbp 2017-11-01 17:05:17 +01:00
chipidea usb: chipidea: fix trivial typo in Kconfig 2017-10-26 09:54:43 +08:00
class usb: class: usbtmc: mark expected switch fall-through 2017-10-27 12:40:15 +02:00
common usb: common: use of_property_read_bool() 2017-08-28 11:39:31 +02:00
core USB: core: move existing SPDX tags to top of the file 2017-11-03 10:12:26 +01:00
dwc2 usb: dwc2: Fix UDC state tracking 2017-10-24 12:51:21 +03:00
dwc3 usb: dwc3: core: Notify current USB mode to USB3 PHY as well 2017-10-24 12:51:20 +03:00
early
gadget usb: gadget: udc: renesas_usb3: make const array max_packet_array static 2017-11-03 10:12:27 +01:00
host usb: xhci: tegra: use time64_t for printing timestamp 2017-11-02 19:08:53 +01:00
image usb: image: mdc800: mark expected switch fall-through 2017-11-01 17:01:08 +01:00
isp1760 usb: isp1760: Convert timers to use timer_setup() 2017-11-01 16:57:23 +01:00
misc usb: usb251xb: Use GPIO descriptor consumer interface 2017-11-01 17:14:21 +01:00
mon
mtu3 usb: mtu3: fix dma_addr_t printk output again 2017-11-02 19:08:54 +01:00
musb usb: musb: dsps: remove the duplicated timer 2017-11-01 16:48:10 +01:00
phy usb: phy: remove phy-qcom-8x16-usb.c 2017-11-01 17:08:10 +01:00
renesas_usbhs usb: changes for v4.15 merge window 2017-10-24 14:03:12 +02:00
serial USB-serial updates for v4.15-rc1 2017-11-02 17:42:47 +01:00
storage usb: storage: uas: mark expected switch fall-through 2017-11-01 17:01:06 +01:00
typec usb: typec: tps6598x: mark expected switch fall-through 2017-11-01 16:51:09 +01:00
usbip usb: usbip: Convert timers to use timer_setup() 2017-11-01 16:57:23 +01:00
wusbcore usb: wusbcore: Use put_unaligned_le32 2017-11-01 16:51:09 +01:00
Kconfig usb: Kconfig: clarify use of USB_PCI 2017-11-01 17:16:43 +01:00
Makefile
README
usb-skeleton.c

README

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.