Lines Matching refs:numPorts
403 int numPorts; member
925 brd->numPorts = j * 8; in moxa_real_load_code()
964 for (i = 0; i < brd->numPorts; i++, port++) { in moxa_load_code()
982 for (i = 0; i < brd->numPorts; i++, port++) { in moxa_load_code()
988 switch (brd->numPorts) { in moxa_load_code()
1179 for (i = 0; i < brd->numPorts; i++) in moxa_init_board()
1202 for (a = 0; a < brd->numPorts; a++) in moxa_board_deinit()
1211 for (a = 0; a < brd->numPorts; a++) in moxa_board_deinit()
1222 for (a = 0; a < brd->numPorts; a++) in moxa_board_deinit()
1275 board->numPorts = 8; in moxa_pci_probe()
1279 board->numPorts = 4; in moxa_pci_probe()
1282 board->numPorts = 0; in moxa_pci_probe()
1294 moxa_brdname[board_type - 1], board->numPorts); in moxa_pci_probe()
1371 brd->numPorts = type[i] == MOXA_BOARD_C218_ISA ? 8 : in moxa_init()
1388 baseaddr[i], brd->numPorts); in moxa_init()
1471 if (port % MAX_PORTS_PER_BOARD >= brd->numPorts) { in moxa_open()
1741 for (port = 0; port < brd->numPorts; port++) in moxa_poll()
1749 for (port = 0; port < brd->numPorts; port++, p++) in moxa_poll()