Lines Matching defs:port

138 	 * Boca Research Turbo Serial 658 (8 serial port) card.
155 * Dolphin Peripherals 4035 (dual serial port) card. PLX 9050, with
167 * Dolphin Peripherals 4014 (dual parallel port) card. PLX 9050, with
187 * based on Exar PCI chips, f. e. the 8 port variants on XR17V258IV.
1149 "Advantech 2-port PCI (PCI-1602 Rev. B1/PCI-1603)",
1340 * eMegatech MP954ER4 (4 port) and MP958ER8 (8 port)
1343 * Lindy 51189 (4 port)
1346 * StarTech.com PEX4S952 (4 port) and PEX8S952 (8 port)
1428 * the ASIC. This causes the weird port access pattern
1429 * below, where two of the IO port ranges each access
1442 * 4 com port on PCI device 0 and 4 on PCI device 1. PCI device 0 has
1507 "Sunix SER5xxxx 2-port serial",
1513 "Sunix SER5xxxx 4-port serial",
1519 "Sunix SER5xxxx 8-port serial",
1526 "Sunix MIO5xxxx 1-port serial and 1284 Printer port",
1533 "Sunix MIO5xxxx 2-port serial and 1284 Printer port",
1540 "Sunix MIO5xxxx 4-port serial and 1284 Printer port",
1559 "Decision Computer Inc, PCCOM 4-port serial",
1565 "Decision Computer Inc, PCCOM 8-port serial",
1571 "PCCOM dual port RS232/422/485",
1577 "NetMos NM9815 Dual 1284 Printer port",
1584 * here to _prevent_ puc(4) from claiming this single port card.
1589 "NetMos NM9835 based 1-port serial",
1595 "NetMos NM9835 based 2-port serial",
1601 "NetMos NM9835 Dual UART and 1284 Printer port",
1613 "NetMos NM9845 Quad UART and 1284 Printer port",
1637 "NetMos NM9865 Single UART and 1284 Printer port",
1643 "NetMos NM9865 Dual UART and 1284 Printer port",
1649 "NetMos NM9865 Dual 1284 Printer port",
1712 puc_config_advantech(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1771 device_printf(dev, "port %d: ", i);
1798 puc_config_amc(struct puc_softc *sc __unused, enum puc_cfg_cmd cmd, int port,
1804 *res = 8 * (port & 1);
1807 *res = 0x14 + (port >> 1) * 4;
1816 puc_config_diva(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1823 port <<= 1;
1825 port = (port == 3) ? 4 : port;
1826 *res = port * 8 + ((port > 2) ? 0x18 : 0);
1834 int port, intptr_t *res)
1838 *res = port * 0x200;
1846 int port, intptr_t *res)
1850 *res = port * 0x400;
1858 int port __unused, intptr_t *res)
1869 puc_config_moxa(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1875 if (port == 3 && (cfg->device == 0x1045 ||
1877 port = 7;
1878 *res = port * 0x200;
1887 int port __unused, intptr_t *res)
1978 puc_config_syba(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
2027 switch (port) {
2052 puc_config_siig(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
2060 *res = (port > 4) ? 8 * (port - 4) : 0;
2066 *res = 0x10 + ((port > 4) ? 0x10 : 4 * port);
2070 switch (port) {
2084 puc_config_timedia(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
2119 if (port < 2)
2146 *res = (port == 1 || port == 3) ? 8 : 0;
2149 *res = 0x10 + ((port > 3) ? port - 2 : port >> 1) * 4;
2162 int port __unused, intptr_t *res)
2183 puc_config_oxford_pcie(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
2244 *res = 0x1000 + (port << 9);
2256 puc_config_sunix(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
2263 error = puc_config(sc, PUC_CFG_GET_TYPE, port, res);
2266 *res = (*res == PUC_TYPE_SERIAL) ? (port & 3) * 8 : 0;
2269 error = puc_config(sc, PUC_CFG_GET_TYPE, port, res);
2272 *res = (*res == PUC_TYPE_SERIAL && port <= 3) ? 0x10 : 0x14;
2282 int port, intptr_t *res)
2287 *res = (port < 3) ? 0 : (port - 2) << 3;
2290 *res = 0x14 + ((port >= 2) ? 0x0c : port << 2);