/u-boot/common/ |
A D | usb_hub.c | 170 dev = hub->pusb_dev; in usb_hub_power_on() 210 hub->connect_timeout = hub->query_delay + 1000; in usb_hub_power_on() 437 hub = usb_scan->hub; in usb_scan_port() 610 return hub; in usb_get_hub_device() 625 if (hub == NULL) in usb_hub_configure() 627 hub->pusb_dev = dev; in usb_hub_configure() 712 hub->tt.multi = true; in usb_hub_configure() 809 hub->hub_depth = -1; in usb_hub_configure() 820 hub->hub_depth = depth; in usb_hub_configure() 839 usb_hub_power_on(hub); in usb_hub_configure() [all …]
|
/u-boot/doc/driver-model/ |
A D | usb-info.rst | 121 root hub attached to it. This hub, which is itself a USB device, can provide 177 are attached to a parent hub (or controller in the case of the root hub) and 258 - hub power is enabled 264 device ready for use. If it is a hub, it will scan that hub before it 266 - once all hub ports are scanned in this way, the hub is ready for use and 276 - hub scanning happens automatically after a hub is probed 360 hub { 361 compatible = "usb-hub"; 363 hub-emul { 364 compatible = "sandbox,usb-hub"; [all …]
|
/u-boot/drivers/usb/emul/ |
A D | sandbox_hub.c | 122 static struct udevice *hub_find_device(struct udevice *hub, int port, in hub_find_device() argument 129 for (device_find_first_child(hub, &dev); in hub_find_device() 161 static int clrset_post_state(struct udevice *hub, int port, int clear, int set) in clrset_post_state() argument 163 struct sandbox_hub_priv *priv = dev_get_priv(hub); in clrset_post_state() 170 struct udevice *dev = hub_find_device(hub, port, &speed); in clrset_post_state()
|
/u-boot/drivers/usb/host/ |
A D | xhci.c | 45 struct usb_hub_descriptor hub; member 995 srcptr = &descriptor.hub; in xhci_submit_root() 1256 descriptor.hub.bNbrPorts = HCS_MAX_PORTS(reg); in xhci_lowlevel_init() 1395 struct udevice *hub; in xhci_submit_control_msg() local 1400 hub = udev->dev; in xhci_submit_control_msg() 1403 if (usb_hub_is_root_hub(hub)) { in xhci_submit_control_msg() 1406 while (!usb_hub_is_root_hub(hub->parent)) in xhci_submit_control_msg() 1407 hub = hub->parent; in xhci_submit_control_msg() 1408 uhop = dev_get_parent_priv(hub); in xhci_submit_control_msg() 1487 if (hub->tt.multi) in xhci_update_hub_device() [all …]
|
A D | usb-uclass.c | 515 static ofnode usb_get_ofnode(struct udevice *hub, int port) in usb_get_ofnode() argument 520 if (!dev_has_ofnode(hub)) in usb_get_ofnode() 531 return dev_ofnode(hub); in usb_get_ofnode() 533 ofnode_for_each_subnode(node, dev_ofnode(hub)) { in usb_get_ofnode() 733 struct udevice *hub; in usb_detect_change() local 742 uclass_foreach_dev(hub, uc) { in usb_detect_change() 746 if (!device_active(hub)) in usb_detect_change() 748 for (device_find_first_child(hub, &dev); in usb_detect_change()
|
A D | xhci-mem.c | 738 struct usb_hub_device *hub; in xhci_setup_addressable_virt_dev() local 756 hub = dev_get_uclass_priv(dev->dev); in xhci_setup_addressable_virt_dev() 767 route |= port_num << (hub->hub_depth * 4); in xhci_setup_addressable_virt_dev() 810 hub = dev_get_uclass_priv(dev->dev); in xhci_setup_addressable_virt_dev() 811 if (hub->tt.multi) in xhci_setup_addressable_virt_dev()
|
A D | ehci-hcd.c | 46 struct usb_hub_descriptor hub; member 782 srcptr = &descriptor.hub; in ehci_submit_root() 783 srclen = descriptor.hub.bLength; in ehci_submit_root() 1097 descriptor.hub.bNbrPorts = HCS_N_PORTS(reg); in ehci_common_init() 1098 debug("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts); in ehci_common_init() 1101 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in ehci_common_init() 1102 | 0x80, &descriptor.hub.wHubCharacteristics); in ehci_common_init() 1105 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in ehci_common_init() 1106 | 0x01, &descriptor.hub.wHubCharacteristics); in ehci_common_init()
|
/u-boot/test/dm/ |
A D | usb.c | 106 struct udevice *hub; in count_usb_devices() local 115 uclass_foreach_dev(hub, uc) { in count_usb_devices() 119 for (device_find_first_child(hub, &dev); in count_usb_devices()
|
/u-boot/arch/sandbox/dts/ |
A D | sandbox.dtsi | 312 hub { 313 compatible = "sandbox,usb-hub"; 325 hub { 326 compatible = "usb-hub"; 328 hub-emul { 329 compatible = "sandbox,usb-hub";
|
A D | test.dts | 1067 hub { 1068 compatible = "sandbox,usb-hub"; 1080 hub { 1081 compatible = "usb-hub"; 1085 hub-emul { 1086 compatible = "sandbox,usb-hub";
|
/u-boot/cmd/ |
A D | usb.c | 275 struct udevice *hub; in usb_find_device() local 285 uclass_foreach_dev(hub, uc) { in usb_find_device() 288 if (!device_active(hub)) in usb_find_device() 290 udev = dev_get_parent_priv(hub); in usb_find_device() 294 for (device_find_first_child(hub, &dev); in usb_find_device() 297 if (!device_active(hub)) in usb_find_device()
|
/u-boot/arch/arm/dts/ |
A D | stm32mp15xx-dhcom-drc02.dts | 38 usb-hub { 66 usb-hub { 70 line-name = "usb-hub-reset";
|
A D | zynq-syzygy-hub.dts | 13 compatible = "opalkelly,syzygy-hub", "xlnx,zynq-7000";
|
A D | meson-sm1-odroid-c4.dts | 365 usb-hub { 369 line-name = "usb-hub-reset"; 488 /* Enable the hub which is connected to this port */
|
A D | sun6i-a31-m9.dts | 206 * Both reg_usb1_vbus and reg_dldo4 need to be on for the hub attached 214 regulator-name = "vcc-usb-hub";
|
A D | sun6i-a31-mele-a1000g-quad.dts | 206 * Both reg_usb1_vbus and reg_dldo4 need to be on for the hub attached 214 regulator-name = "vcc-usb-hub";
|
A D | imx6qdl-hummingboard2.dtsi | 114 /* USB hub port 1 */ 128 /* USB hub port 3 */ 142 /* USB hub port 4 */
|
A D | meson-g12b-odroid-n2.dtsi | 453 usb-hub { 457 line-name = "usb-hub-reset"; 623 /* Enable the hub which is connected to this port */
|
A D | omap5-uevm.dts | 185 hub@2 {
|
A D | meson-gxbb-odroidc2.dts | 220 usb-hub { 224 line-name = "usb-hub-reset";
|
/u-boot/doc/board/actions/ |
A D | cubieboard7.rst | 45 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 46 Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 48 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
|
/u-boot/configs/ |
A D | syzygy_hub_defconfig | 14 CONFIG_DEFAULT_DEVICE_TREE="zynq-syzygy-hub"
|
/u-boot/doc/ |
A D | README.generic_usb_ohci | 32 root hub.
|
/u-boot/board/google/ |
A D | Kconfig | 30 SDRAM. It has a Panther Point platform controller hub, PCIe 52 Lynx Point platform controller hub, PCIe WiFi and Bluetooth. It also
|
/u-boot/drivers/usb/musb/ |
A D | musb_hcd.c | 400 u8 hub; in config_hub_port() local 410 hub = dev->parent->devnum; in config_hub_port() 417 writeb(hub, &musbr->tar[ep].txhubaddr); in config_hub_port() 419 writeb(hub, &musbr->tar[ep].rxhubaddr); in config_hub_port()
|