Home
last modified time | relevance | path

Searched refs:UART_NR (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/tty/serial/
Dclps711x.c45 #define UART_NR 2 macro
49 #define SERIAL_CLPS711X_NR UART_NR
401 static struct uart_port clps711x_ports[UART_NR] = {
504 port = uart_get_console(clps711x_ports, UART_NR, co); in clps711xuart_console_setup()
542 .nr = UART_NR,
557 for (i = 0; i < UART_NR; i++) in clps711xuart_init()
567 for (i = 0; i < UART_NR; i++) in clps711xuart_exit()
Dserial_txx9.c65 #define UART_NR CONFIG_SERIAL_TXX9_NR_UARTS macro
883 static struct uart_txx9_port serial_txx9_ports[UART_NR];
890 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports()
960 if (co->index >= UART_NR) in serial_txx9_console_setup()
1004 .nr = UART_NR,
1040 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1047 if (i == UART_NR) { in serial_txx9_register_port()
1049 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1055 if (i < UART_NR) { in serial_txx9_register_port()
1133 for (i = 0; i < UART_NR; i++) { in serial_txx9_remove()
[all …]
Dapbuart.c351 static struct uart_port grlib_apbuart_ports[UART_NR];
352 static struct device_node *grlib_apbuart_nodes[UART_NR];
548 .nr = UART_NR,
640 if (line == UART_NR) in grlib_apbuart_configure()
Dm32r_sio.c107 #define UART_NR ARRAY_SIZE(old_serial_port) macro
956 static struct uart_sio_port m32r_sio_ports[UART_NR];
987 for (i = 0; i < UART_NR; i++) { in m32r_sio_register_ports()
1077 if (co->index >= UART_NR) in m32r_sio_console_setup()
1124 .nr = UART_NR,
1170 for (i = 0; i < UART_NR; i++) in m32r_sio_exit()
Damba-pl010.c52 #define UART_NR 8 macro
56 #define SERIAL_AMBA_NR UART_NR
557 static struct uart_amba_port *amba_ports[UART_NR];
643 if (co->index >= UART_NR) in pl010_console_setup()
685 .nr = UART_NR,
Dapbuart.h6 #define UART_NR 8 macro
Dmsm_serial.c755 #define UART_NR ARRAY_SIZE(msm_uart_ports) macro
782 BUG_ON(co->index < 0 || co->index >= UART_NR); in msm_console_write()
798 if (unlikely(co->index >= UART_NR || co->index < 0)) in msm_console_setup()
856 .nr = UART_NR,
872 if (unlikely(pdev->id < 0 || pdev->id >= UART_NR)) in msm_serial_probe()
Damba-pl011.c59 #define UART_NR 14 macro
63 #define SERIAL_AMBA_NR UART_NR
124 static struct uart_amba_port *amba_ports[UART_NR];
1768 static struct uart_amba_port *amba_ports[UART_NR];
1874 if (co->index >= UART_NR) in pl011_console_setup()
1924 .nr = UART_NR,
Dsunsu.c968 #define UART_NR 4 macro
970 static struct uart_sunsu_port sunsu_ports[UART_NR];
1416 if (nr_inst >= UART_NR) in su_probe()
Dimx.c184 #define UART_NR 8 macro
1195 static struct imx_port *imx_ports[UART_NR];
/linux-3.4.99/drivers/tty/serial/cpm_uart/
Dcpm_uart.h42 #define UART_NR fs_uart_nr macro
91 extern struct uart_cpm_port cpm_uart_ports[UART_NR];
Dcpm_uart_core.c1124 struct uart_cpm_port cpm_uart_ports[UART_NR];
1260 if (co->index >= UART_NR) { in cpm_uart_console_setup()
1356 .nr = UART_NR,
1369 if (index >= UART_NR) in cpm_uart_probe()
/linux-3.4.99/drivers/mmc/card/
Dsdio_uart.c48 #define UART_NR 8 /* Number of UARTs this driver can handle */ macro
89 static struct sdio_uart_port *sdio_uart_table[UART_NR];
103 for (index = 0; index < UART_NR; index++) { in sdio_uart_add_port()
120 if (index >= UART_NR) in sdio_uart_port_get()
991 for (i = 0; i < UART_NR; i++) { in sdio_uart_proc_show()
1174 sdio_uart_tty_driver = tty_drv = alloc_tty_driver(UART_NR); in sdio_uart_init()
/linux-3.4.99/drivers/tty/serial/8250/
D8250.c115 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro
2716 static struct uart_8250_port serial8250_ports[UART_NR];
2929 if (nr_uarts > UART_NR) in serial8250_console_init()
2930 nr_uarts = UART_NR; in serial8250_console_init()
3108 for (i = 0; i < UART_NR; i++) { in serial8250_suspend()
3122 for (i = 0; i < UART_NR; i++) { in serial8250_resume()
3290 if (nr_uarts > UART_NR) in serial8250_init()
3291 nr_uarts = UART_NR; in serial8250_init()
3298 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init()
3300 serial8250_reg.nr = UART_NR; in serial8250_init()
[all …]