Home
last modified time | relevance | path

Searched refs:hub (Results 1 – 25 of 31) sorted by relevance

12

/rk3399_rockchip-uboot/common/
H A Dusb_hub.c53 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 Dusb-info.txt85 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 Dxhci.c39 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 Dxhci-mem.c732 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 Dehci-hcd.c42 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 Dusb-uclass.c675 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 Dehci.h256 struct usb_hub_descriptor hub; member
/rk3399_rockchip-uboot/drivers/usb/emul/
H A Dsandbox_hub.c124 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 Dsandbox.dts260 hub {
261 compatible = "sandbox,usb-hub";
273 hub {
274 compatible = "usb-hub";
276 hub-emul {
277 compatible = "sandbox,usb-hub";
H A Dtest.dts441 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 Dusb.c79 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 Dusb.c274 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 Dpuma-rk3399.c254 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 DREADME18 * 2x USB3.0 host, 1x USB2.0 host via onboard USB3.0 hub
/rk3399_rockchip-uboot/board/google/
H A DKconfig18 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 DKconfig24 * on-module USB 3.0 hub (2x USB 3.0 host + 1x USB 2.0 host)
/rk3399_rockchip-uboot/doc/
H A DREADME.generic_usb_ohci32 root hub.
/rk3399_rockchip-uboot/board/ti/omap5_uevm/
H A Devm.c252 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 Dcm_t54.c249 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 Dmusb_hcd.c405 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 Dsun6i-a31-m9.dts213 * Both reg_usb1_vbus and reg_dldo4 need to be on for the hub attached
221 regulator-name = "vcc-usb-hub";
H A Dsun6i-a31-mele-a1000g-quad.dts213 * Both reg_usb1_vbus and reg_dldo4 need to be on for the hub attached
221 regulator-name = "vcc-usb-hub";
H A Dmeson-gxbb-odroidc2.dts245 usb-hub {
249 line-name = "usb-hub-reset";
H A Dsun6i-a31s-sina31s.dts69 /* USB 2.0 4 port hub IC */
/rk3399_rockchip-uboot/include/
H A Dusb.h829 bool usb_hub_is_root_hub(struct udevice *hub);
836 int usb_hub_scan(struct udevice *hub);

12