Searched refs:rhub (Results 1 – 7 of 7) sorted by relevance
200 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local202 rhub = &xhci->usb2_rhub; in xhci_usb2_hub_descriptor()203 ports = rhub->num_ports; in xhci_usb2_hub_descriptor()215 portsc = readl(rhub->ports[i]->addr); in xhci_usb2_hub_descriptor()254 struct xhci_hub *rhub; in xhci_usb3_hub_descriptor() local256 rhub = &xhci->usb3_rhub; in xhci_usb3_hub_descriptor()257 ports = rhub->num_ports; in xhci_usb3_hub_descriptor()272 portsc = readl(rhub->ports[i]->addr); in xhci_usb3_hub_descriptor()573 struct xhci_hub *rhub; in xhci_set_port_power() local577 rhub = xhci_get_rhub(hcd); in xhci_set_port_power()[all …]
2137 struct xhci_hub *rhub; in xhci_add_in_port() local2146 rhub = &xhci->usb3_rhub; in xhci_add_in_port()2157 rhub = &xhci->usb2_rhub; in xhci_add_in_port()2165 rhub->maj_rev = XHCI_EXT_PORT_MAJOR(temp); in xhci_add_in_port()2167 if (rhub->min_rev < minor_revision) in xhci_add_in_port()2168 rhub->min_rev = minor_revision; in xhci_add_in_port()2233 if (hw_port->rhub) { in xhci_add_in_port()2238 hw_port->rhub->maj_rev, major_revision); in xhci_add_in_port()2242 if (hw_port->rhub != rhub && in xhci_add_in_port()2244 hw_port->rhub->num_ports--; in xhci_add_in_port()[all …]
483 struct xhci_hub *rhub; in compliance_mode_recovery() local488 rhub = &xhci->usb3_rhub; in compliance_mode_recovery()490 for (i = 0; i < rhub->num_ports; i++) { in compliance_mode_recovery()491 temp = readl(rhub->ports[i]->addr); in compliance_mode_recovery()511 if (xhci->port_status_u0 != ((1 << rhub->num_ports) - 1)) in compliance_mode_recovery()900 struct xhci_hub *rhub, in xhci_disable_hub_port_wake() argument909 for (i = 0; i < rhub->num_ports; i++) { in xhci_disable_hub_port_wake()910 portsc = readl(rhub->ports[i]->addr); in xhci_disable_hub_port_wake()923 writel(t2, rhub->ports[i]->addr); in xhci_disable_hub_port_wake()925 rhub->hcd->self.busnum, i + 1, portsc, t2); in xhci_disable_hub_port_wake()[all …]
367 struct xhci_hcd *xhci = hcd_to_xhci(port->rhub->hcd); in xhci_port_write()
1694 if (!port || !port->rhub || port->hcd_portnum == DUPLICATE_ENTRY) { in handle_port_status()1702 if (port->rhub == &xhci->usb3_rhub && xhci->shared_hcd == NULL) { in handle_port_status()1708 hcd = port->rhub->hcd; in handle_port_status()1709 bus_state = &port->rhub->bus_state; in handle_port_status()
1722 struct xhci_hub *rhub; member
4416 + /* Obtain udev of the rhub's child port */5819 - /* Obtain udev of the rhub's child port */5915 struct xhci_hub *rhub;5921 rhub = xhci_get_rhub(hcd);