/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | serial_txx9.c | 55 #define UART_NR CONFIG_SERIAL_TXX9_NR_UARTS macro 812 static struct uart_port serial_txx9_ports[UART_NR]; 819 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports() 886 if (co->index >= UART_NR) in serial_txx9_console_setup() 929 .nr = UART_NR, 965 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port() 972 if (i == UART_NR) { in serial_txx9_register_port() 974 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port() 980 if (i < UART_NR) { in serial_txx9_register_port() 1059 for (i = 0; i < UART_NR; in serial_txx9_remove() [all...] |
H A D | amba-pl010.c | 34 #define UART_NR 8 macro 38 #define SERIAL_AMBA_NR UART_NR 529 static struct uart_amba_port *amba_ports[UART_NR]; 615 if (co->index >= UART_NR) in pl010_console_setup() 658 .nr = UART_NR,
|
H A D | apbuart.c | 315 static struct uart_port grlib_apbuart_ports[UART_NR]; 316 static struct device_node *grlib_apbuart_nodes[UART_NR]; 512 .nr = UART_NR, 604 /* We support maximum UART_NR uarts ... */ in grlib_apbuart_configure() 605 if (line == UART_NR) in grlib_apbuart_configure()
|
H A D | apbuart.h | 7 #define UART_NR 8 macro
|
H A D | cpm_uart.h | 32 #define UART_NR 6 macro
|
H A D | fsl_linflexuart.c | 117 #define UART_NR 4 macro 552 static struct uart_port *linflex_ports[UART_NR]; 822 if (ret >= UART_NR) { in linflex_probe() 824 UART_NR); in linflex_probe()
|
H A D | cpm_uart.c | 1208 static struct uart_cpm_port cpm_uart_ports[UART_NR]; 1409 if (co->index >= UART_NR) { in cpm_uart_console_setup() 1518 .nr = UART_NR, 1531 if (index >= UART_NR) in cpm_uart_probe()
|
H A D | samsung_tty.c | 53 #define UART_NR 12 macro 55 #define UART_NR CONFIG_SERIAL_SAMSUNG_UARTS macro 97 const unsigned int fifosize[UART_NR]; 1821 .nr = UART_NR, 1828 static struct s3c24xx_uart_port s3c24xx_serial_ports[UART_NR]; 2464 if (co->index == -1 || co->index >= UART_NR) in s3c24xx_serial_console_setup()
|
H A D | sunsu.c | 971 #define UART_NR 4 macro 973 static struct uart_sunsu_port sunsu_ports[UART_NR]; 1435 if (nr_inst >= UART_NR) in su_probe()
|
H A D | amba-pl011.c | 45 #define UART_NR 14 macro 49 #define SERIAL_AMBA_NR UART_NR 2307 static struct uart_amba_port *amba_ports[UART_NR]; 2417 if (co->index >= UART_NR) in pl011_console_setup() 2651 .nr = UART_NR,
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | serial_txx9.c | 58 #define UART_NR CONFIG_SERIAL_TXX9_NR_UARTS macro 864 static struct uart_txx9_port serial_txx9_ports[UART_NR]; 871 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_ports() 941 if (co->index >= UART_NR) in serial_txx9_console_setup() 985 .nr = UART_NR, 1021 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port() 1028 if (i == UART_NR) { in serial_txx9_register_port() 1030 for (i = 0; i < UART_NR; i++) { in serial_txx9_register_port() 1036 if (i < UART_NR) { in serial_txx9_register_port() 1115 for (i = 0; i < UART_NR; in serial_txx9_remove() [all...] |
H A D | apbuart.c | 343 static struct uart_port grlib_apbuart_ports[UART_NR]; 344 static struct device_node *grlib_apbuart_nodes[UART_NR]; 540 .nr = UART_NR, 632 /* We support maximum UART_NR uarts ... */ in grlib_apbuart_configure() 633 if (line == UART_NR) in grlib_apbuart_configure()
|
H A D | amba-pl010.c | 34 #define UART_NR 8 macro 38 #define SERIAL_AMBA_NR UART_NR 557 static struct uart_amba_port *amba_ports[UART_NR]; 644 if (co->index >= UART_NR) in pl010_console_setup() 687 .nr = UART_NR,
|
H A D | apbuart.h | 7 #define UART_NR 8 macro
|
H A D | fsl_linflexuart.c | 117 #define UART_NR 4 macro 566 static struct uart_port *linflex_ports[UART_NR]; 836 if (ret >= UART_NR) { in linflex_probe() 838 UART_NR); in linflex_probe()
|
H A D | msm_serial.c | 1585 #define UART_NR ARRAY_SIZE(msm_uart_ports) macro 1671 BUG_ON(co->index < 0 || co->index >= UART_NR); in msm_console_write() 1687 if (unlikely(co->index >= UART_NR || co->index < 0)) in msm_console_setup() 1768 .nr = UART_NR, 1798 if (unlikely(line < 0 || line >= UART_NR)) in msm_serial_probe()
|
H A D | sunsu.c | 977 #define UART_NR 4 macro 979 static struct uart_sunsu_port sunsu_ports[UART_NR]; 1443 if (nr_inst >= UART_NR) in su_probe()
|
H A D | amba-pl011.c | 47 #define UART_NR 14 macro 51 #define SERIAL_AMBA_NR UART_NR 2191 static struct uart_amba_port *amba_ports[UART_NR]; 2301 if (co->index >= UART_NR) in pl011_console_setup() 2535 .nr = UART_NR,
|
H A D | fsl_lpuart.c | 227 #define UART_NR 6 macro 2284 static struct lpuart_port *lpuart_ports[UART_NR];
|
/kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 75 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro 393 static struct uart_8250_port serial8250_ports[UART_NR]; 495 if (index >= UART_NR) in serial8250_setup_port() 530 if (nr_uarts > UART_NR) in serial8250_isa_init_ports() 531 nr_uarts = UART_NR; in serial8250_isa_init_ports() 614 if (co->index >= UART_NR) in univ8250_console_setup() 903 for (i = 0; i < UART_NR; i++) { in serial8250_suspend() 917 for (i = 0; i < UART_NR; i++) { in serial8250_resume() 1232 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init() 1234 serial8250_reg.nr = UART_NR; in serial8250_init() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart.h | 40 #define UART_NR fs_uart_nr macro 89 extern struct uart_cpm_port cpm_uart_ports[UART_NR];
|
H A D | cpm_uart_core.c | 1134 struct uart_cpm_port cpm_uart_ports[UART_NR]; 1292 if (co->index >= UART_NR) { in cpm_uart_console_setup() 1391 .nr = UART_NR, 1404 if (index >= UART_NR) in cpm_uart_probe()
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 75 #define UART_NR CONFIG_SERIAL_8250_NR_UARTS macro 404 static struct uart_8250_port serial8250_ports[UART_NR]; 512 if (nr_uarts > UART_NR) in serial8250_isa_init_ports() 513 nr_uarts = UART_NR; in serial8250_isa_init_ports() 882 for (i = 0; i < UART_NR; i++) { in serial8250_suspend() 896 for (i = 0; i < UART_NR; i++) { in serial8250_resume() 1192 ret = sunserial_register_minors(&serial8250_reg, UART_NR); in serial8250_init() 1194 serial8250_reg.nr = UART_NR; in serial8250_init() 1228 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_init() 1253 sunserial_unregister_minors(&serial8250_reg, UART_NR); in serial8250_exit() [all...] |
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | sdio_uart.c | 44 #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 = alloc_tty_driver(UART_NR); in sdio_uart_init()
|
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | sdio_uart.c | 45 #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() 954 for (i = 0; i < UART_NR; i++) { in sdio_uart_proc_show() 1124 sdio_uart_tty_driver = tty_drv = tty_alloc_driver(UART_NR, in sdio_uart_init()
|