• Home
  • Raw
  • Download

Lines Matching refs:rhub

200 	struct xhci_hub *rhub;  in xhci_usb2_hub_descriptor()  local
202 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() local
256 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() local
577 rhub = xhci_get_rhub(hcd); in xhci_set_port_power()
578 port = rhub->ports[index]; in xhci_set_port_power()
695 port->rhub->hcd->self.busnum, port->hcd_portnum + 1, in xhci_set_link_state()
831 hcd = port->rhub->hcd; in xhci_handle_usb2_port_link_resume()
832 bus_state = &port->rhub->bus_state; in xhci_handle_usb2_port_link_resume()
941 bus_state = &port->rhub->bus_state; in xhci_get_usb3_port_status()
942 xhci = hcd_to_xhci(port->rhub->hcd); in xhci_get_usb3_port_status()
943 hcd = port->rhub->hcd; in xhci_get_usb3_port_status()
991 bus_state = &port->rhub->bus_state; in xhci_get_usb2_port_status()
1039 struct xhci_hub *rhub; in xhci_get_port_status() local
1042 rhub = xhci_get_rhub(hcd); in xhci_get_port_status()
1043 port = rhub->ports[wIndex]; in xhci_get_port_status()
1106 struct xhci_hub *rhub; in xhci_hub_control() local
1109 rhub = xhci_get_rhub(hcd); in xhci_hub_control()
1110 ports = rhub->ports; in xhci_hub_control()
1111 max_ports = rhub->num_ports; in xhci_hub_control()
1112 bus_state = &rhub->bus_state; in xhci_hub_control()
1541 struct xhci_hub *rhub; in xhci_hub_status_data() local
1544 rhub = xhci_get_rhub(hcd); in xhci_hub_status_data()
1545 ports = rhub->ports; in xhci_hub_status_data()
1546 max_ports = rhub->num_ports; in xhci_hub_status_data()
1547 bus_state = &rhub->bus_state; in xhci_hub_status_data()
1601 struct xhci_hub *rhub; in xhci_bus_suspend() local
1606 rhub = xhci_get_rhub(hcd); in xhci_bus_suspend()
1607 ports = rhub->ports; in xhci_bus_suspend()
1608 max_ports = rhub->num_ports; in xhci_bus_suspend()
1609 bus_state = &rhub->bus_state; in xhci_bus_suspend()
1763 struct xhci_hub *rhub; in xhci_bus_resume() local
1766 rhub = xhci_get_rhub(hcd); in xhci_bus_resume()
1767 ports = rhub->ports; in xhci_bus_resume()
1768 max_ports = rhub->num_ports; in xhci_bus_resume()
1769 bus_state = &rhub->bus_state; in xhci_bus_resume()
1871 struct xhci_hub *rhub = xhci_get_rhub(hcd); in xhci_get_resuming_ports() local
1874 return rhub->bus_state.resuming_ports; /* USB2 ports only */ in xhci_get_resuming_ports()