Home
last modified time | relevance | path

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

/drivers/serial/
Dclps711x.c47 #define UART_NR 2 macro
51 #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
786 static struct uart_txx9_port serial_txx9_ports[UART_NR];
793 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports()
884 if (co->index >= UART_NR) in serial_txx9_console_setup()
928 .nr = UART_NR,
964 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
971 if (i == UART_NR) { in serial_txx9_register_port()
973 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
979 if (i < UART_NR) { in serial_txx9_register_port()
1057 for (i = 0; i < UART_NR; i++) { in serial_txx9_remove()
[all …]
Dm32r_sio.c114 #define UART_NR ARRAY_SIZE(old_serial_port) macro
962 static struct uart_sio_port m32r_sio_ports[UART_NR];
993 for (i = 0; i < UART_NR; i++) { in m32r_sio_register_ports()
1086 if (co->index >= UART_NR) in m32r_sio_console_setup()
1133 .nr = UART_NR,
1179 for (i = 0; i < UART_NR; i++) in m32r_sio_exit()
Damba-pl010.c53 #define UART_NR 8 macro
57 #define SERIAL_AMBA_NR UART_NR
541 static struct uart_amba_port *amba_ports[UART_NR];
626 if (co->index >= UART_NR) in pl010_console_setup()
664 .nr = UART_NR,
Damba-pl011.c54 #define UART_NR 14 macro
58 #define SERIAL_AMBA_NR UART_NR
605 static struct uart_amba_port *amba_ports[UART_NR];
690 if (co->index >= UART_NR) in pl011_console_setup()
728 .nr = UART_NR,
D8250.c118 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro
2622 static struct uart_8250_port serial8250_ports[UART_NR];
2796 if (nr_uarts > UART_NR) in serial8250_console_init()
2797 nr_uarts = UART_NR; in serial8250_console_init()
2967 for (i = 0; i < UART_NR; i++) { in serial8250_suspend()
2981 for (i = 0; i < UART_NR; i++) { in serial8250_resume()
3140 if (nr_uarts > UART_NR) in serial8250_init()
3141 nr_uarts = UART_NR; in serial8250_init()
3148 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init()
3150 serial8250_reg.nr = UART_NR; in serial8250_init()
[all …]
Dsunsu.c967 #define UART_NR 4 macro
969 static struct uart_sunsu_port sunsu_ports[UART_NR];
1346 if (co->index >= UART_NR) in sunsu_console_setup()
1416 if (inst >= UART_NR) in su_probe()
Dimx.c207 #define UART_NR 8 macro
908 static struct imx_port *imx_ports[UART_NR];
/drivers/serial/cpm_uart/
Dcpm_uart.h44 #define UART_NR fs_uart_nr macro
99 extern struct uart_cpm_port cpm_uart_ports[UART_NR];
Dcpm_uart_core.c1019 struct uart_cpm_port cpm_uart_ports[UART_NR];
1213 if (co->index >= UART_NR) { in cpm_uart_console_setup()
1313 .nr = UART_NR,
1327 if (index >= UART_NR) in cpm_uart_probe()
/drivers/mmc/card/
Dsdio_uart.c45 #define UART_NR 8 /* Number of UARTs this driver can handle */ macro
96 static struct sdio_uart_port *sdio_uart_table[UART_NR];
109 for (index = 0; index < UART_NR; index++) { in sdio_uart_add_port()
126 if (index >= UART_NR) in sdio_uart_port_get()
944 for (i = 0; i < UART_NR && len < PAGE_SIZE - 96; i++) { in sdio_uart_read_proc()
1115 sdio_uart_tty_driver = tty_drv = alloc_tty_driver(UART_NR); in sdio_uart_init()