Lines Matching full:uart
20 setup_serial_console(struct pcdp_uart *uart) in setup_serial_console() argument
27 mmio = (uart->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY); in setup_serial_console()
29 mmio ? "mmio" : "io", uart->addr.address); in setup_serial_console()
30 if (uart->baud) { in setup_serial_console()
31 p += sprintf(p, ",%llu", uart->baud); in setup_serial_console()
32 if (uart->bits) { in setup_serial_console()
33 switch (uart->parity) { in setup_serial_console()
38 p += sprintf(p, "%c%d", parity, uart->bits); in setup_serial_console()
42 add_preferred_console("uart", 8250, &options[9]); in setup_serial_console()
89 struct pcdp_uart *uart; in efi_setup_pcdp_console() local
111 for (i = 0, uart = pcdp->uart; i < pcdp->num_uarts; i++, uart++) { in efi_setup_pcdp_console()
112 if (uart->flags & PCDP_UART_PRIMARY_CONSOLE || serial) { in efi_setup_pcdp_console()
113 if (uart->type == PCDP_CONSOLE_UART) { in efi_setup_pcdp_console()
114 rc = setup_serial_console(uart); in efi_setup_pcdp_console()
121 for (dev = (struct pcdp_device *) (pcdp->uart + pcdp->num_uarts); in efi_setup_pcdp_console()