Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pci1xxxx.c88 static const int logical_to_physical_port_idx[][MAX_PORTS] = { variable
353 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()
367 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()
370 return logical_to_physical_port_idx[0][port]; in pci1xxxx_logical_to_physical_port_translate()
488 static_assert((ARRAY_SIZE(logical_to_physical_port_idx) == PCI_SUBDEVICE_ID_EFAR_PCI1XXXX_1p3 + 1));