Lines Matching refs:max_ports
1201 int max_ports; in xhci_hub_control() local
1218 max_ports = rhub->num_ports; in xhci_hub_control()
1254 if (!portnum1 || portnum1 > max_ports) in xhci_hub_control()
1300 if (!portnum1 || portnum1 > max_ports) in xhci_hub_control()
1550 if (!portnum1 || portnum1 > max_ports) in xhci_hub_control()
1646 int max_ports; in xhci_hub_status_data() local
1654 max_ports = rhub->num_ports; in xhci_hub_status_data()
1658 retval = (max_ports + 8) / 8; in xhci_hub_status_data()
1683 for (i = 0; i < max_ports; i++) { in xhci_hub_status_data()
1718 int max_ports, port_index; in xhci_bus_suspend() local
1728 max_ports = rhub->num_ports; in xhci_bus_suspend()
1748 port_index = max_ports; in xhci_bus_suspend()
1819 port_index = max_ports; in xhci_bus_suspend()
1879 int max_ports, port_index; in xhci_bus_resume() local
1889 max_ports = rhub->num_ports; in xhci_bus_resume()
1912 port_index = max_ports; in xhci_bus_resume()