Home
last modified time | relevance | path

Searched +full:usb +full:- +full:hub (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/Linux-v6.1/drivers/usb/misc/
Donboard_usb_hub.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for onboard USB hubs
23 #include <linux/usb.h>
24 #include <linux/usb/hcd.h>
25 #include <linux/usb/onboard_hub.h>
52 static int onboard_hub_power_on(struct onboard_hub *hub) in onboard_hub_power_on() argument
56 err = regulator_enable(hub->vdd); in onboard_hub_power_on()
58 dev_err(hub->dev, "failed to enable regulator: %d\n", err); in onboard_hub_power_on()
62 fsleep(hub->pdata->reset_us); in onboard_hub_power_on()
63 gpiod_set_value_cansleep(hub->reset_gpio, 0); in onboard_hub_power_on()
[all …]
Donboard_usb_hub_pdevs.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * API for creating and destroying USB onboard hub platform devices
15 #include <linux/usb.h>
16 #include <linux/usb/hcd.h>
17 #include <linux/usb/of.h>
18 #include <linux/usb/onboard_hub.h>
33 * onboard_hub_create_pdevs -- create platform devices for onboard USB hubs
34 * @parent_hub : parent hub to scan for connected onboard hubs
35 * @pdev_list : list of onboard hub platform devices owned by the parent hub
37 * Creates a platform device for each supported onboard hub that is connected to
[all …]
Dusb4604.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for SMSC USB4604 USB HSIC 4-port 2.0 hub controller driver
6 * Copyright (c) 2012-2013 Dongjin Kim (tobetter@gmail.com)
28 static void usb4604_reset(struct usb4604 *hub, int state) in usb4604_reset() argument
30 gpiod_set_value_cansleep(hub->gpio_reset, state); in usb4604_reset()
37 static int usb4604_connect(struct usb4604 *hub) in usb4604_connect() argument
39 struct device *dev = hub->dev; in usb4604_connect()
44 usb4604_reset(hub, 1); in usb4604_connect()
48 usb4604_reset(hub, 0); in usb4604_connect()
52 hub->mode = USB4604_MODE_HUB; in usb4604_connect()
[all …]
Dusb251xb.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller
9 * a not-accepted patch by Fabien Lahoudere, see:
110 #define DRIVER_DESC "Microchip USB 2.0 Hi-Speed Hub Controller"
234 if (dev->type == &i2c_adapter_type) { in usb251xb_check_dev_children()
242 static int usb251x_check_gpio_chip(struct usb251xb *hub) in usb251x_check_gpio_chip() argument
244 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); in usb251x_check_gpio_chip()
245 struct i2c_adapter *adap = hub->i2c->adapter; in usb251x_check_gpio_chip()
248 if (!hub->gpio_reset) in usb251x_check_gpio_chip()
252 return -EINVAL; in usb251x_check_gpio_chip()
[all …]
/Linux-v6.1/include/uapi/linux/usb/
Dch11.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * This file holds Hub protocol constants and data structures that are
4 * defined in chapter 11 (Hub Specification) of the USB 2.0 specification.
6 * It is used/shared between the USB core, the HCDs and couple of other USB
16 * From USB 2.0 spec Table 11-13, offset 7, a hub can
19 * Current Wireless USB host hardware (Intel i1480 for example) allows
21 * limit. Because the arrays need to add a bit for hub status data, we
26 /* See USB 3.1 spec Table 10-5 */
30 * Hub request types
37 * Port status type for GetPortStatus requests added in USB 3.1
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dusb251xb.txt1 Microchip USB 2.0 Hi-Speed Hub Controller
3 The device node for the configuration of a Microchip USB251x/xBi USB 2.0
4 Hi-Speed Controller.
7 - compatible : Should be "microchip,usb251xb" or one of the specific types:
11 - reg : I2C address on the selected bus (default is <0x2C>)
14 - reset-gpios : Should specify the gpio for hub reset
15 - vdd-supply : Should specify the phandle to the regulator supplying vdd
16 - skip-config : Skip Hub configuration, but only send the USB-Attach command
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
[all …]
Daspeed,usb-vhub.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/usb/aspeed,usb-vhub.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: ASPEED USB 2.0 Virtual Hub Controller
11 - Benjamin Herrenschmidt <benh@kernel.crashing.org>
14 The ASPEED USB 2.0 Virtual Hub Controller implements 1 set of USB Hub
16 the Virtual Hub's downstream USB devices.
19 revisions. AST2400 and AST2500 Virtual Hub supports 5 downstream devices
20 and 15 generic endpoints, while AST2600 Virtual Hub supports 7 downstream
[all …]
Drealtek,rts5411.yaml1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/usb/realtek,rts5411.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Binding for the Realtek RTS5411 USB 3.0 hub controller
10 - Matthias Kaehlcke <mka@chromium.org>
13 - $ref: usb-device.yaml#
18 - enum:
19 - usbbda,5411
20 - usbbda,411
[all …]
Dti,usb8041.yaml1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/usb/ti,usb8041.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Binding for the TI USB8041 USB 3.0 hub controller
10 - Alexander Stein <alexander.stein@ew.tq-group.com>
13 - $ref: usb-device.yaml#
18 - usb451,8140
19 - usb451,8142
23 reset-gpios:
[all …]
Dusb-device.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/usb-device.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: The device tree bindings for the Generic USB Device
10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 Usually, we only use device tree for hard wired USB device.
15 http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps
17 Four types of device-tree nodes are defined: "host-controller nodes"
18 representing USB host controllers, "device nodes" representing USB devices,
[all …]
Dsmsc,usb3503.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/smsc,usb3503.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SMSC USB3503 High-Speed Hub Controller
10 - Dongjin Kim <tobetter@gmail.com>
15 - smsc,usb3503
16 - smsc,usb3503a
21 connect-gpios:
26 intn-gpios:
[all …]
/Linux-v6.1/drivers/usb/core/
Dusb-acpi.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB-ACPI glue code
8 #include <linux/usb.h>
14 #include <linux/usb/hcd.h>
16 #include "hub.h"
19 * usb_acpi_power_manageable - check whether usb port has
21 * @hdev: USB device belonging to the usb hub
41 * usb_acpi_set_power_state - control usb port's power via acpi power
43 * @hdev: USB device belonging to the usb hub
47 * Notice to use usb_acpi_power_manageable() to check whether the usb port
[all …]
Dhub.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB hub driver.
23 #include <linux/usb.h>
25 #include <linux/usb/hcd.h>
26 #include <linux/usb/onboard_hub.h>
27 #include <linux/usb/otg.h>
28 #include <linux/usb/quirks.h>
39 #include "hub.h"
54 /* Protect struct usb_device->state and ->children members
55 * Note: Both are also protected by ->dev.sem, except that ->state can
[all …]
Dhub.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * usb hub driver head file
14 #include <linux/usb.h>
15 #include <linux/usb/ch11.h>
16 #include <linux/usb/hcd.h>
17 #include "usb.h"
28 struct usb_hub_status hub; member
48 #if USB_MAXCHILDREN > 31 /* 8*sizeof(unsigned long) - 1 */
80 * struct usb port - kernel's representation of a usb port
81 * @child: usb device attached to the port
[all …]
Dof.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/usb/of.h>
15 * usb_of_get_device_node() - get a USB device node
16 * @hub: hub to which device is connected
17 * @port1: one-based index of port
19 * Look up the node of a USB device given its parent hub device and one-based
25 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() argument
30 for_each_child_of_node(hub->dev.of_node, node) { in usb_of_get_device_node()
43 * usb_of_has_combined_node() - determine whether a device has a combined node
44 * @udev: USB device
[all …]
Dhcd.c1 // SPDX-License-Identifier: GPL-2.0+
4 * (C) Copyright Johannes Erdfelt 1999-2001
9 * (C) Copyright David Brownell 2000-2002
23 #include <linux/dma-mapping.h>
37 #include <linux/usb.h>
38 #include <linux/usb/hcd.h>
39 #include <linux/usb/otg.h>
41 #include "usb.h"
45 /*-------------------------------------------------------------------------*/
48 * USB Host Controller Driver framework
[all …]
Dusb.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/usb/core/usb.c
6 * (C) Copyright Johannes Erdfelt 1999-2001
9 * (C) Copyright Deti Fliegl 1999 (new USB architecture)
11 * (C) Copyright David Brownell 2000-2004
14 * (C) Copyright Greg Kroah-Hartman 2002-2003
20 * generic USB things that the real drivers can use..
22 * Think of this as a "USB library" rather than anything else,
35 #include <linux/usb.h>
36 #include <linux/usb/hcd.h>
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/
Dmicrochip,lan95xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: The device tree bindings for the USB Ethernet controllers
10 - Oleksij Rempel <o.rempel@pengutronix.de>
13 Device tree properties for hard wired SMSC95xx compatible USB Ethernet
17 - $ref: ethernet-controller.yaml#
22 - enum:
23 - usb424,9500 # SMSC9500 USB Ethernet Device
24 - usb424,9505 # SMSC9505 USB Ethernet Device
[all …]
/Linux-v6.1/drivers/usb/serial/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 # USB Serial device configuration
7 tristate "USB Serial Converter support"
10 Say Y here if you have a USB device that provides normal serial
12 your USB bus.
14 Please read <file:Documentation/usb/usb-serial.rst> for more
24 bool "USB Serial Console device support"
27 If you say Y here, it will be possible to use a USB to serial
41 kernel will automatically use the first USB to serial converter
47 bool "USB Generic Serial Driver"
[all …]
Dio_usbvend.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * USBVEND.H Vendor-specific USB definitions
7 * must be kept backward-compatible with older firmware.
25 // Definitions of USB product IDs
33 // Definitions of USB product IDs (PID)
34 // We break the USB-defined PID into an OEM Id field (upper 6 bits)
40 // ION-device OEM IDs
50 // ION-device Device IDs
51 // Product IDs - assigned to match middle digit of serial number (No longer true)
62 #define ION_DEVICE_ID_HUB_MASK 0x0080 // This bit in the PID designates a HUB device
[all …]
/Linux-v6.1/include/linux/usb/
Dhcd.h1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2001-2002 by David Brownell
22 * USB Packet IDs (PIDs)
24 #define USB_PID_EXT 0xf0 /* USB 2.0 LPM ECN */
28 #define USB_PID_PING 0xb4 /* USB 2.0 */
30 #define USB_PID_NYET 0x96 /* USB 2.0 */
31 #define USB_PID_DATA2 0x87 /* USB 2.0 */
32 #define USB_PID_SPLIT 0x78 /* USB 2.0 */
37 #define USB_PID_ERR 0x3c /* USB 2.0: handshake mode */
40 #define USB_PID_MDATA 0x0f /* USB 2.0 */
[all …]
/Linux-v6.1/Documentation/driver-api/usb/
Dpower-management.rst1 .. _usb-power-management:
3 Power Management for USB
7 :Date: Last-updated: February 2014
11 ---------
14 * When is a USB device idle?
17 * Changing the default idle-delay time
25 * USB Port Power Control
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
37 ``resumed`` (returned to a functional full-power state) when the kernel
[all …]
Dusb.rst1 .. _usb-hostside-api:
4 The Linux-USB Host Side API
7 Introduction to USB on Linux
10 A Universal Serial Bus (USB) is used to connect a host, such as a PC or
11 workstation, to a number of peripheral devices. USB uses a tree
14 support several such trees of USB devices, usually
15 a few USB 3.0 (5 GBit/s) or USB 3.1 (10 GBit/s) and some legacy
16 USB 2.0 (480 MBit/s) busses just in case.
18 That master/slave asymmetry was designed-in for a number of reasons, one
22 distributed auto-configuration since the pre-designated master node
[all …]
/Linux-v6.1/arch/arm64/boot/dts/amlogic/
Dmeson-sm1-odroid-c4.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-sm1-odroid.dtsi"
11 compatible = "hardkernel,odroid-c4", "amlogic,sm1";
12 model = "Hardkernel ODROID-C4";
15 compatible = "gpio-leds";
17 led-blue {
21 linux,default-trigger = "heartbeat";
22 panic-indicator;
27 model = "ODROID-C4";
[all …]
/Linux-v6.1/Documentation/usb/
Dacm.rst23 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 Should you need to contact me, the author, you can do so either by e-mail -
34 The drivers/usb/class/cdc-acm.c drivers works with USB modems and USB ISDN terminal
36 Abstract Control Model (USB CDC ACM) specification.
40 - 3Com OfficeConnect 56k
41 - 3Com Voice FaxModem Pro
42 - 3Com Sportster
43 - MultiTech MultiModem 56k
44 - Zoom 2986L FaxModem
45 - Compaq 56k FaxModem
[all …]

12345678910>>...13