Lines Matching defs:rhub
1962 struct xhci_hub *rhub;
1971 rhub = &xhci->usb3_rhub;
1991 rhub = &xhci->usb2_rhub;
2050 rhub->maj_rev = major_revision;
2052 if (rhub->min_rev < minor_revision)
2053 rhub->min_rev = minor_revision;
2073 if (hw_port->rhub) {
2076 hw_port->rhub->maj_rev, major_revision);
2080 if (hw_port->rhub != rhub &&
2082 hw_port->rhub->num_ports--;
2087 hw_port->rhub = rhub;
2089 rhub->num_ports++;
2095 struct xhci_hub *rhub, gfp_t flags)
2101 if (!rhub->num_ports)
2103 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(*rhub->ports),
2105 if (!rhub->ports)
2109 if (xhci->hw_ports[i].rhub != rhub ||
2113 rhub->ports[port_index] = &xhci->hw_ports[i];
2115 if (port_index == rhub->num_ports)