Home
last modified time | relevance | path

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

/openbmc/linux/arch/um/drivers/
H A Dssl.c22 #define NR_PORTS 64 macro
65 static char *conf[NR_PORTS];
67 static struct line serial_lines[NR_PORTS];
163 for (i = 0; i < NR_PORTS; i++) { in ssl_init()
189 line_setup(conf, NR_PORTS, &def_conf, str, "serial line"); in ssl_chan_setup()
/openbmc/linux/drivers/net/hamradio/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dbaycom_epp.c61 #define NR_PORTS 4 macro
63 static struct net_device *baycom_device[NR_PORTS];
847 for (i = 0; i < NR_PORTS; i++) in epp_open()
851 if (i == NR_PORTS) { in epp_open()
1168 static char *mode[NR_PORTS] = { "", };
1169 static int iobase[NR_PORTS] = { 0x378, };
1230 for (i = 0; i < NR_PORTS; i++) { in init_baycomepp()
1272 for(i = 0; i < NR_PORTS; i++) { in cleanup_baycomepp()
1304 if (nr_dev >= NR_PORTS) in baycom_epp_setup()
/openbmc/linux/drivers/ata/
H A 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()
H A Dsata_inic162x.c69 NR_PORTS = 2, enumerator
433 for (i = 0; i < NR_PORTS; i++) in inic_interrupt()
776 for (i = 0; i < NR_PORTS; i++) { in init_controller()
829 host = ata_host_alloc_pinfo(&pdev->dev, ppi, NR_PORTS); in inic_init_one()
855 for (i = 0; i < NR_PORTS; i++) { in inic_init_one()
/openbmc/linux/drivers/tty/serial/
H A Dsa1100.c33 #define NR_PORTS 3 macro
583 static struct sa1100_port sa1100_ports[NR_PORTS];
606 for (i = 0; i < NR_PORTS; i++) { in sa1100_init_ports()
639 if (idx >= NR_PORTS) { in sa1100_register_uart()
761 if (co->index == -1 || co->index >= NR_PORTS) in sa1100_console_setup()
803 .nr = NR_PORTS,
862 for (i = 0; i < NR_PORTS; i++) in sa1100_serial_probe()
865 if (i == NR_PORTS) in sa1100_serial_probe()
H A Dicom.c48 #define NR_PORTS 128 macro
1556 .nr = NR_PORTS,
/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_driver.c24 #define NR_PORTS 32 macro
33 .nr = NR_PORTS,
/openbmc/u-boot/drivers/ata/
H A Dsata_ceva.c70 #define NR_PORTS 2 macro