/drivers/net/hamradio/ |
D | baycom_ser_fdx.c | 100 #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()
|
D | baycom_par.c | 108 #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()
|
D | baycom_ser_hdx.c | 88 #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()
|
D | yam.c | 90 #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()
|
D | baycom_epp.c | 76 #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/ |
D | sa1100.c | 48 #define NR_PORTS 3 macro 598 static struct sa1100_port sa1100_ports[NR_PORTS]; 621 for (i = 0; i < NR_PORTS; i++) { in sa1100_init_ports() 653 if (idx >= NR_PORTS) { in sa1100_register_uart() 774 if (co->index == -1 || co->index >= NR_PORTS) in sa1100_console_setup() 816 .nr = NR_PORTS, 850 for (i = 0; i < NR_PORTS; i++) { in sa1100_serial_probe()
|
D | pnx8xxx_uart.c | 41 #define NR_PORTS 2 macro 651 for (i = 0; i < NR_PORTS; i++) { in pnx8xxx_init_ports() 720 if (co->index == -1 || co->index >= NR_PORTS) in pnx8xxx_console_setup() 760 .nr = NR_PORTS, 787 for (i = 0; i < NR_PORTS; i++) { in pnx8xxx_serial_probe()
|
D | 68328serial.h | 182 #define NR_PORTS 1 macro
|
D | crisv10.c | 459 #define NR_PORTS (sizeof(rs_table)/sizeof(struct e100_serial)) macro 462 static struct fast_timer fast_timers[NR_PORTS]; 481 static struct ser_statistics_type ser_stat[NR_PORTS]; 492 static struct fast_timer fast_timers_rs485[NR_PORTS]; 524 static unsigned char dummy_ser[NR_PORTS] = {0xFF, 0xFF, 0xFF,0xFF}; 779 static const struct control_pins e100_modem_pins[NR_PORTS] = 873 static const struct control_pins e100_modem_pins[NR_PORTS] = 2009 for (i = 0; i < NR_PORTS; i++) { in tr_interrupt() 2058 for (i = 0; i < NR_PORTS; i++) { in rec_interrupt() 2206 for (i = 0; i < NR_PORTS; i++) { in timed_flush_handler() [all …]
|
D | 68328serial.c | 68 static struct m68k_serial m68k_soft[NR_PORTS]; 70 static unsigned int uart_irqs[NR_PORTS] = UART_IRQ_DEFNS; 1245 serial_driver = alloc_tty_driver(NR_PORTS); 1273 for(i=0;i<NR_PORTS;i++) {
|
D | icom.c | 65 #define NR_PORTS 128 macro 1313 .nr = NR_PORTS,
|
/drivers/ata/ |
D | sata_inic162x.c | 70 NR_PORTS = 2, enumerator 429 for (i = 0; i < NR_PORTS; i++) in inic_interrupt() 774 for (i = 0; i < NR_PORTS; i++) { in init_controller() 827 host = ata_host_alloc_pinfo(&pdev->dev, ppi, NR_PORTS); in inic_init_one() 853 for (i = 0; i < NR_PORTS; i++) { in inic_init_one()
|
/drivers/tty/serial/jsm/ |
D | jsm_driver.c | 40 #define NR_PORTS 32 macro 49 .nr = NR_PORTS,
|
/drivers/staging/serial/ |
D | 68360serial.c | 215 #define NR_PORTS (sizeof(rs_table)/sizeof(struct serial_state)) macro 268 static ser_info_t quicc_ser_info[NR_PORTS]; 269 static char rx_buf_pool[NR_PORTS * RX_NUM_FIFO * RX_BUF_SIZE]; 270 static char tx_buf_pool[NR_PORTS * TX_NUM_FIFO * TX_BUF_SIZE]; 1909 if ((line < 0) || (line >= NR_PORTS)) in rs_360_open() 2035 for (i = 0; i < NR_PORTS && len < 4000; i++) { in rs_360_read_proc() 2450 serial_driver = alloc_tty_driver(NR_PORTS); in rs_360_init() 2520 for (i = 0, state = rs_table; i < NR_PORTS; i++,state++) { in rs_360_init()
|
/drivers/tty/ |
D | cyclades.c | 35 #define NR_PORTS 256 macro 292 static struct timer_list cyz_rx_full_timer[NR_PORTS]; 3342 if ((cy_next_channel + cy_isa_nchan) > NR_PORTS) { in cy_detect_isa() 3824 if ((cy_next_channel + nchan) > NR_PORTS) { in cy_pci_probe() 4081 cy_serial_driver = alloc_tty_driver(NR_PORTS); in cy_init()
|
D | amiserial.c | 129 #define NR_PORTS ARRAY_SIZE(rs_table) macro 1693 serial_driver = alloc_tty_driver(NR_PORTS); in amiga_serial_probe()
|