| /linux/Documentation/devicetree/bindings/usb/ | 
| H A D | nvidia,tegra124-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra124-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Thierry Reding <thierry.reding@gmail.com> 11   - Jon Hunter <jonathanh@nvidia.com> 20       - description: NVIDIA Tegra124 21         const: nvidia,tegra124-xusb 23       - description: NVIDIA Tegra132 25           - const: nvidia,tegra132-xusb [all …] 
 | 
| H A D | nvidia,tegra-xudc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra-xudc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   The Tegra XUDC controller supports both USB 2.0 HighSpeed/FullSpeed and 11   USB 3.0 SuperSpeed protocols. 14   - Nagarjuna Kristam <nkristam@nvidia.com> 15   - JC Kuo <jckuo@nvidia.com> 16   - Thierry Reding <treding@nvidia.com> 21       - enum: [all …] 
 | 
| H A D | mediatek,mtk-xhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/mediatek,mtk-xhci.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11   - Chunfeng Yun <chunfeng.yun@mediatek.com> 14   - $ref: usb-xhci.yaml 19   case 2: supports dual-role mode, and the host is based on xHCI driver. 25       - enum: 26           - mediatek,mt2701-xhci 27           - mediatek,mt2712-xhci [all …] 
 | 
| H A D | mediatek,mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/mediatek,mtu3.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11   - Chunfeng Yun <chunfeng.yun@mediatek.com> 14   - $ref: usb-drd.yaml 23       - enum: 24           - mediatek,mt2712-mtu3 25           - mediatek,mt8173-mtu3 26           - mediatek,mt8183-mtu3 [all …] 
 | 
| H A D | snps,dwc3-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/snps,dwc3-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Felipe Balbi <balbi@kernel.org> 14   vendor-specific implementation or as a standalone component. 17   - $ref: usb-drd.yaml# 18   - if: 24         - dr_mode 26       $ref: usb.yaml# [all …] 
 | 
| H A D | usb-switch-ports.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-switch-ports.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: USB Orientation and Mode Switches Ports Graph Properties 10   - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13   Ports Graph properties for devices handling USB mode and orientation switching. 17     $ref: /schemas/graph.yaml#/$defs/port-base 24         $ref: /schemas/graph.yaml#/$defs/endpoint-base 27           data-lanes: [all …] 
 | 
| H A D | nxp,ptn36502.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/nxp,ptn36502.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver 10   - Luca Weiss <luca.weiss@fairphone.com> 15       - nxp,ptn36502 20   vdd18-supply: 23   orientation-switch: true 24   retimer-switch: true [all …] 
 | 
| H A D | nvidia,tegra194-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra194-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Thierry Reding <thierry.reding@gmail.com> 11   - Jon Hunter <jonathanh@nvidia.com> 18     const: nvidia,tegra194-xusb 22       - description: base and length of the xHCI host registers 23       - description: base and length of the XUSB FPCI registers 25   reg-names: [all …] 
 | 
| H A D | nvidia,tegra186-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra186-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Thierry Reding <thierry.reding@gmail.com> 11   - Jon Hunter <jonathanh@nvidia.com> 18     const: nvidia,tegra186-xusb 22       - description: base and length of the xHCI host registers 23       - description: base and length of the XUSB FPCI registers 25   reg-names: [all …] 
 | 
| H A D | parade,ps8830.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/parade,ps8830.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Parade PS883x USB and DisplayPort Retimer 10   - Abel Vesa <abel.vesa@linaro.org> 15       - items: 16           - const: parade,ps8833 17           - const: parade,ps8830 18       - const: parade,ps8830 [all …] 
 | 
| /linux/drivers/usb/cdns3/ | 
| H A D | cdns3-gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5  * Copyright (C) 2018-2019 Cadence. 6  * Copyright (C) 2017-2018 NXP 14 #include <linux/usb/gadget.h> 15 #include <linux/dma-direction.h> 18  * USBSS-DEV register interface. 23  * struct cdns3_usb_regs - device controller registers. 29  * @usb_ien:       USB Interrupt Enable. 30  * @usb_ists:      USB Interrupt Status. 53  * @buf_addr:      Address for On-chip Buffer operations. [all …] 
 | 
| H A D | Kconfig | 2 	tristate "Cadence USB Support" 3 	depends on USB_SUPPORT && (USB || USB_GADGET) && HAS_DMA 8 	  dual-role controller. 9 	  It supports: dual-role switch, Host-only, and Peripheral-only. 17 	tristate "Cadence USB3 Dual-Role Controller" 20 	  Say Y here if your system has a Cadence USB3 dual-role controller. 21 	  It supports: dual-role switch, Host-only, and Peripheral-only. 34 	  Cadence USBSS-DEV driver. 36 	  This controller supports FF, HS and SS mode. It doesn't support 41 	depends on USB=y || USB=USB_CDNS3 [all …] 
 | 
| /linux/Documentation/devicetree/bindings/phy/ | 
| H A D | qcom,ipq806x-usb-phy-ss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm ipq806x usb DWC3 SS PHY CONTROLLER 10   - Ansuel Smith <ansuelsmth@gmail.com> 13   DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer 19     const: qcom,ipq806x-usb-phy-ss 21   "#phy-cells": 31   clock-names: [all …] 
 | 
