Lines Matching refs:uart
23 setup_serial_console(struct pcdp_uart *uart) in setup_serial_console() argument
30 mmio = (uart->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY); in setup_serial_console()
32 mmio ? "mmio" : "io", uart->addr.address); in setup_serial_console()
33 if (uart->baud) { in setup_serial_console()
34 p += sprintf(p, ",%llu", uart->baud); in setup_serial_console()
35 if (uart->bits) { in setup_serial_console()
36 switch (uart->parity) { in setup_serial_console()
41 p += sprintf(p, "%c%d", parity, uart->bits); in setup_serial_console()
90 struct pcdp_uart *uart; in efi_setup_pcdp_console() local
112 for (i = 0, uart = pcdp->uart; i < pcdp->num_uarts; i++, uart++) { in efi_setup_pcdp_console()
113 if (uart->flags & PCDP_UART_PRIMARY_CONSOLE || serial) { in efi_setup_pcdp_console()
114 if (uart->type == PCDP_CONSOLE_UART) { in efi_setup_pcdp_console()
115 rc = setup_serial_console(uart); in efi_setup_pcdp_console()
122 for (dev = (struct pcdp_device *) (pcdp->uart + pcdp->num_uarts); in efi_setup_pcdp_console()