Home
last modified time | relevance | path

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

/linux/drivers/tty/serial/
A Dserial_txx9.c869 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports()
939 if (co->index >= UART_NR) in serial_txx9_console_setup()
983 .nr = UART_NR,
1019 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1026 if (i == UART_NR) { in serial_txx9_register_port()
1028 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1034 if (i < UART_NR) { in serial_txx9_register_port()
1113 for (i = 0; i < UART_NR; i++) { in serial_txx9_remove()
1127 for (i = 0; i < UART_NR; i++) { in serial_txx9_suspend()
1141 for (i = 0; i < UART_NR; i++) { in serial_txx9_resume()
[all …]
A 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()
A Damba-pl010.c34 #define UART_NR 8 macro
38 #define SERIAL_AMBA_NR UART_NR
558 static struct uart_amba_port *amba_ports[UART_NR];
645 if (co->index >= UART_NR) in pl010_console_setup()
688 .nr = UART_NR,
A Dfsl_linflexuart.c117 #define UART_NR 4 macro
565 static struct uart_port *linflex_ports[UART_NR];
835 if (ret >= UART_NR) { in linflex_probe()
837 UART_NR); in linflex_probe()
A Dapbuart.h7 #define UART_NR 8 macro
A Dmsm_serial.c1580 #define UART_NR ARRAY_SIZE(msm_uart_ports) macro
1661 BUG_ON(co->index < 0 || co->index >= UART_NR); in msm_console_write()
1677 if (unlikely(co->index >= UART_NR || co->index < 0)) in msm_console_setup()
1758 .nr = UART_NR,
1788 if (unlikely(line < 0 || line >= UART_NR)) in msm_serial_probe()
A Dsunsu.c973 #define UART_NR 4 macro
975 static struct uart_sunsu_port sunsu_ports[UART_NR];
1439 if (nr_inst >= UART_NR) in su_probe()
A Damba-pl011.c47 #define UART_NR 14 macro
51 #define SERIAL_AMBA_NR UART_NR
2320 static struct uart_amba_port *amba_ports[UART_NR];
2430 if (co->index >= UART_NR) in pl011_console_setup()
2664 .nr = UART_NR,
A Dfsl_lpuart.c237 #define UART_NR 6 macro
2320 static struct lpuart_port *lpuart_ports[UART_NR];
2705 ret = ida_simple_get(&fsl_lpuart_ida, 0, UART_NR, GFP_KERNEL); in lpuart_probe()
A Dimx.c175 #define UART_NR 8 macro
1955 static struct imx_port *imx_uart_ports[UART_NR];
/linux/drivers/tty/serial/8250/
A D8250_core.c74 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro
387 static struct uart_8250_port serial8250_ports[UART_NR];
495 if (nr_uarts > UART_NR) in serial8250_isa_init_ports()
496 nr_uarts = UART_NR; in serial8250_isa_init_ports()
862 for (i = 0; i < UART_NR; i++) { in serial8250_suspend()
876 for (i = 0; i < UART_NR; i++) { in serial8250_resume()
1170 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init()
1172 serial8250_reg.nr = UART_NR; in serial8250_init()
1206 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_init()
1231 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_exit()
/linux/drivers/tty/serial/cpm_uart/
A Dcpm_uart.h40 #define UART_NR fs_uart_nr macro
89 extern struct uart_cpm_port cpm_uart_ports[UART_NR];
A 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/drivers/mmc/core/
A Dsdio_uart.c44 #define UART_NR 8 /* Number of UARTs this driver can handle */ macro
83 static struct sdio_uart_port *sdio_uart_table[UART_NR];
96 for (index = 0; index < UART_NR; index++) { in sdio_uart_add_port()
113 if (index >= UART_NR) in sdio_uart_port_get()
968 for (i = 0; i < UART_NR; i++) { in sdio_uart_proc_show()
1138 sdio_uart_tty_driver = tty_drv = tty_alloc_driver(UART_NR, in sdio_uart_init()

Completed in 61 milliseconds