Searched refs:max_ports (Results 1 – 5 of 5) sorted by relevance
711 int max_ports, port_index; in xhci_bus_suspend() local717 max_ports = xhci->num_usb3_ports; in xhci_bus_suspend()721 max_ports = xhci->num_usb2_ports; in xhci_bus_suspend()730 port_index = max_ports; in xhci_bus_suspend()742 port_index = max_ports; in xhci_bus_suspend()803 int max_ports, port_index; in xhci_bus_resume() local810 max_ports = xhci->num_usb3_ports; in xhci_bus_resume()814 max_ports = xhci->num_usb2_ports; in xhci_bus_resume()834 port_index = max_ports; in xhci_bus_resume()
1239 int max_ports; in handle_port_status() local1255 max_ports = HCS_MAX_PORTS(xhci->hcs_params1); in handle_port_status()1256 if ((port_id <= 0) || (port_id > max_ports)) { in handle_port_status()
1221 u8 max_ports; member
5565 struct ata_host *ata_host_alloc(struct device *dev, int max_ports) in ata_host_alloc() argument5577 sz = sizeof(struct ata_host) + (max_ports + 1) * sizeof(void *); in ata_host_alloc()5589 host->n_ports = max_ports; in ata_host_alloc()5592 for (i = 0; i < max_ports; i++) { in ata_host_alloc()
968 extern struct ata_host *ata_host_alloc(struct device *dev, int max_ports);