Lines Matching full:uart
63 /* Offset to UART registers from base of DCA */
160 struct uart_8250_port uart; in hpdca_init_one() local
169 memset(&uart, 0, sizeof(uart)); in hpdca_init_one()
172 uart.port.iotype = UPIO_MEM; in hpdca_init_one()
173 uart.port.flags = UPF_SKIP_TEST | UPF_SHARE_IRQ | UPF_BOOT_AUTOCONF; in hpdca_init_one()
174 uart.port.irq = d->ipl; in hpdca_init_one()
175 uart.port.uartclk = HPDCA_BAUD_BASE * 16; in hpdca_init_one()
176 uart.port.mapbase = (d->resource.start + UART_OFFSET); in hpdca_init_one()
177 uart.port.membase = (char *)(uart.port.mapbase + DIO_VIRADDRBASE); in hpdca_init_one()
178 uart.port.regshift = 1; in hpdca_init_one()
179 uart.port.dev = &d->dev; in hpdca_init_one()
180 line = serial8250_register_8250_port(&uart); in hpdca_init_one()
185 d->scode, uart.port.irq); in hpdca_init_one()
209 struct uart_8250_port uart; in hp300_8250_init() local
247 memset(&uart, 0, sizeof(uart)); in hp300_8250_init()
252 uart.port.iotype = UPIO_MEM; in hp300_8250_init()
253 uart.port.flags = UPF_SKIP_TEST | UPF_SHARE_IRQ in hp300_8250_init()
256 uart.port.irq = 0; in hp300_8250_init()
257 uart.port.uartclk = HPAPCI_BAUD_BASE * 16; in hp300_8250_init()
258 uart.port.mapbase = base; in hp300_8250_init()
259 uart.port.membase = (char *)(base + DIO_VIRADDRBASE); in hp300_8250_init()
260 uart.port.regshift = 2; in hp300_8250_init()
262 line = serial8250_register_8250_port(&uart); in hp300_8250_init()
265 dev_notice(uart.port.dev, in hp300_8250_init()
267 i, uart.port.irq); in hp300_8250_init()