Searched refs:rhub (Results 1 – 9 of 9) sorted by relevance
287 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local289 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()290 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()302 portsc = xhci_portsc_readl(rhub->ports[i]); in xhci_usb2_hub_descriptor()341 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local343 rhub = &xhci->usb3_rhub; in xhci_usb3_hub_descriptor()344 ports = rhub->num_ports; in xhci_usb3_hub_descriptor()359 portsc = xhci_portsc_readl(rhub->ports[i]); in xhci_usb3_hub_descriptor()555 hcd = port->rhub->hcd; in xhci_disable_port()652 hcd = port->rhub->hcd; in xhci_set_port_power()[all …]
1074 struct xhci_hub *rhub; in xhci_find_rhub_port() local1086 rhub = xhci_get_rhub(hcd); in xhci_find_rhub_port()1087 return rhub->ports[top_dev->portnum - 1]; in xhci_find_rhub_port()2023 struct xhci_hub *rhub; in xhci_add_in_port() local2032 rhub = &xhci->usb3_rhub; in xhci_add_in_port()2052 rhub = &xhci->usb2_rhub; in xhci_add_in_port()2111 rhub->maj_rev = major_revision; in xhci_add_in_port()2113 if (rhub->min_rev < minor_revision) in xhci_add_in_port()2114 rhub->min_rev = minor_revision; in xhci_add_in_port()2131 if (hw_port->rhub) { in xhci_add_in_port()[all …]
535 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local540 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()543 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()554 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()908 port->slot_id, port->rhub->hcd->self.busnum, in xhci_pci_poweroff_late()920 port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late()
2136 struct xhci_hub *rhub; in tegra_xhci_enable_phy_sleepwalk_wake() local2141 rhub = &xhci->usb3_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()2143 rhub = &xhci->usb2_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()2158 if (index >= rhub->num_ports) in tegra_xhci_enable_phy_sleepwalk_wake()2164 portsc = xhci_portsc_readl(rhub->ports[index]); in tegra_xhci_enable_phy_sleepwalk_wake()2775 struct xhci_hub *rhub; in tegra_xhci_hub_control() local2784 rhub = &xhci->usb2_rhub; in tegra_xhci_hub_control()2785 bus_state = &rhub->bus_state; in tegra_xhci_hub_control()2787 ports = rhub->ports; in tegra_xhci_hub_control()2788 i = rhub->num_ports; in tegra_xhci_hub_control()[all …]
348 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()389 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_portli_show()395 if (port->rhub == &xhci->usb3_rhub) in xhci_portli_show()
373 struct xhci_hub *rhub; in compliance_mode_recovery() local378 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()379 hcd = rhub->hcd; in compliance_mode_recovery()384 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()385 temp = xhci_portsc_readl(rhub->ports[i]); in compliance_mode_recovery()404 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()896 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument905 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()906 portsc = xhci_portsc_readl(rhub->ports[i]); in xhci_disable_hub_port_wake()919 xhci_portsc_writel(rhub->ports[i], t2); in xhci_disable_hub_port_wake()[all …]
542 __entry->busnum = port->rhub->hcd->self.busnum;
2017 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()2028 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()2034 hcd = port->rhub->hcd; in handle_port_status()2035 bus_state = &port->rhub->bus_state; in handle_port_status()
1478 struct xhci_hub *rhub; member