Lines Matching refs:rhub
286 struct xhci_hub *rhub; in xhci_usb2_hub_descriptor() local
288 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() local
342 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()
554 hcd = port->rhub->hcd; in xhci_disable_port()
651 hcd = port->rhub->hcd; in xhci_set_port_power()
804 port->rhub->hcd->self.busnum, port->hcd_portnum + 1, in xhci_set_link_state()
939 hcd = port->rhub->hcd; in xhci_handle_usb2_port_link_resume()
940 bus_state = &port->rhub->bus_state; in xhci_handle_usb2_port_link_resume()
1043 bus_state = &port->rhub->bus_state; in xhci_get_usb3_port_status()
1044 xhci = hcd_to_xhci(port->rhub->hcd); in xhci_get_usb3_port_status()
1045 hcd = port->rhub->hcd; in xhci_get_usb3_port_status()
1093 bus_state = &port->rhub->bus_state; in xhci_get_usb2_port_status()
1132 usb_hcd_end_port_resume(&port->rhub->hcd->self, portnum); in xhci_get_usb2_port_status()
1157 struct xhci_hub *rhub; in xhci_get_port_status() local
1160 rhub = xhci_get_rhub(hcd); in xhci_get_port_status()
1161 port = rhub->ports[wIndex]; in xhci_get_port_status()
1211 struct xhci_hub *rhub; in xhci_hub_control() local
1216 rhub = xhci_get_rhub(hcd); in xhci_hub_control()
1217 ports = rhub->ports; in xhci_hub_control()
1218 max_ports = rhub->num_ports; in xhci_hub_control()
1219 bus_state = &rhub->bus_state; in xhci_hub_control()
1643 struct xhci_hub *rhub; in xhci_hub_status_data() local
1646 rhub = xhci_get_rhub(hcd); in xhci_hub_status_data()
1647 ports = rhub->ports; in xhci_hub_status_data()
1648 max_ports = rhub->num_ports; in xhci_hub_status_data()
1649 bus_state = &rhub->bus_state; in xhci_hub_status_data()
1715 struct xhci_hub *rhub; in xhci_bus_suspend() local
1720 rhub = xhci_get_rhub(hcd); in xhci_bus_suspend()
1721 ports = rhub->ports; in xhci_bus_suspend()
1722 max_ports = rhub->num_ports; in xhci_bus_suspend()
1723 bus_state = &rhub->bus_state; in xhci_bus_suspend()
1874 struct xhci_hub *rhub; in xhci_bus_resume() local
1877 rhub = xhci_get_rhub(hcd); in xhci_bus_resume()
1878 ports = rhub->ports; in xhci_bus_resume()
1879 max_ports = rhub->num_ports; in xhci_bus_resume()
1880 bus_state = &rhub->bus_state; in xhci_bus_resume()
1981 struct xhci_hub *rhub = xhci_get_rhub(hcd); in xhci_get_resuming_ports() local
1984 return rhub->bus_state.resuming_ports; /* USB2 ports only */ in xhci_get_resuming_ports()