Searched refs:NR_PORTS (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/arch/um/drivers/ |
H A D | ssl.c | 22 #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 D | baycom_par.c | 92 #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 D | baycom_ser_fdx.c | 86 #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 D | baycom_ser_hdx.c | 72 #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 D | yam.c | 75 #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 D | baycom_epp.c | 61 #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 D | ahci_ceva.c | 72 #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 D | sata_inic162x.c | 69 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 D | sa1100.c | 33 #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 D | icom.c | 48 #define NR_PORTS 128 macro 1556 .nr = NR_PORTS,
|
/openbmc/linux/drivers/tty/serial/jsm/ |
H A D | jsm_driver.c | 24 #define NR_PORTS 32 macro 33 .nr = NR_PORTS,
|
/openbmc/u-boot/drivers/ata/ |
H A D | sata_ceva.c | 70 #define NR_PORTS 2 macro
|