Home
last modified time | relevance | path

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

12345678910>>...18

/openbmc/linux/drivers/usb/misc/
H A 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>
32 * hub requires more than the currently supported supplies, add a new one here.
65 static int onboard_hub_power_on(struct onboard_hub *hub) in onboard_hub_power_on() argument
69 err = regulator_bulk_enable(hub->pdata->num_supplies, hub->supplies); in onboard_hub_power_on()
71 dev_err(hub->dev, "failed to enable supplies: %d\n", err); in onboard_hub_power_on()
75 fsleep(hub->pdata->reset_us); in onboard_hub_power_on()
[all …]
H A 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 …]
H A 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 …]
/openbmc/linux/include/uapi/linux/usb/
H A 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 * Because the arrays need to add a bit for hub status data, we
24 /* See USB 3.1 spec Table 10-5 */
28 * Hub request types
35 * Port status type for GetPortStatus requests added in USB 3.1
36 * See USB 3.1 spec Table 10-12
[all …]
/openbmc/u-boot/doc/driver-model/
H A Dusb-info.txt1 How USB works with driver model
5 ------------
7 Driver model USB support makes use of existing features but changes how
9 understand how things work with USB in U-Boot when driver model is enabled.
12 Enabling driver model for USB
13 -----------------------------
15 A new CONFIG_DM_USB option is provided to enable driver model for USB. This
16 causes the USB uclass to be included, and drops the equivalent code in
17 usb.c. In particular the usb_init() function is then implemented by the
22 -------------------------
[all …]
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dmicrochip,usb5744.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/microchip,usb5744.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip USB5744 4-port Hub Controller
10 Microchip's USB5744 SmartHubTM IC is a 4 port, SuperSpeed (SS)/Hi-Speed (HS),
11 low power, low pin count configurable and fully compliant with the USB 3.1
13 (LS) USB signaling, offering complete coverage of all defined USB operating
14 speeds. The new SuperSpeed hubs operate in parallel with the USB 2.0
16 USB 2.0 traffic.
[all …]
H A Dusb251xb.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/usb251xb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip USB 2.0 Hi-Speed Hub Controller
10 - Richard Leitner <richard.leitner@skidata.com>
15 - microchip,usb2422
16 - microchip,usb2512b
17 - microchip,usb2512bi
18 - microchip,usb2513b
[all …]
H A 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 …]
H A 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: 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 …]
H A 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: 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 …]
H A Dvialab,vl817.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/usb/vialab,vl817.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Via labs VL817 USB 3.1 hub controller
10 - Anand Moon <linux.amoon@gmail.com>
13 - $ref: usb-device.yaml#
18 - usb2109,2817
19 - usb2109,817
23 reset-gpios:
[all …]
H A Dcypress,hx3.yaml1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/usb/cypress,hx3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cypress HX3 USB 3.0 hub controller family
10 - Benjamin Bara <benjamin.bara@skidata.com>
13 - $ref: usb-device.yaml#
18 - usb4b4,6504
19 - usb4b4,6506
23 reset-gpios:
[all …]
H A 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: 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 …]
H A Dgenesys,gl850g.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Genesys Logic GL850G USB 2.0 hub controller
10 - Icenowy Zheng <uwu@icenowy.me>
13 - $ref: usb-device.yaml#
18 - usb5e3,608
19 - usb5e3,610
20 - usb5e3,620
[all …]
H A 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
17 - smsc,usb3803
22 connect-gpios:
[all …]
/openbmc/u-boot/common/
H A Dusb_hub.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Most of this source has been derived from the Linux USB
6 * (C) Copyright Johannes Erdfelt 1999-2001
9 * (C) Copyright Deti Fliegl 1999 (new USB architecture)
15 * Adapted for U-Boot:
20 * HUB "Driver"
21 * Probes device for being a hub and configurate it
39 #include <usb.h>
49 struct usb_device *dev; /* USB hub device to scan */
50 struct usb_hub_device *hub; /* USB hub struct */ member
[all …]
/openbmc/linux/drivers/usb/core/
H A 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
40 #define UUID_USB_CONTROLLER_DSM "ce2ee385-00e6-48cb-9f05-2edb927c4899"
44 * usb_acpi_port_lpm_incapable - check if lpm should be disabled for a port.
45 * @hdev: USB device belonging to the usb hub
[all …]
H A 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 …]
H A 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/quirk
137 portspeed(struct usb_hub * hub,int portstatus) portspeed() argument
212 usb_set_lpm_mel(struct usb_device * udev,struct usb3_lpm_parameters * udev_lpm_params,unsigned int udev_exit_latency,struct usb_hub * hub,struct usb3_lpm_parameters * hub_lpm_params,unsigned int hub_exit_latency) usb_set_lpm_mel() argument
259 usb_set_lpm_pel(struct usb_device * udev,struct usb3_lpm_parameters * udev_lpm_params,unsigned int udev_exit_latency,struct usb_hub * hub,struct usb3_lpm_parameters * hub_lpm_params,unsigned int hub_exit_latency,unsigned int port_to_port_exit_latency) usb_set_lpm_pel() argument
335 struct usb_hub *hub; usb_set_lpm_parameters() local
487 set_port_led(struct usb_hub * hub,int port1,int selector) set_port_led() argument
502 struct usb_hub *hub = led_work() local
610 hub_ext_port_status(struct usb_hub * hub,int port1,int type,u16 * status,u16 * change,u32 * ext_status) hub_ext_port_status() argument
639 usb_hub_port_status(struct usb_hub * hub,int port1,u16 * status,u16 * change) usb_hub_port_status() argument
646 hub_resubmit_irq_urb(struct usb_hub * hub) hub_resubmit_irq_urb() argument
670 struct usb_hub *hub = from_timer(hub, t, irq_urb_retry); hub_retry_irq_urb() local
676 kick_hub_wq(struct usb_hub * hub) kick_hub_wq() argument
705 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_kick_hub_wq() local
722 struct usb_hub *hub; usb_wakeup_notification() local
743 struct usb_hub *hub = urb->context; hub_irq() local
807 struct usb_hub *hub = hub_tt_work() local
854 usb_hub_set_port_power(struct usb_device * hdev,struct usb_hub * hub,int port1,bool set) usb_hub_set_port_power() argument
930 hub_power_on(struct usb_hub * hub,bool do_delay) hub_power_on() argument
955 hub_hub_status(struct usb_hub * hub,u16 * status,u16 * change) hub_hub_status() argument
975 hub_set_port_link_state(struct usb_hub * hub,int port1,unsigned int link_status) hub_set_port_link_state() argument
988 hub_port_logical_disconnect(struct usb_hub * hub,int port1) hub_port_logical_disconnect() argument
1020 struct usb_hub *hub; usb_remove_device() local
1047 hub_activate(struct usb_hub * hub,enum hub_activation_type type) hub_activate() argument
1322 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); hub_init_func2() local
1329 struct usb_hub *hub = container_of(ws, struct usb_hub, init_work.work); hub_init_func3() local
1338 hub_quiesce(struct usb_hub * hub,enum hub_quiescing_type type) hub_quiesce() argument
1366 hub_pm_barrier_for_all_ports(struct usb_hub * hub) hub_pm_barrier_for_all_ports() argument
1377 struct usb_hub *hub = usb_get_intfdata(intf); hub_pre_reset() local
1388 struct usb_hub *hub = usb_get_intfdata(intf); hub_post_reset() local
1396 hub_configure(struct usb_hub * hub,struct usb_endpoint_descriptor * endpoint) hub_configure() argument
1725 struct usb_hub *hub = container_of(kref, struct usb_hub, kref); hub_release() local
1732 hub_get(struct usb_hub * hub) hub_get() argument
1737 hub_put(struct usb_hub * hub) hub_put() argument
1746 struct usb_hub *hub = usb_get_intfdata(intf); hub_disconnect() local
1816 struct usb_hub *hub; hub_probe() local
1961 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); hub_ioctl() local
1999 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); find_port_owner() local
2048 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_release_all_ports() local
2061 struct usb_hub *hub; usb_device_is_owned() local
2071 struct usb_hub *hub; update_port_device_state() local
2094 struct usb_hub *hub = usb_hub_to_struct_hub(udev); recursively_mark_NOTATTACHED() local
2230 struct usb_hub *hub = usb_hub_to_struct_hub(udev); hub_disconnect_children() local
2261 struct usb_hub *hub = NULL; usb_disconnect() local
2505 struct usb_hub *hub; set_usb_port_removable() local
2640 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_new_device() local
2872 hub_port_warm_reset_required(struct usb_hub * hub,int port1,u16 portstatus) hub_port_warm_reset_required() argument
2888 hub_port_wait_reset(struct usb_hub * hub,int port1,struct usb_device * udev,unsigned int delay,bool warm) hub_port_wait_reset() argument
2985 hub_port_reset(struct usb_hub * hub,int port1,struct usb_device * udev,unsigned int delay,bool warm) hub_port_reset() argument
3144 hub_port_stop_enumerate(struct usb_hub * hub,int port1,int retries) hub_port_stop_enumerate() argument
3169 usb_port_is_power_on(struct usb_hub * hub,unsigned int portstatus) usb_port_is_power_on() argument
3201 port_is_suspended(struct usb_hub * hub,unsigned portstatus) port_is_suspended() argument
3221 check_port_resume_type(struct usb_device * udev,struct usb_hub * hub,int port1,int status,u16 portchange,u16 portstatus) check_port_resume_type() argument
3381 struct usb_hub *hub = usb_hub_to_struct_hub(udev); usb_wakeup_enabled_descendants() local
3438 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_suspend() local
3674 wait_for_connected(struct usb_device * udev,struct usb_hub * hub,int port1,u16 * portchange,u16 * portstatus) wait_for_connected() argument
3730 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_resume() local
3835 hub_handle_remote_wakeup(struct usb_hub * hub,unsigned int port,u16 portstatus,u16 portchange) hub_handle_remote_wakeup() argument
3878 check_ports_changed(struct usb_hub * hub) check_ports_changed() argument
3895 struct usb_hub *hub = usb_get_intfdata(intf); hub_suspend() local
3948 report_wakeup_requests(struct usb_hub * hub) report_wakeup_requests() argument
3983 struct usb_hub *hub = usb_get_intfdata(intf); hub_resume() local
4000 struct usb_hub *hub = usb_get_intfdata(intf); hub_reset_resume() local
4452 struct usb_hub *hub; usb_enable_lpm() local
4502 hub_usb3_port_prepare_disable(struct usb_hub * hub,struct usb_port * port_dev) hub_usb3_port_prepare_disable() argument
4528 hub_usb3_port_prepare_disable(struct usb_hub * hub,struct usb_port * port_dev) hub_usb3_port_prepare_disable() argument
4558 hub_handle_remote_wakeup(struct usb_hub * hub,unsigned int port,u16 portstatus,u16 portchange) hub_handle_remote_wakeup() argument
4576 hub_port_disable(struct usb_hub * hub,int port1,int set_state) hub_port_disable() argument
4608 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_port_disable() local
4628 hub_port_debounce(struct usb_hub * hub,int port1,bool must_be_connected) hub_port_debounce() argument
4686 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); hub_set_address() local
4727 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); hub_set_initial_usb2_lpm_policy() local
4836 hub_port_init(struct usb_hub * hub,struct usb_device * udev,int port1,int retry_counter,struct usb_device_descriptor * dev_descr) hub_port_init() argument
5165 check_highspeed(struct usb_hub * hub,struct usb_device * udev,int port1) check_highspeed() argument
5193 hub_power_remaining(struct usb_hub * hub) hub_power_remaining() argument
5324 hub_port_connect(struct usb_hub * hub,int port1,u16 portstatus,u16 portchange) hub_port_connect() argument
5571 hub_port_connect_change(struct usb_hub * hub,int port1,u16 portstatus,u16 portchange) hub_port_connect_change() argument
5680 port_event(struct usb_hub * hub,int port1) port_event() argument
5808 struct usb_hub *hub; hub_event() local
6241 struct usb_hub *hub = usb_hub_to_struct_hub(udev->parent); usb_reset_device() local
6380 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_find_child() local
6391 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_hub_adjust_deviceremovable() local
6445 struct usb_hub *hub = usb_hub_to_struct_hub(hdev); usb_get_hub_port_acpi_handle() local
[all...]
H A Dof.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/usb/of.h>
14 * usb_of_get_device_node() - get a USB device node
15 * @hub: hub to which device is connected
16 * @port1: one-based index of port
18 * Look up the node of a USB device given its parent hub device and one-based
24 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() argument
29 for_each_child_of_node(hub->dev.of_node, node) { in usb_of_get_device_node()
42 * usb_of_has_combined_node() - determine whether a device has a combined node
43 * @udev: USB device
[all …]
/openbmc/u-boot/include/
H A Dusb.h1 /* SPDX-License-Identifier: GPL-2.0+ */
6 * Adapted for U-Boot driver model
16 #include <linux/usb/ch9.h>
45 * time for a BULK device to react - some are slow.
69 * Companion Descriptor (section 9.6.7 of usb 3.0 spec)
92 * struct usb_device - information about a USB device
94 * With driver model both UCLASS_USB (the USB controllers) and UCLASS_USB_HUB
96 * other hubs and there is always a single root hub for each controller.
98 * dev_get_parent_priv(dev), where dev is a USB device.
105 int devnum; /* Device number on USB bus */
[all …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A 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: Microchip SMSC9500/LAN9530/LAN9730 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 …]
/openbmc/linux/drivers/usb/serial/
H A 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 …]
/openbmc/linux/Documentation/driver-api/usb/
H A 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 …]

12345678910>>...18