| /rk3399_rockchip-uboot/common/ |
| H A D | usb_hub.c | 53 struct usb_hub_device *hub; /* USB hub struct */ member 60 __weak void usb_hub_reset_devices(struct usb_hub_device *hub, int port) in usb_hub_reset_devices() argument 71 bool usb_hub_is_root_hub(struct udevice *hub) in usb_hub_is_root_hub() argument 73 if (device_get_uclass_id(hub->parent) != UCLASS_USB_HUB) in usb_hub_is_root_hub() 162 static void usb_hub_power_on(struct usb_hub_device *hub) in usb_hub_power_on() argument 166 unsigned pgood_delay = hub->desc.bPwrOn2PwrGood * 2; in usb_hub_power_on() 169 dev = hub->pusb_dev; in usb_hub_power_on() 202 hub->query_delay = get_timer(0) + max(100, (int)pgood_delay); in usb_hub_power_on() 209 hub->connect_timeout = hub->query_delay + 1000; in usb_hub_power_on() 448 struct usb_hub_device *hub; in usb_scan_port() local [all …]
|
| /rk3399_rockchip-uboot/doc/driver-model/ |
| H A D | usb-info.txt | 85 this structure, even the root hub. The controller itself does not 117 root hub attached to it. This hub, which is itself a USB device, can provide 119 possible to power up a hub and find out which of its ports have devices 122 Devices are given addresses starting at 1. The root hub is always address 1, 126 USB devices are enumerated by finding a device on a particular hub, and 140 newer (XHCI). If you connect a super-speed device to a high-speed hub, you 173 are attached to a parent hub (or controller in the case of the root hub) and 200 (only) device that is attached to the controller - a root hub 244 Note that the first device is always a root hub, and this must be scanned to 245 find any devices. The above steps will have created a hub (UCLASS_USB_HUB), [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | xhci.c | 39 struct usb_hub_descriptor hub; member 964 srcptr = &ctrl->hub; in xhci_submit_root() 1225 descriptor.hub.bNbrPorts = ((reg & HCS_MAX_PORTS_MASK) >> in xhci_lowlevel_init() 1227 printf("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts); in xhci_lowlevel_init() 1232 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init() 1233 | 0x80, &descriptor.hub.wHubCharacteristics); in xhci_lowlevel_init() 1237 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init() 1238 | 0x01, &descriptor.hub.wHubCharacteristics); in xhci_lowlevel_init() 1240 memcpy(&ctrl->hub, &descriptor, sizeof(struct usb_hub_descriptor)); in xhci_lowlevel_init() 1366 struct udevice *hub; in xhci_submit_control_msg() local [all …]
|
| H A D | xhci-mem.c | 732 struct usb_hub_device *hub; in xhci_setup_addressable_virt_dev() local 750 hub = dev_get_uclass_priv(dev->dev); in xhci_setup_addressable_virt_dev() 761 route |= port_num << (hub->hub_depth * 4); in xhci_setup_addressable_virt_dev() 804 hub = dev_get_uclass_priv(dev->dev); in xhci_setup_addressable_virt_dev() 805 if (hub->tt.multi) in xhci_setup_addressable_virt_dev()
|
| H A D | ehci-hcd.c | 42 struct usb_hub_descriptor hub; member 734 srcptr = &ctrl->hub; in ehci_submit_root() 735 srclen = ctrl->hub.bLength; in ehci_submit_root() 1045 descriptor.hub.bNbrPorts = HCS_N_PORTS(reg); in ehci_common_init() 1046 debug("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts); in ehci_common_init() 1049 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in ehci_common_init() 1050 | 0x80, &descriptor.hub.wHubCharacteristics); in ehci_common_init() 1053 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in ehci_common_init() 1054 | 0x01, &descriptor.hub.wHubCharacteristics); in ehci_common_init() 1056 memcpy(&ctrl->hub, &descriptor, sizeof(struct usb_hub_descriptor)); in ehci_common_init()
|
| H A D | usb-uclass.c | 675 struct udevice *hub; in usb_detect_change() local 684 uclass_foreach_dev(hub, uc) { in usb_detect_change() 688 if (!device_active(hub)) in usb_detect_change() 690 for (device_find_first_child(hub, &dev); in usb_detect_change()
|
| H A D | ehci.h | 256 struct usb_hub_descriptor hub; member
|
| /rk3399_rockchip-uboot/drivers/usb/emul/ |
| H A D | sandbox_hub.c | 124 static struct udevice *hub_find_device(struct udevice *hub, int port, in hub_find_device() argument 131 for (device_find_first_child(hub, &dev); in hub_find_device() 163 static int clrset_post_state(struct udevice *hub, int port, int clear, int set) in clrset_post_state() argument 165 struct sandbox_hub_priv *priv = dev_get_priv(hub); in clrset_post_state() 172 struct udevice *dev = hub_find_device(hub, port, &speed); in clrset_post_state()
|
| /rk3399_rockchip-uboot/arch/sandbox/dts/ |
| H A D | sandbox.dts | 260 hub { 261 compatible = "sandbox,usb-hub"; 273 hub { 274 compatible = "usb-hub"; 276 hub-emul { 277 compatible = "sandbox,usb-hub";
|
| H A D | test.dts | 441 hub { 442 compatible = "sandbox,usb-hub"; 454 hub { 455 compatible = "usb-hub"; 457 hub-emul { 458 compatible = "sandbox,usb-hub";
|
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | usb.c | 79 struct udevice *hub; in count_usb_devices() local 88 uclass_foreach_dev(hub, uc) { in count_usb_devices() 92 for (device_find_first_child(hub, &dev); in count_usb_devices()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | usb.c | 274 struct udevice *hub; in usb_find_device() local 284 uclass_foreach_dev(hub, uc) { in usb_find_device() 287 if (!device_active(hub)) in usb_find_device() 289 udev = dev_get_parent_priv(hub); in usb_find_device() 293 for (device_find_first_child(hub, &dev); in usb_find_device() 296 if (!device_active(hub)) in usb_find_device()
|
| /rk3399_rockchip-uboot/board/theobroma-systems/puma_rk3399/ |
| H A D | puma-rk3399.c | 254 void usb_hub_reset_devices(struct usb_hub_device *hub, int port) in usb_hub_reset_devices() argument 256 struct udevice *dev = hub->pusb_dev->dev; in usb_hub_reset_devices()
|
| H A D | README | 18 * 2x USB3.0 host, 1x USB2.0 host via onboard USB3.0 hub
|
| /rk3399_rockchip-uboot/board/google/ |
| H A D | Kconfig | 18 SDRAM. It has a Panther Point platform controller hub, PCIe 41 Lynx Point platform controller hub, PCIe WiFi and Bluetooth. It also
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/rk3399/ |
| H A D | Kconfig | 24 * on-module USB 3.0 hub (2x USB 3.0 host + 1x USB 2.0 host)
|
| /rk3399_rockchip-uboot/doc/ |
| H A D | README.generic_usb_ohci | 32 root hub.
|
| /rk3399_rockchip-uboot/board/ti/omap5_uevm/ |
| H A D | evm.c | 252 void usb_hub_reset_devices(struct usb_hub_device *hub, int port) in usb_hub_reset_devices() argument
|
| /rk3399_rockchip-uboot/board/compulab/cm_t54/ |
| H A D | cm_t54.c | 249 void usb_hub_reset_devices(struct usb_hub_device *hub, int port) in usb_hub_reset_devices() argument
|
| /rk3399_rockchip-uboot/drivers/usb/musb/ |
| H A D | musb_hcd.c | 405 u8 hub; in config_hub_port() local 415 hub = dev->parent->devnum; in config_hub_port() 422 writeb(hub, &musbr->tar[ep].txhubaddr); in config_hub_port() 424 writeb(hub, &musbr->tar[ep].rxhubaddr); in config_hub_port()
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | sun6i-a31-m9.dts | 213 * Both reg_usb1_vbus and reg_dldo4 need to be on for the hub attached 221 regulator-name = "vcc-usb-hub";
|
| H A D | sun6i-a31-mele-a1000g-quad.dts | 213 * Both reg_usb1_vbus and reg_dldo4 need to be on for the hub attached 221 regulator-name = "vcc-usb-hub";
|
| H A D | meson-gxbb-odroidc2.dts | 245 usb-hub { 249 line-name = "usb-hub-reset";
|
| H A D | sun6i-a31s-sina31s.dts | 69 /* USB 2.0 4 port hub IC */
|
| /rk3399_rockchip-uboot/include/ |
| H A D | usb.h | 829 bool usb_hub_is_root_hub(struct udevice *hub); 836 int usb_hub_scan(struct udevice *hub);
|