Home
last modified time | relevance | path

Searched refs:max_ports (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/usb/host/
Dxhci-hub.c711 int max_ports, port_index; in xhci_bus_suspend() local
717 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() local
810 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()
Dxhci-ring.c1239 int max_ports; in handle_port_status() local
1255 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()
Dxhci.h1221 u8 max_ports; member
/linux-2.6.39/drivers/ata/
Dlibata-core.c5565 struct ata_host *ata_host_alloc(struct device *dev, int max_ports) in ata_host_alloc() argument
5577 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()
/linux-2.6.39/include/linux/
Dlibata.h968 extern struct ata_host *ata_host_alloc(struct device *dev, int max_ports);