Searched refs:subsys_dev (Results 1 – 1 of 1) sorted by relevance
349 static unsigned int pci1xxxx_get_max_port(int subsys_dev) in pci1xxxx_get_max_port() argument353 if (subsys_dev < ARRAY_SIZE(logical_to_physical_port_idx)) in pci1xxxx_get_max_port()355 if (logical_to_physical_port_idx[subsys_dev][i] != -1) in pci1xxxx_get_max_port()356 return logical_to_physical_port_idx[subsys_dev][i] + 1; in pci1xxxx_get_max_port()359 if (subsys_dev == PCI_SUBDEVICE_ID_EFAR_PCI11414) in pci1xxxx_get_max_port()365 static int pci1xxxx_logical_to_physical_port_translate(int subsys_dev, int port) in pci1xxxx_logical_to_physical_port_translate() argument367 if (subsys_dev < ARRAY_SIZE(logical_to_physical_port_idx)) in pci1xxxx_logical_to_physical_port_translate()368 return logical_to_physical_port_idx[subsys_dev][port]; in pci1xxxx_logical_to_physical_port_translate()382 int subsys_dev; in pci1xxxx_serial_probe() local404 subsys_dev = pdev->subsystem_device; in pci1xxxx_serial_probe()[all …]