Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dserial_txx9.c65 #define UART_NR CONFIG_SERIAL_TXX9_NR_UARTS macro
870 static struct uart_txx9_port serial_txx9_ports[UART_NR];
877 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports()
947 if (co->index >= UART_NR) in serial_txx9_console_setup()
991 .nr = UART_NR,
1027 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1034 if (i == UART_NR) { in serial_txx9_register_port()
1036 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port()
1042 if (i < UART_NR) { in serial_txx9_register_port()
1120 for (i = 0; i < UART_NR; i++) { in serial_txx9_remove()
[all …]
Dapbuart.c346 static struct uart_port grlib_apbuart_ports[UART_NR];
347 static struct device_node *grlib_apbuart_nodes[UART_NR];
543 .nr = UART_NR,
635 if (line == UART_NR) in grlib_apbuart_configure()
Dm32r_sio.c105 #define UART_NR ARRAY_SIZE(old_serial_port) macro
942 static struct uart_sio_port m32r_sio_ports[UART_NR];
973 for (i = 0; i < UART_NR; i++) { in m32r_sio_register_ports()
1064 if (co->index >= UART_NR) in m32r_sio_console_setup()
1111 .nr = UART_NR,
1157 for (i = 0; i < UART_NR; i++) in m32r_sio_exit()
Damba-pl010.c51 #define UART_NR 8 macro
55 #define SERIAL_AMBA_NR UART_NR
574 static struct uart_amba_port *amba_ports[UART_NR];
661 if (co->index >= UART_NR) in pl010_console_setup()
703 .nr = UART_NR,
Detraxfs-uart.c16 #define UART_NR CONFIG_ETRAX_SERIAL_PORTS macro
41 static struct uart_cris_port *etraxfs_uart_ports[UART_NR];
98 if (co->index < 0 || co->index >= UART_NR) in cris_console_setup()
131 .nr = UART_NR,
882 if (dev_id >= UART_NR) in etraxfs_uart_probe()
Dapbuart.h6 #define UART_NR 8 macro
Dmsm_serial.c1405 #define UART_NR ARRAY_SIZE(msm_uart_ports) macro
1486 BUG_ON(co->index < 0 || co->index >= UART_NR); in msm_console_write()
1502 if (unlikely(co->index >= UART_NR || co->index < 0)) in msm_console_setup()
1585 .nr = UART_NR,
1615 if (unlikely(line < 0 || line >= UART_NR)) in msm_serial_probe()
Damba-pl011.c63 #define UART_NR 14 macro
67 #define SERIAL_AMBA_NR UART_NR
2025 static struct uart_amba_port *amba_ports[UART_NR];
2135 if (co->index >= UART_NR) in pl011_console_setup()
2222 .nr = UART_NR,
Dsunsu.c980 #define UART_NR 4 macro
982 static struct uart_sunsu_port sunsu_ports[UART_NR];
1425 if (nr_inst >= UART_NR) in su_probe()
Dfsl_lpuart.c231 #define UART_NR 6 macro
1539 static struct lpuart_port *lpuart_ports[UART_NR];
Dimx.c181 #define UART_NR 8 macro
1607 static struct imx_port *imx_ports[UART_NR];
/drivers/tty/serial/8250/
D8250_core.c77 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro
407 static struct uart_8250_port serial8250_ports[UART_NR];
510 if (nr_uarts > UART_NR) in serial8250_isa_init_ports()
511 nr_uarts = UART_NR; in serial8250_isa_init_ports()
860 for (i = 0; i < UART_NR; i++) { in serial8250_suspend()
874 for (i = 0; i < UART_NR; i++) { in serial8250_resume()
1107 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init()
1109 serial8250_reg.nr = UART_NR; in serial8250_init()
1143 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_init()
1168 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_exit()
/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.c1157 struct uart_cpm_port cpm_uart_ports[UART_NR];
1317 if (co->index >= UART_NR) { in cpm_uart_console_setup()
1413 .nr = UART_NR,
1426 if (index >= UART_NR) in cpm_uart_probe()
/drivers/mmc/card/
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()
974 for (i = 0; i < UART_NR; i++) { in sdio_uart_proc_show()
1157 sdio_uart_tty_driver = tty_drv = alloc_tty_driver(UART_NR); in sdio_uart_init()