Searched refs:rhub (Results 1 – 8 of 8) sorted by relevance
286 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local288 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()289 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()301 portsc = readl(rhub->ports[i]->addr); in xhci_usb2_hub_descriptor()340 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local342 rhub = &xhci->usb3_rhub; in xhci_usb3_hub_descriptor()343 ports = rhub->num_ports; in xhci_usb3_hub_descriptor()358 portsc = readl(rhub->ports[i]->addr); in xhci_usb3_hub_descriptor()659 struct xhci_hub *rhub; in xhci_set_port_power() local663 rhub = xhci_get_rhub(hcd); in xhci_set_port_power()[all …]
2120 struct xhci_hub *rhub; in xhci_add_in_port() local2129 rhub = &xhci->usb3_rhub; in xhci_add_in_port()2140 rhub = &xhci->usb2_rhub; in xhci_add_in_port()2148 rhub->maj_rev = XHCI_EXT_PORT_MAJOR(temp); in xhci_add_in_port()2150 if (rhub->min_rev < minor_revision) in xhci_add_in_port()2151 rhub->min_rev = minor_revision; in xhci_add_in_port()2216 if (hw_port->rhub) { in xhci_add_in_port()2221 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port()2225 if (hw_port->rhub != rhub && in xhci_add_in_port()2227 hw_port->rhub->num_ports--; in xhci_add_in_port()[all …]
362 struct xhci_hub *rhub = &xhci->usb3_rhub; in xhci_find_lpm_incapable_ports() local367 if (hcd != rhub->hcd) in xhci_find_lpm_incapable_ports()370 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()381 rhub->ports[i]->lpm_incapable = ret; in xhci_find_lpm_incapable_ports()
485 struct xhci_hub *rhub; in compliance_mode_recovery() local490 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()491 hcd = rhub->hcd; in compliance_mode_recovery()496 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()497 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()516 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()933 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument942 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()943 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()956 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()[all …]
1913 struct xhci_hub *rhub; in tegra_xhci_enable_phy_sleepwalk_wake() local1918 rhub = &xhci->usb3_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()1920 rhub = &xhci->usb2_rhub; in tegra_xhci_enable_phy_sleepwalk_wake()1935 if (index >= rhub->num_ports) in tegra_xhci_enable_phy_sleepwalk_wake()1941 portsc = readl(rhub->ports[index]->addr); in tegra_xhci_enable_phy_sleepwalk_wake()
367 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
1865 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()1873 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()1879 hcd = port->rhub->hcd; in handle_port_status()1880 bus_state = &port->rhub->bus_state; in handle_port_status()
1736 struct xhci_hub *rhub; member