Lines Matching refs:uart
436 struct uart_8250_port uart, *port; in serial_pnp_probe() local
445 memset(&uart, 0, sizeof(uart)); in serial_pnp_probe()
447 uart.port.irq = pnp_irq(dev, 0); in serial_pnp_probe()
449 uart.port.iobase = pnp_port_start(dev, 2); in serial_pnp_probe()
450 uart.port.iotype = UPIO_PORT; in serial_pnp_probe()
452 uart.port.iobase = pnp_port_start(dev, 0); in serial_pnp_probe()
453 uart.port.iotype = UPIO_PORT; in serial_pnp_probe()
455 uart.port.mapbase = pnp_mem_start(dev, 0); in serial_pnp_probe()
456 uart.port.iotype = UPIO_MEM; in serial_pnp_probe()
457 uart.port.flags = UPF_IOREMAP; in serial_pnp_probe()
463 uart.port.iobase, (unsigned long long)uart.port.mapbase, in serial_pnp_probe()
464 uart.port.irq, uart.port.iotype); in serial_pnp_probe()
467 uart.port.flags |= UPF_FIXED_PORT | UPF_FIXED_TYPE; in serial_pnp_probe()
468 uart.port.type = PORT_8250_CIR; in serial_pnp_probe()
471 uart.port.flags |= UPF_SKIP_TEST | UPF_BOOT_AUTOCONF; in serial_pnp_probe()
473 uart.port.flags |= UPF_SHARE_IRQ; in serial_pnp_probe()
474 uart.port.uartclk = 1843200; in serial_pnp_probe()
475 device_property_read_u32(&dev->dev, "clock-frequency", &uart.port.uartclk); in serial_pnp_probe()
476 uart.port.dev = &dev->dev; in serial_pnp_probe()
478 line = serial8250_register_8250_port(&uart); in serial_pnp_probe()