Home
last modified time | relevance | path

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

/drivers/net/hamradio/
Dbaycom_ser_fdx.c100 #define NR_PORTS 4 macro
102 static struct net_device *baycom_device[NR_PORTS];
608 static char *mode[NR_PORTS] = { "ser12*", };
609 static int iobase[NR_PORTS] = { 0x3f8, };
610 static int irq[NR_PORTS] = { 4, };
611 static int baud[NR_PORTS] = { [0 ... NR_PORTS-1] = 1200 };
637 for (i = 0; i < NR_PORTS; i++) { in init_baycomserfdx()
672 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycomserfdx()
699 if (nr_dev >= NR_PORTS) in baycom_ser_fdx_setup()
Dbaycom_par.c108 #define NR_PORTS 4 macro
110 static struct net_device *baycom_device[NR_PORTS];
479 static char *mode[NR_PORTS] = { "picpar", };
480 static int iobase[NR_PORTS] = { 0x378, };
502 for (i = 0; i < NR_PORTS; i++) { in init_baycompar()
536 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycompar()
561 if (nr_dev >= NR_PORTS) in baycom_par_setup()
Dbaycom_ser_hdx.c88 #define NR_PORTS 4 macro
90 static struct net_device *baycom_device[NR_PORTS];
639 static char *mode[NR_PORTS] = { "ser12*", };
640 static int iobase[NR_PORTS] = { 0x3f8, };
641 static int irq[NR_PORTS] = { 4, };
665 for (i = 0; i < NR_PORTS; i++) { in init_baycomserhdx()
699 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycomserhdx()
728 if (nr_dev >= NR_PORTS) in baycom_ser_hdx_setup()
Dyam.c90 #define NR_PORTS 4 macro
156 static struct net_device *yam_devs[NR_PORTS];
651 for (i = 0; i < NR_PORTS; i++) { in yam_dotimer()
749 for (i = 0; i < NR_PORTS; i++) { in yam_interrupt()
795 return (*pos < NR_PORTS) ? yam_devs[*pos] : NULL; in yam_seq_start()
801 return (*pos < NR_PORTS) ? yam_devs[*pos] : NULL; in yam_seq_next()
904 for (i = 0; i < NR_PORTS; i++) { in yam_open()
1146 for (i = 0; i < NR_PORTS; i++) { in yam_init_driver()
1188 for (i = 0; i < NR_PORTS; i++) { in yam_cleanup_driver()
Dbaycom_epp.c76 #define NR_PORTS 4 macro
78 static struct net_device *baycom_device[NR_PORTS];
1165 static char *mode[NR_PORTS] = { "", };
1166 static int iobase[NR_PORTS] = { 0x378, };
1205 for (i = 0; i < NR_PORTS; i++) { in init_baycomepp()
1242 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycomepp()
1273 if (nr_dev >= NR_PORTS) in baycom_epp_setup()
/drivers/tty/serial/
Dsa1100.c48 #define NR_PORTS 3 macro
597 static struct sa1100_port sa1100_ports[NR_PORTS];
620 for (i = 0; i < NR_PORTS; i++) { in sa1100_init_ports()
652 if (idx >= NR_PORTS) { in sa1100_register_uart()
773 if (co->index == -1 || co->index >= NR_PORTS) in sa1100_console_setup()
815 .nr = NR_PORTS,
849 for (i = 0; i < NR_PORTS; i++) { in sa1100_serial_probe()
Dpnx8xxx_uart.c41 #define NR_PORTS 2 macro
650 for (i = 0; i < NR_PORTS; i++) { in pnx8xxx_init_ports()
719 if (co->index == -1 || co->index >= NR_PORTS) in pnx8xxx_console_setup()
759 .nr = NR_PORTS,
786 for (i = 0; i < NR_PORTS; i++) { in pnx8xxx_serial_probe()
D68328serial.c130 #define NR_PORTS 1 macro
132 static struct m68k_serial m68k_soft[NR_PORTS];
134 static unsigned int uart_irqs[NR_PORTS] = { UART_IRQ_NUM };
1161 serial_driver = alloc_tty_driver(NR_PORTS);
1183 for(i=0;i<NR_PORTS;i++) {
1217 for (i = 0; i < NR_PORTS; i++)
Dcrisv10.c454 #define NR_PORTS (sizeof(rs_table)/sizeof(struct e100_serial)) macro
457 static struct fast_timer fast_timers[NR_PORTS];
476 static struct ser_statistics_type ser_stat[NR_PORTS];
487 static struct fast_timer fast_timers_rs485[NR_PORTS];
519 static unsigned char dummy_ser[NR_PORTS] = {0xFF, 0xFF, 0xFF,0xFF};
774 static const struct control_pins e100_modem_pins[NR_PORTS] =
868 static const struct control_pins e100_modem_pins[NR_PORTS] =
1990 for (i = 0; i < NR_PORTS; i++) { in tr_interrupt()
2039 for (i = 0; i < NR_PORTS; i++) { in rec_interrupt()
2180 for (i = 0; i < NR_PORTS; i++) { in timed_flush_handler()
[all …]
Dicom.c65 #define NR_PORTS 128 macro
1313 .nr = NR_PORTS,
/drivers/tty/serial/jsm/
Djsm_driver.c40 #define NR_PORTS 32 macro
49 .nr = NR_PORTS,
/drivers/ata/
Dsata_inic162x.c58 NR_PORTS = 2, enumerator
415 for (i = 0; i < NR_PORTS; i++) in inic_interrupt()
760 for (i = 0; i < NR_PORTS; i++) { in init_controller()
811 host = ata_host_alloc_pinfo(&pdev->dev, ppi, NR_PORTS); in inic_init_one()
837 for (i = 0; i < NR_PORTS; i++) { in inic_init_one()
/drivers/staging/sb105x/
Dsb_pci_mp.c14 static int NR_PORTS=0; variable
1199 return NR_PORTS; in mp_ioctl()
2870 for (i = 0; i < NR_PORTS; i++) { in multi_register_ports()
3087 NR_PORTS += sbdev->nr_ports; in init_mp_dev()
3182 for (i = 0; i < NR_PORTS; i++) in multi_exit()
/drivers/tty/
Dcyclades.c35 #define NR_PORTS 256 macro
292 static struct timer_list cyz_rx_full_timer[NR_PORTS];
3321 if ((cy_next_channel + cy_isa_nchan) > NR_PORTS) { in cy_detect_isa()
3806 if ((cy_next_channel + nchan) > NR_PORTS) { in cy_pci_probe()
4066 cy_serial_driver = alloc_tty_driver(NR_PORTS); in cy_init()
Damiserial.c129 #define NR_PORTS ARRAY_SIZE(rs_table) macro
1687 serial_driver = alloc_tty_driver(NR_PORTS); in amiga_serial_probe()