Lines Matching refs:nr_uarts
57 static unsigned int nr_uarts = CONFIG_SERIAL_8250_RUNTIME_UARTS; variable
2706 for (i = 0; i < nr_uarts; i++) { in serial8250_isa_init_ports()
2729 i < ARRAY_SIZE(old_serial_port) && i < nr_uarts; in serial8250_isa_init_ports()
2764 for (i = 0; i < nr_uarts; i++) { in serial8250_register_ports()
2771 for (i = 0; i < nr_uarts; i++) { in serial8250_register_ports()
2867 if (co->index >= nr_uarts) in serial8250_console_setup()
2897 if (nr_uarts > UART_NR) in serial8250_console_init()
2898 nr_uarts = UART_NR; in serial8250_console_init()
2911 for (line = 0; line < nr_uarts; line++) { in serial8250_find_port()
3063 for (i = 0; i < nr_uarts; i++) { in serial8250_remove()
3131 for (i = 0; i < nr_uarts; i++) in serial8250_find_match_or_unused()
3140 for (i = 0; i < nr_uarts; i++) in serial8250_find_match_or_unused()
3149 for (i = 0; i < nr_uarts; i++) in serial8250_find_match_or_unused()
3258 if (nr_uarts > UART_NR) in serial8250_init()
3259 nr_uarts = UART_NR; in serial8250_init()
3262 "%d ports, IRQ sharing %sabled\n", nr_uarts, in serial8250_init()
3338 module_param(nr_uarts, uint, 0644);
3339 MODULE_PARM_DESC(nr_uarts, "Maximum number of UARTs supported. (1-" __MODULE_STRING(CONFIG_SERIAL_8…