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()341 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local555 hcd = port->rhub->hcd; in xhci_disable_port()652 hcd = port->rhub->hcd; in xhci_set_port_power()947 hcd = port->rhub->hcd; in xhci_handle_usb2_port_link_resume()1053 hcd = port->rhub->hcd; in xhci_get_usb3_port_status()1225 ports = rhub->ports; in xhci_hub_control()1655 ports = rhub->ports; in xhci_hub_status_data()1729 ports = rhub->ports; in xhci_bus_suspend()[all …]
1045 struct xhci_hub *rhub; in xhci_find_rhub_port() local1983 struct xhci_hub *rhub; in xhci_add_in_port() local1992 rhub = &xhci->usb3_rhub; in xhci_add_in_port()2091 if (hw_port->rhub) { in xhci_add_in_port()2098 if (hw_port->rhub != rhub && in xhci_add_in_port()2105 hw_port->rhub = rhub; in xhci_add_in_port()2107 rhub->num_ports++; in xhci_add_in_port()2119 if (!rhub->num_ports) in xhci_create_rhub_port_array()2121 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(*rhub->ports), in xhci_create_rhub_port_array()2123 if (!rhub->ports) in xhci_create_rhub_port_array()[all …]
510 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local515 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()518 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()529 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()876 port->slot_id, port->rhub->hcd->self.busnum, in xhci_pci_poweroff_late()888 port->rhub->hcd->self.busnum, port->hcd_portnum + 1); in xhci_pci_poweroff_late()
2070 struct xhci_hub *rhub; in tegra_xhci_enable_phy_sleepwalk_wake() local2075 rhub = &xhci->usb3_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()2077 rhub = &xhci->usb2_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()2092 if (index >= rhub->num_ports) in tegra_xhci_enable_phy_sleepwalk_wake()2698 struct xhci_hub *rhub; in tegra_xhci_hub_control() local2707 rhub = &xhci->usb2_rhub; in tegra_xhci_hub_control()2708 bus_state = &rhub->bus_state; in tegra_xhci_hub_control()2710 ports = rhub->ports; in tegra_xhci_hub_control()2711 i = rhub->num_ports; in tegra_xhci_hub_control()2732 ports = rhub->ports; in tegra_xhci_hub_control()[all …]
372 struct xhci_hub *rhub; in compliance_mode_recovery() local377 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()378 hcd = rhub->hcd; in compliance_mode_recovery()383 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()384 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()811 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument820 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()821 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()834 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()4353 struct xhci_hub *rhub; in xhci_find_raw_port_number() local[all …]
348 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
552 __entry->busnum = port->rhub->hcd->self.busnum;
2005 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()2013 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()2019 hcd = port->rhub->hcd; in handle_port_status()2020 bus_state = &port->rhub->bus_state; in handle_port_status()
1474 struct xhci_hub *rhub; member