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()
578 struct xhci_hub *rhub; in xhci_set_port_power() local
582 rhub = xhci_get_rhub(hcd); in xhci_set_port_power()
583 port = rhub->ports[index]; in xhci_set_port_power()
700 port->rhub->hcd->self.busnum, port->hcd_portnum + 1, in xhci_set_link_state()
836 hcd = port->rhub->hcd; in xhci_handle_usb2_port_link_resume()
837 bus_state = &port->rhub->bus_state; in xhci_handle_usb2_port_link_resume()
946 bus_state = &port->rhub->bus_state; in xhci_get_usb3_port_status()
947 xhci = hcd_to_xhci(port->rhub->hcd); in xhci_get_usb3_port_status()
948 hcd = port->rhub->hcd; in xhci_get_usb3_port_status()
996 bus_state = &port->rhub->bus_state; in xhci_get_usb2_port_status()
1011 usb_hcd_end_port_resume(&port->rhub->hcd->self, in xhci_get_usb2_port_status()
1047 struct xhci_hub *rhub; in xhci_get_port_status() local
1050 rhub = xhci_get_rhub(hcd); in xhci_get_port_status()
1051 port = rhub->ports[wIndex]; in xhci_get_port_status()
1114 struct xhci_hub *rhub; in xhci_hub_control() local
1117 rhub = xhci_get_rhub(hcd); in xhci_hub_control()
1118 ports = rhub->ports; in xhci_hub_control()
1119 max_ports = rhub->num_ports; in xhci_hub_control()
1120 bus_state = &rhub->bus_state; in xhci_hub_control()
1549 struct xhci_hub *rhub; in xhci_hub_status_data() local
1552 rhub = xhci_get_rhub(hcd); in xhci_hub_status_data()
1553 ports = rhub->ports; in xhci_hub_status_data()
1554 max_ports = rhub->num_ports; in xhci_hub_status_data()
1555 bus_state = &rhub->bus_state; in xhci_hub_status_data()
1610 struct xhci_hub *rhub; in xhci_bus_suspend() local
1615 rhub = xhci_get_rhub(hcd); in xhci_bus_suspend()
1616 ports = rhub->ports; in xhci_bus_suspend()
1617 max_ports = rhub->num_ports; in xhci_bus_suspend()
1618 bus_state = &rhub->bus_state; in xhci_bus_suspend()
1788 struct xhci_hub *rhub; in xhci_bus_resume() local
1791 rhub = xhci_get_rhub(hcd); in xhci_bus_resume()
1792 ports = rhub->ports; in xhci_bus_resume()
1793 max_ports = rhub->num_ports; in xhci_bus_resume()
1794 bus_state = &rhub->bus_state; in xhci_bus_resume()
1897 struct xhci_hub *rhub = xhci_get_rhub(hcd); in xhci_get_resuming_ports() local
1900 return rhub->bus_state.resuming_ports; /* USB2 ports only */ in xhci_get_resuming_ports()