Lines Matching defs:uart
22 setup_serial_console(struct pcdp_uart *uart)
29 mmio = (uart->addr.space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY);
30 p += sprintf(p, "console=uart,%s,0x%lx",
31 mmio ? "mmio" : "io", uart->addr.address);
32 if (uart->baud) {
33 p += sprintf(p, ",%lu", uart->baud);
34 if (uart->bits) {
35 switch (uart->parity) {
40 p += sprintf(p, "%c%d", parity, uart->bits);
88 struct pcdp_uart *uart;
110 for (i = 0, uart = pcdp->uart; i < pcdp->num_uarts; i++, uart++) {
111 if (uart->flags & PCDP_UART_PRIMARY_CONSOLE || serial) {
112 if (uart->type == PCDP_CONSOLE_UART) {
113 rc = setup_serial_console(uart);
120 for (dev = (struct pcdp_device *) (pcdp->uart + pcdp->num_uarts);