Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/tty/serial/
Dserial_txx9.c55 #define UART_NR CONFIG_SERIAL_TXX9_NR_UARTS macro
835 static struct uart_port serial_txx9_ports[UART_NR];
842 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports()
909 if (co->index >= UART_NR) in serial_txx9_console_setup()
952 .nr = UART_NR,
988 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
995 if (i == UART_NR) { in serial_txx9_register_port()
997 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1003 if (i < UART_NR) { in serial_txx9_register_port()
1082 for (i = 0; i < UART_NR; i++) { in serial_txx9_remove()
[all …]
Dapbuart.c341 static struct uart_port grlib_apbuart_ports[UART_NR];
342 static struct device_node *grlib_apbuart_nodes[UART_NR];
538 .nr = UART_NR,
631 if (line == UART_NR) in grlib_apbuart_configure()
Damba-pl010.c34 #define UART_NR 8 macro
38 #define SERIAL_AMBA_NR UART_NR
550 static struct uart_amba_port *amba_ports[UART_NR];
636 if (co->index >= UART_NR) in pl010_console_setup()
679 .nr = UART_NR,
Dapbuart.h7 #define UART_NR 8 macro
Dfsl_linflexuart.c117 #define UART_NR 4 macro
553 static struct uart_port *linflex_ports[UART_NR];
823 if (ret >= UART_NR) { in linflex_probe()
825 UART_NR); in linflex_probe()
Dmsm_serial.c1591 #define UART_NR ARRAY_SIZE(msm_uart_ports) macro
1677 BUG_ON(co->index < 0 || co->index >= UART_NR); in msm_console_write()
1693 if (unlikely(co->index >= UART_NR || co->index < 0)) in msm_console_setup()
1774 .nr = UART_NR,
1804 if (unlikely(line < 0 || line >= UART_NR)) in msm_serial_probe()
Dsunsu.c972 #define UART_NR 4 macro
974 static struct uart_sunsu_port sunsu_ports[UART_NR];
1438 if (nr_inst >= UART_NR) in su_probe()
Damba-pl011.c45 #define UART_NR 14 macro
49 #define SERIAL_AMBA_NR UART_NR
2292 static struct uart_amba_port *amba_ports[UART_NR];
2402 if (co->index >= UART_NR) in pl011_console_setup()
2636 .nr = UART_NR,
Dimx.c175 #define UART_NR 8 macro
1966 static struct imx_port *imx_uart_ports[UART_NR];
Dfsl_lpuart.c237 #define UART_NR 6 macro
2297 static struct lpuart_port *lpuart_ports[UART_NR];
/linux-5.19.10/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.c1144 struct uart_cpm_port cpm_uart_ports[UART_NR];
1310 if (co->index >= UART_NR) { in cpm_uart_console_setup()
1418 .nr = UART_NR,
1431 if (index >= UART_NR) in cpm_uart_probe()
/linux-5.19.10/drivers/tty/serial/8250/
D8250_core.c74 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro
386 static struct uart_8250_port serial8250_ports[UART_NR];
494 if (nr_uarts > UART_NR) in serial8250_isa_init_ports()
495 nr_uarts = UART_NR; in serial8250_isa_init_ports()
863 for (i = 0; i < UART_NR; i++) { in serial8250_suspend()
877 for (i = 0; i < UART_NR; i++) { in serial8250_resume()
1171 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init()
1173 serial8250_reg.nr = UART_NR; in serial8250_init()
1207 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_init()
1232 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_exit()
/linux-5.19.10/drivers/mmc/core/
Dsdio_uart.c45 #define UART_NR 8 /* Number of UARTs this driver can handle */ macro
84 static struct sdio_uart_port *sdio_uart_table[UART_NR];
97 for (index = 0; index < UART_NR; index++) { in sdio_uart_add_port()
114 if (index >= UART_NR) in sdio_uart_port_get()
955 for (i = 0; i < UART_NR; i++) { in sdio_uart_proc_show()
1125 sdio_uart_tty_driver = tty_drv = tty_alloc_driver(UART_NR, in sdio_uart_init()