Home
last modified time | relevance | path

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

/drivers/net/hamradio/
Dbaycom_par.c92 #define NR_PORTS 4 macro
94 static struct net_device *baycom_device[NR_PORTS];
326 for (i = 0; i < NR_PORTS; i++) in par96_open()
330 if (i == NR_PORTS) { in par96_open()
478 static char *mode[NR_PORTS] = { "picpar", };
479 static int iobase[NR_PORTS] = { 0x378, };
523 for (i = 0; i < NR_PORTS; i++) { in init_baycompar()
559 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycompar()
585 if (nr_dev >= NR_PORTS) in baycom_par_setup()
Dbaycom_ser_fdx.c86 #define NR_PORTS 4 macro
88 static struct net_device *baycom_device[NR_PORTS];
569 static char *mode[NR_PORTS] = { "ser12*", };
570 static int iobase[NR_PORTS] = { 0x3f8, };
571 static int irq[NR_PORTS] = { 4, };
572 static int baud[NR_PORTS] = { [0 ... NR_PORTS-1] = 1200 };
598 for (i = 0; i < NR_PORTS; i++) { in init_baycomserfdx()
633 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycomserfdx()
660 if (nr_dev >= NR_PORTS) in baycom_ser_fdx_setup()
Dbaycom_ser_hdx.c72 #define NR_PORTS 4 macro
74 static struct net_device *baycom_device[NR_PORTS];
623 static char *mode[NR_PORTS] = { "ser12*", };
624 static int iobase[NR_PORTS] = { 0x3f8, };
625 static int irq[NR_PORTS] = { 4, };
649 for (i = 0; i < NR_PORTS; i++) { in init_baycomserhdx()
683 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycomserhdx()
712 if (nr_dev >= NR_PORTS) in baycom_ser_hdx_setup()
Dyam.c75 #define NR_PORTS 4 macro
141 static struct net_device *yam_devs[NR_PORTS];
639 for (i = 0; i < NR_PORTS; i++) { in yam_dotimer()
737 for (i = 0; i < NR_PORTS; i++) { in yam_interrupt()
783 return (*pos < NR_PORTS) ? yam_devs[*pos] : NULL; in yam_seq_start()
789 return (*pos < NR_PORTS) ? yam_devs[*pos] : NULL; in yam_seq_next()
878 for (i = 0; i < NR_PORTS; i++) { in yam_open()
1119 for (i = 0; i < NR_PORTS; i++) { in yam_init_driver()
1162 for (i = 0; i < NR_PORTS; i++) { in yam_cleanup_driver()
Dbaycom_epp.c61 #define NR_PORTS 4 macro
63 static struct net_device *baycom_device[NR_PORTS];
853 for (i = 0; i < NR_PORTS; i++) in epp_open()
857 if (i == NR_PORTS) { in epp_open()
1174 static char *mode[NR_PORTS] = { "", };
1175 static int iobase[NR_PORTS] = { 0x378, };
1236 for (i = 0; i < NR_PORTS; i++) { in init_baycomepp()
1278 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycomepp()
1310 if (nr_dev >= NR_PORTS) in baycom_epp_setup()
/drivers/ata/
Dahci_ceva.c72 #define NR_PORTS 2 macro
83 u32 pp2c[NR_PORTS];
84 u32 pp3c[NR_PORTS];
85 u32 pp4c[NR_PORTS];
86 u32 pp5c[NR_PORTS];
134 for (i = 0; i < NR_PORTS; i++) { in ahci_ceva_setup()
Dsata_inic162x.c69 NR_PORTS = 2, enumerator
433 for (i = 0; i < NR_PORTS; i++) in inic_interrupt()
778 for (i = 0; i < NR_PORTS; i++) { in init_controller()
831 host = ata_host_alloc_pinfo(&pdev->dev, ppi, NR_PORTS); in inic_init_one()
857 for (i = 0; i < NR_PORTS; i++) { in inic_init_one()
/drivers/tty/serial/
Dsa1100.c33 #define NR_PORTS 3 macro
608 static struct sa1100_port sa1100_ports[NR_PORTS];
631 for (i = 0; i < NR_PORTS; i++) { in sa1100_init_ports()
664 if (idx >= NR_PORTS) { in sa1100_register_uart()
786 if (co->index == -1 || co->index >= NR_PORTS) in sa1100_console_setup()
828 .nr = NR_PORTS,
887 for (i = 0; i < NR_PORTS; i++) in sa1100_serial_probe()
890 if (i == NR_PORTS) in sa1100_serial_probe()
Dicom.c48 #define NR_PORTS 128 macro
1556 .nr = NR_PORTS,
/drivers/tty/serial/jsm/
Djsm_driver.c24 #define NR_PORTS 32 macro
33 .nr = NR_PORTS,