Lines Matching defs:rhub
2150 struct xhci_hub *rhub;
2159 rhub = &xhci->usb3_rhub;
2179 rhub = &xhci->usb2_rhub;
2240 rhub->maj_rev = major_revision;
2242 if (rhub->min_rev < minor_revision)
2243 rhub->min_rev = minor_revision;
2263 if (hw_port->rhub) {
2268 hw_port->rhub->maj_rev, major_revision);
2272 if (hw_port->rhub != rhub &&
2274 hw_port->rhub->num_ports--;
2279 hw_port->rhub = rhub;
2281 rhub->num_ports++;
2287 struct xhci_hub *rhub, gfp_t flags)
2293 if (!rhub->num_ports)
2295 rhub->ports = kcalloc_node(rhub->num_ports, sizeof(*rhub->ports),
2297 if (!rhub->ports)
2301 if (xhci->hw_ports[i].rhub != rhub ||
2305 rhub->ports[port_index] = &xhci->hw_ports[i];
2307 if (port_index == rhub->num_ports)