Lines Matching defs:port

140 	 * Boca Research Turbo Serial 658 (8 serial port) card.
157 * Dolphin Peripherals 4035 (dual serial port) card. PLX 9050, with
169 * Dolphin Peripherals 4014 (dual parallel port) card. PLX 9050, with
189 * based on Exar PCI chips, f. e. the 8 port variants on XR17V258IV.
722 "Advantech 2-port PCI (PCI-1602 Rev. B1/PCI-1603)",
913 * eMegatech MP954ER4 (4 port) and MP958ER8 (8 port)
916 * Lindy 51189 (4 port)
919 * StarTech.com PEX4S952 (4 port) and PEX8S952 (8 port)
1001 * the ASIC. This causes the weird port access pattern
1002 * below, where two of the IO port ranges each access
1015 * 4 com port on PCI device 0 and 4 on PCI device 1. PCI device 0 has
1080 "Sunix SER5xxxx 2-port serial",
1086 "Sunix SER5xxxx 4-port serial",
1092 "Sunix SER5xxxx 8-port serial",
1099 "Sunix MIO5xxxx 1-port serial and 1284 Printer port",
1106 "Sunix MIO5xxxx 2-port serial and 1284 Printer port",
1113 "Sunix MIO5xxxx 4-port serial and 1284 Printer port",
1132 "Decision Computer Inc, PCCOM 4-port serial",
1138 "Decision Computer Inc, PCCOM 8-port serial",
1144 "PCCOM dual port RS232/422/485",
1150 "NetMos NM9815 Dual 1284 Printer port",
1157 * here to _prevent_ puc(4) from claiming this single port card.
1162 "NetMos NM9835 based 1-port serial",
1168 "NetMos NM9835 based 2-port serial",
1174 "NetMos NM9835 Dual UART and 1284 Printer port",
1186 "NetMos NM9845 Quad UART and 1284 Printer port",
1210 "NetMos NM9865 Single UART and 1284 Printer port",
1216 "NetMos NM9865 Dual UART and 1284 Printer port",
1222 "NetMos NM9865 Dual 1284 Printer port",
1285 puc_config_advantech(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1344 device_printf(dev, "port %d: ", i);
1371 puc_config_amc(struct puc_softc *sc __unused, enum puc_cfg_cmd cmd, int port,
1377 *res = 8 * (port & 1);
1380 *res = 0x14 + (port >> 1) * 4;
1389 puc_config_diva(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1396 port <<= 1;
1398 port = (port == 3) ? 4 : port;
1399 *res = port * 8 + ((port > 2) ? 0x18 : 0);
1407 int port, intptr_t *res)
1411 *res = port * 0x200;
1419 int port, intptr_t *res)
1423 *res = port * 0x400;
1431 int port __unused, intptr_t *res)
1442 puc_config_moxa(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1448 if (port == 3 && (cfg->device == 0x1045 ||
1450 port = 7;
1451 *res = port * 0x200;
1460 int port __unused, intptr_t *res)
1551 puc_config_syba(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1600 switch (port) {
1625 puc_config_siig(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1633 *res = (port > 4) ? 8 * (port - 4) : 0;
1639 *res = 0x10 + ((port > 4) ? 0x10 : 4 * port);
1643 switch (port) {
1657 puc_config_timedia(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1692 if (port < 2)
1719 *res = (port == 1 || port == 3) ? 8 : 0;
1722 *res = 0x10 + ((port > 3) ? port - 2 : port >> 1) * 4;
1735 int port __unused, intptr_t *res)
1756 puc_config_oxford_pcie(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1817 *res = 0x1000 + (port << 9);
1829 puc_config_sunix(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
1836 error = puc_config(sc, PUC_CFG_GET_TYPE, port, res);
1839 *res = (*res == PUC_TYPE_SERIAL) ? (port & 3) * 8 : 0;
1842 error = puc_config(sc, PUC_CFG_GET_TYPE, port, res);
1845 *res = (*res == PUC_TYPE_SERIAL && port <= 3) ? 0x10 : 0x14;
1855 int port, intptr_t *res)
1860 *res = (port < 3) ? 0 : (port - 2) << 3;
1863 *res = 0x14 + ((port >= 2) ? 0x0c : port << 2);