Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/serial/
Dserial_txx9.c62 #define UART_NR CONFIG_SERIAL_TXX9_NR_UARTS macro
867 static struct uart_txx9_port serial_txx9_ports[UART_NR];
874 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports()
944 if (co->index >= UART_NR) in serial_txx9_console_setup()
988 .nr = UART_NR,
1024 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1031 if (i == UART_NR) { in serial_txx9_register_port()
1033 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1039 if (i < UART_NR) { in serial_txx9_register_port()
1117 for (i = 0; i < UART_NR; i++) { in serial_txx9_remove()
[all …]
Dapbuart.c347 static struct uart_port grlib_apbuart_ports[UART_NR];
348 static struct device_node *grlib_apbuart_nodes[UART_NR];
544 .nr = UART_NR,
636 if (line == UART_NR) in grlib_apbuart_configure()
Damba-pl010.c38 #define UART_NR 8 macro
42 #define SERIAL_AMBA_NR UART_NR
564 static struct uart_amba_port *amba_ports[UART_NR];
651 if (co->index >= UART_NR) in pl010_console_setup()
694 .nr = UART_NR,
Dapbuart.h7 #define UART_NR 8 macro
Dmsm_serial.c1557 #define UART_NR ARRAY_SIZE(msm_uart_ports) macro
1629 BUG_ON(co->index < 0 || co->index >= UART_NR); in msm_console_write()
1645 if (unlikely(co->index >= UART_NR || co->index < 0)) in msm_console_setup()
1726 .nr = UART_NR,
1756 if (unlikely(line < 0 || line >= UART_NR)) in msm_serial_probe()
Dsunsu.c981 #define UART_NR 4 macro
983 static struct uart_sunsu_port sunsu_ports[UART_NR];
1426 if (nr_inst >= UART_NR) in su_probe()
Damba-pl011.c52 #define UART_NR 14 macro
56 #define SERIAL_AMBA_NR UART_NR
2195 static struct uart_amba_port *amba_ports[UART_NR];
2306 if (co->index >= UART_NR) in pl011_console_setup()
2508 .nr = UART_NR,
Dimx.c178 #define UART_NR 8 macro
1891 static struct imx_port *imx_uart_ports[UART_NR];
Dfsl_lpuart.c230 #define UART_NR 6 macro
1826 static struct lpuart_port *lpuart_ports[UART_NR];
/Linux-v4.19/drivers/tty/serial/cpm_uart/
Dcpm_uart.h38 #define UART_NR fs_uart_nr macro
87 extern struct uart_cpm_port cpm_uart_ports[UART_NR];
Dcpm_uart_core.c1138 struct uart_cpm_port cpm_uart_ports[UART_NR];
1298 if (co->index >= UART_NR) { in cpm_uart_console_setup()
1396 .nr = UART_NR,
1409 if (index >= UART_NR) in cpm_uart_probe()
/Linux-v4.19/drivers/tty/serial/8250/
D8250_core.c73 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro
401 static struct uart_8250_port serial8250_ports[UART_NR];
509 if (nr_uarts > UART_NR) in serial8250_isa_init_ports()
510 nr_uarts = UART_NR; in serial8250_isa_init_ports()
865 for (i = 0; i < UART_NR; i++) { in serial8250_suspend()
879 for (i = 0; i < UART_NR; i++) { in serial8250_resume()
1118 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init()
1120 serial8250_reg.nr = UART_NR; in serial8250_init()
1154 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_init()
1179 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_exit()
/Linux-v4.19/drivers/mmc/core/
Dsdio_uart.c48 #define UART_NR 8 /* Number of UARTs this driver can handle */ macro
87 static struct sdio_uart_port *sdio_uart_table[UART_NR];
100 for (index = 0; index < UART_NR; index++) { in sdio_uart_add_port()
117 if (index >= UART_NR) in sdio_uart_port_get()
972 for (i = 0; i < UART_NR; i++) { in sdio_uart_proc_show()
1142 sdio_uart_tty_driver = tty_drv = alloc_tty_driver(UART_NR); in sdio_uart_init()