| H A D | nvidia,tegra210-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra210-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Thierry Reding <thierry.reding@gmail.com> 11   - Jon Hunter <jonathanh@nvidia.com> 21   Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22   super-speed USB. Other lanes are for various types of low-speed, full-speed 23   or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24   contains a software-configurable mux that sits between the I/O controller [all …] 
 | 
| H A D | transmit-amplitude.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/transmit-amplitude.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   Binding describing the peak-to-peak transmit amplitude for common PHYs 14   - Marek Behún <kabel@kernel.org> 17   tx-p2p-microvolt: 19       Transmit amplitude voltages in microvolts, peak-to-peak. If this property 21       'tx-p2p-microvolt-names' property must be provided and contain 24   tx-p2p-microvolt-names: [all …] 
 | 
| H A D | qcom,usb-ss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,usb-ss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY 10   - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 13   Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY 18       - qcom,usb-ss-28nm-phy 23   "#phy-cells": 28       - description: rpmcc clock [all …] 
 | 
| H A D | nvidia,tegra124-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Thierry Reding <thierry.reding@gmail.com> 11   - Jon Hunter <jonathanh@nvidia.com> 21   Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22   super-speed USB. Other lanes are for various types of low-speed, full-speed 23   or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24   contains a software-configurable mux that sits between the I/O controller [all …] 
 | 
| H A D | qcom-usb-ipq4019-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom-usb-ipq4019-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcom IPQ40xx Dakota HS/SS USB PHY 10   - Robert Marko <robert.marko@sartura.hr> 15       - qcom,usb-ss-ipq4019-phy 16       - qcom,usb-hs-ipq4019-phy 24   reset-names: 26       - const: por_rst [all …] 
 | 
| /linux/drivers/usb/gadget/function/ | 
| H A D | f_sourcesink.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3  * f_sourcesink.c - USB peripheral source/sink configuration driver 5  * Copyright (C) 2003-2008 David Brownell 15 #include <linux/usb/composite.h> 16 #include <linux/usb/func_utils.h> 22  * SOURCE/SINK FUNCTION ... a primary testing vehicle for USB peripheral 30  * plus two that support control-OUT tests.  If the optional "autoresume" 32  * test harness from USB-IF. 58 /*-------------------------------------------------------------------------*/ 271 /* function-specific strings: */ [all …] 
 | 
| /linux/drivers/usb/storage/ | 
| H A D | onetouch.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3  * Support for the Maxtor OneTouch USB hard drive's button 18 #include <linux/usb/input.h> 19 #include "usb.h" 23 #define DRV_NAME "ums-onetouch" 25 MODULE_DESCRIPTION("Maxtor USB OneTouch hard drive button driver"); 33 static int onetouch_connect_input(struct us_data *ss); 40 	struct usb_device *udev;	/* usb device */ 62 MODULE_DEVICE_TABLE(usb, onetouch_usb_ids); 90 	struct usb_onetouch *onetouch = urb->context;  in usb_onetouch_irq() [all …] 
 | 
| /linux/drivers/usb/gadget/ | 
| H A D | config.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3  * usb/gadget/config.c -- simplify building config descriptors 16 #include <linux/usb/ch9.h> 17 #include <linux/usb/gadget.h> 18 #include <linux/usb/composite.h> 19 #include <linux/usb/otg.h> 22  * usb_descriptor_fillbuf - fill buffer with descriptors 40 		return -EINVAL;  in usb_descriptor_fillbuf() 44 		unsigned		len = (*src)->bLength;  in usb_descriptor_fillbuf() 47 			return -EINVAL;  in usb_descriptor_fillbuf() [all …] 
 | 
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: ISC 13 	  This adds support for MT7921E 802.11ax 2x2:2SS wireless devices. 24 	  This adds support for MT7921S 802.11ax 2x2:2SS wireless devices. 29 	tristate "MediaTek MT7921U (USB) support" 33 	depends on USB 35 	  This adds support for MT7921U 802.11ax 2x2:2SS wireless devices.
  | 
| /linux/drivers/net/wireless/mediatek/mt76/mt76x2/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 	  This adds support for MT7612/MT7602/MT7662-based PCIe wireless 14 	  2SS to 866Mbit/s PHY rate. 19 	tristate "MediaTek MT76x2U (USB) support" 23 	depends on USB 25 	  This adds support for MT7612U-based USB 3.0 wireless dongles, 26 	  which comply with IEEE 802.11ac standards and support 2SS to
  | 
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: ISC 13 	  This adds support for MT7925-based wireless PCIe devices, 15 	  2x2:2SS 4096-QAM, 160MHz channels. 20 	tristate "MediaTek MT7925U (USB) support" 24 	depends on USB 26 	  This adds support for MT7925-based wireless USB devices, 28 	  2x2:2SS 4096-QAM, 160MHz channels.
  | 
| /linux/drivers/usb/gadget/legacy/ | 
| H A D | audio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3  * audio.c -- Audio gadget driver 13 #include <linux/usb/composite.h> 15 #define DRIVER_DESC		"Linux USB Audio Gadget" 23 /* Playback(USB-IN) Default Stereo - Fl/Fr */ 39 /* Playback bInterval for HS/SS (1-4: fixed, 0: auto) */ 43 		"Playback bInterval for HS/SS (1-4: fixed, 0: auto)"); 45 /* Capture(USB-OUT) Default Stereo - Fl/Fr */ 61 /* capture bInterval for HS/SS (1-4: fixed, 0: auto) */ 65 		"Capture bInterval for HS/SS (1-4: fixed, 0: auto)"); [all …] 
 |