Lines Matching refs:max_ports
1182 int max_ports; in xhci_hub_control() local
1197 max_ports = rhub->num_ports; in xhci_hub_control()
1232 if (!wIndex || wIndex > max_ports) in xhci_hub_control()
1275 if (!wIndex || wIndex > max_ports) in xhci_hub_control()
1529 if (!wIndex || wIndex > max_ports) in xhci_hub_control()
1624 int max_ports; in xhci_hub_status_data() local
1632 max_ports = rhub->num_ports; in xhci_hub_status_data()
1636 retval = (max_ports + 8) / 8; in xhci_hub_status_data()
1650 for (i = 0; i < max_ports; i++) { in xhci_hub_status_data()
1685 int max_ports, port_index; in xhci_bus_suspend() local
1695 max_ports = rhub->num_ports; in xhci_bus_suspend()
1715 port_index = max_ports; in xhci_bus_suspend()
1786 port_index = max_ports; in xhci_bus_suspend()
1846 int max_ports, port_index; in xhci_bus_resume() local
1856 max_ports = rhub->num_ports; in xhci_bus_resume()
1879 port_index = max_ports; in xhci_bus_resume()