Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
atm/ | 18-Mar-2025 | - | 6,931 | 5,099 | ||
c67x00/ | 18-Mar-2025 | - | 2,655 | 1,742 | ||
chipidea/ | 18-Mar-2025 | - | 8,091 | 5,636 | ||
class/ | 18-Mar-2025 | - | 6,477 | 4,893 | ||
common/ | 18-Mar-2025 | - | 1,430 | 1,029 | ||
core/ | 18-Mar-2025 | - | 25,292 | 16,432 | ||
dwc2/ | 18-Mar-2025 | - | 24,095 | 14,752 | ||
dwc3/ | 18-Mar-2025 | - | 13,596 | 9,507 | ||
early/ | 18-Mar-2025 | - | 2,325 | 1,714 | ||
gadget/ | 18-Mar-2025 | - | 133,237 | 95,199 | ||
host/ | 18-Mar-2025 | - | 97,550 | 69,154 | ||
image/ | 18-Mar-2025 | - | 1,981 | 1,320 | ||
isp1760/ | 18-Mar-2025 | - | 4,795 | 3,334 | ||
misc/ | 18-Mar-2025 | - | 24,541 | 18,440 | ||
mon/ | 18-Mar-2025 | - | 2,782 | 2,029 | ||
mtu3/ | 18-Mar-2025 | - | 5,529 | 3,942 | ||
musb/ | 18-Mar-2025 | - | 22,228 | 15,360 | ||
phy/ | 18-Mar-2025 | - | 11,083 | 8,166 | ||
renesas_usbhs/ | 18-Mar-2025 | - | 7,304 | 4,676 | ||
roles/ | 18-Mar-2025 | - | 207 | 143 | ||
serial/ | 18-Mar-2025 | - | 57,726 | 41,201 | ||
storage/ | 18-Mar-2025 | - | 23,105 | 15,221 | ||
typec/ | 18-Mar-2025 | - | 14,006 | 10,760 | ||
usbip/ | 18-Mar-2025 | - | 8,243 | 5,920 | ||
wusbcore/ | 18-Mar-2025 | - | 9,244 | 5,844 | ||
Kconfig | D | 18-Mar-2025 | 5.9 KiB | 213 | 153 | |
Makefile | D | 18-Mar-2025 | 1.7 KiB | 70 | 46 | |
README | D | 18-Mar-2025 | 2.4 KiB | 55 | 43 | |
usb-skeleton.c | D | 18-Mar-2025 | 15.2 KiB | 646 | 444 |
README
1To understand all the Linux-USB framework, you'll use these resources: 2 3 * This source code. This is necessarily an evolving work, and 4 includes kerneldoc that should help you get a current overview. 5 ("make pdfdocs", and then look at "usb.pdf" for host side and 6 "gadget.pdf" for peripheral side.) Also, Documentation/usb has 7 more information. 8 9 * The USB 2.0 specification (from www.usb.org), with supplements 10 such as those for USB OTG and the various device classes. 11 The USB specification has a good overview chapter, and USB 12 peripherals conform to the widely known "Chapter 9". 13 14 * Chip specifications for USB controllers. Examples include 15 host controllers (on PCs, servers, and more); peripheral 16 controllers (in devices with Linux firmware, like printers or 17 cell phones); and hard-wired peripherals like Ethernet adapters. 18 19 * Specifications for other protocols implemented by USB peripheral 20 functions. Some are vendor-specific; others are vendor-neutral 21 but just standardized outside of the www.usb.org team. 22 23Here is a list of what each subdirectory here is, and what is contained in 24them. 25 26core/ - This is for the core USB host code, including the 27 usbfs files and the hub class driver ("hub_wq"). 28 29host/ - This is for USB host controller drivers. This 30 includes UHCI, OHCI, EHCI, and others that might 31 be used with more specialized "embedded" systems. 32 33gadget/ - This is for USB peripheral controller drivers and 34 the various gadget drivers which talk to them. 35 36 37Individual USB driver directories. A new driver should be added to the 38first subdirectory in the list below that it fits into. 39 40image/ - This is for still image drivers, like scanners or 41 digital cameras. 42../input/ - This is for any driver that uses the input subsystem, 43 like keyboard, mice, touchscreens, tablets, etc. 44../media/ - This is for multimedia drivers, like video cameras, 45 radios, and any other drivers that talk to the v4l 46 subsystem. 47../net/ - This is for network drivers. 48serial/ - This is for USB to serial drivers. 49storage/ - This is for USB mass-storage drivers. 50class/ - This is for all USB device drivers that do not fit 51 into any of the above categories, and work for a range 52 of USB Class specified devices. 53misc/ - This is for all USB device drivers that do not fit 54 into any of the above categories. 55