Searched refs:UART_NR (Results 1 – 14 of 14) sorted by relevance
/drivers/tty/serial/ |
D | clps711x.c | 45 #define UART_NR 2 macro 49 #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()
|
D | serial_txx9.c | 65 #define UART_NR CONFIG_SERIAL_TXX9_NR_UARTS macro 883 static struct uart_txx9_port serial_txx9_ports[UART_NR]; 890 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports() 960 if (co->index >= UART_NR) in serial_txx9_console_setup() 1004 .nr = UART_NR, 1040 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port() 1047 if (i == UART_NR) { in serial_txx9_register_port() 1049 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port() 1055 if (i < UART_NR) { in serial_txx9_register_port() 1133 for (i = 0; i < UART_NR; i++) { in serial_txx9_remove() [all …]
|
D | apbuart.c | 351 static struct uart_port grlib_apbuart_ports[UART_NR]; 352 static struct device_node *grlib_apbuart_nodes[UART_NR]; 548 .nr = UART_NR, 640 if (line == UART_NR) in grlib_apbuart_configure()
|
D | m32r_sio.c | 107 #define UART_NR ARRAY_SIZE(old_serial_port) macro 956 static struct uart_sio_port m32r_sio_ports[UART_NR]; 987 for (i = 0; i < UART_NR; i++) { in m32r_sio_register_ports() 1077 if (co->index >= UART_NR) in m32r_sio_console_setup() 1124 .nr = UART_NR, 1170 for (i = 0; i < UART_NR; i++) in m32r_sio_exit()
|
D | amba-pl010.c | 52 #define UART_NR 8 macro 56 #define SERIAL_AMBA_NR UART_NR 557 static struct uart_amba_port *amba_ports[UART_NR]; 643 if (co->index >= UART_NR) in pl010_console_setup() 685 .nr = UART_NR,
|
D | msm_serial.c | 755 #define UART_NR ARRAY_SIZE(msm_uart_ports) macro 782 BUG_ON(co->index < 0 || co->index >= UART_NR); in msm_console_write() 798 if (unlikely(co->index >= UART_NR || co->index < 0)) in msm_console_setup() 856 .nr = UART_NR, 872 if (unlikely(pdev->id < 0 || pdev->id >= UART_NR)) in msm_serial_probe()
|
D | apbuart.h | 6 #define UART_NR 8 macro
|
D | amba-pl011.c | 59 #define UART_NR 14 macro 63 #define SERIAL_AMBA_NR UART_NR 124 static struct uart_amba_port *amba_ports[UART_NR]; 1768 static struct uart_amba_port *amba_ports[UART_NR]; 1874 if (co->index >= UART_NR) in pl011_console_setup() 1924 .nr = UART_NR,
|
D | sunsu.c | 968 #define UART_NR 4 macro 970 static struct uart_sunsu_port sunsu_ports[UART_NR]; 1416 if (nr_inst >= UART_NR) in su_probe()
|
D | imx.c | 183 #define UART_NR 8 macro 1205 static struct imx_port *imx_ports[UART_NR];
|
/drivers/tty/serial/cpm_uart/ |
D | cpm_uart.h | 42 #define UART_NR fs_uart_nr macro 91 extern struct uart_cpm_port cpm_uart_ports[UART_NR];
|
D | cpm_uart_core.c | 1124 struct uart_cpm_port cpm_uart_ports[UART_NR]; 1260 if (co->index >= UART_NR) { in cpm_uart_console_setup() 1356 .nr = UART_NR, 1369 if (index >= UART_NR) in cpm_uart_probe()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 48 #define UART_NR 8 /* Number of UARTs this driver can handle */ macro 89 static struct sdio_uart_port *sdio_uart_table[UART_NR]; 103 for (index = 0; index < UART_NR; index++) { in sdio_uart_add_port() 120 if (index >= UART_NR) in sdio_uart_port_get() 991 for (i = 0; i < UART_NR; i++) { in sdio_uart_proc_show() 1174 sdio_uart_tty_driver = tty_drv = alloc_tty_driver(UART_NR); in sdio_uart_init()
|
/drivers/tty/serial/8250/ |
D | 8250.c | 115 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro 2684 static struct uart_8250_port serial8250_ports[UART_NR]; 2897 if (nr_uarts > UART_NR) in serial8250_console_init() 2898 nr_uarts = UART_NR; in serial8250_console_init() 3076 for (i = 0; i < UART_NR; i++) { in serial8250_suspend() 3090 for (i = 0; i < UART_NR; i++) { in serial8250_resume() 3258 if (nr_uarts > UART_NR) in serial8250_init() 3259 nr_uarts = UART_NR; in serial8250_init() 3266 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init() 3268 serial8250_reg.nr = UART_NR; in serial8250_init() [all …]
|