Lines Matching defs:NR_PORTS
460 #define NR_PORTS (sizeof(rs_table)/sizeof(struct e100_serial))
463 static struct fast_timer fast_timers[NR_PORTS];
482 static struct ser_statistics_type ser_stat[NR_PORTS];
493 static struct fast_timer fast_timers_rs485[NR_PORTS];
525 static unsigned char dummy_ser[NR_PORTS] = {0xFF, 0xFF, 0xFF,0xFF};
780 static const struct control_pins e100_modem_pins[NR_PORTS] =
874 static const struct control_pins e100_modem_pins[NR_PORTS] =
2005 for (i = 0; i < NR_PORTS; i++) {
2052 for (i = 0; i < NR_PORTS; i++) {
2198 for (i = 0; i < NR_PORTS; i++) {
2621 for (i = 0; i < NR_PORTS; i++) {
2664 for (i = 0; i < NR_PORTS; i++) {
4108 if (line < 0 || line >= NR_PORTS)
4347 for (i = 0; i < NR_PORTS; i++) {
4421 struct tty_driver *driver = alloc_tty_driver(NR_PORTS);
4477 for (i = 0, info = rs_table; i < NR_PORTS; i++,info++) {