Lines Matching refs:membase
42 u32 ier = ioread32(port->membase + TIMBUART_IER) & ~RXFLAGS; in timbuart_stop_rx()
43 iowrite32(ier, port->membase + TIMBUART_IER); in timbuart_stop_rx()
49 u32 ier = ioread32(port->membase + TIMBUART_IER) & ~TXBAE; in timbuart_stop_tx()
50 iowrite32(ier, port->membase + TIMBUART_IER); in timbuart_stop_tx()
64 u32 isr = ioread32(port->membase + TIMBUART_ISR); in timbuart_tx_empty()
72 u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | in timbuart_flush_buffer()
75 iowrite8(ctl, port->membase + TIMBUART_CTRL); in timbuart_flush_buffer()
76 iowrite32(TXBF, port->membase + TIMBUART_ISR); in timbuart_flush_buffer()
84 while (ioread32(port->membase + TIMBUART_ISR) & RXDP) { in timbuart_rx_chars()
85 u8 ch = ioread8(port->membase + TIMBUART_RXFIFO); in timbuart_rx_chars()
100 while (!(ioread32(port->membase + TIMBUART_ISR) & TXBF) && in timbuart_tx_chars()
103 port->membase + TIMBUART_TXFIFO); in timbuart_tx_chars()
112 ioread8(port->membase + TIMBUART_CTRL), in timbuart_tx_chars()
114 ioread8(port->membase + TIMBUART_BAUDRATE)); in timbuart_tx_chars()
132 iowrite32(TXFLAGS, port->membase + TIMBUART_ISR); in timbuart_handle_tx_port()
156 u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | in timbuart_handle_rx_port()
158 iowrite8(ctl, port->membase + TIMBUART_CTRL); in timbuart_handle_rx_port()
164 iowrite32(RXFLAGS, port->membase + TIMBUART_ISR); in timbuart_handle_rx_port()
180 isr = ioread32(uart->port.membase + TIMBUART_ISR); in timbuart_tasklet()
191 iowrite32(ier, uart->port.membase + TIMBUART_IER); in timbuart_tasklet()
199 u8 cts = ioread8(port->membase + TIMBUART_CTRL); in timbuart_get_mctrl()
213 iowrite8(TIMBUART_CTRL_RTS, port->membase + TIMBUART_CTRL); in timbuart_set_mctrl()
215 iowrite8(0, port->membase + TIMBUART_CTRL); in timbuart_set_mctrl()
224 iowrite32(CTS_DELTA, port->membase + TIMBUART_ISR); in timbuart_mctrl_check()
245 iowrite8(TIMBUART_CTRL_FLSHRX, port->membase + TIMBUART_CTRL); in timbuart_startup()
246 iowrite32(0x1ff, port->membase + TIMBUART_ISR); in timbuart_startup()
249 port->membase + TIMBUART_IER); in timbuart_startup()
261 iowrite32(0, port->membase + TIMBUART_IER); in timbuart_shutdown()
300 iowrite8((u8)bindex, port->membase + TIMBUART_BAUDRATE); in timbuart_set_termios()
320 iounmap(port->membase); in timbuart_release_port()
321 port->membase = NULL; in timbuart_release_port()
337 port->membase = ioremap(port->mapbase, size); in timbuart_request_port()
338 if (port->membase == NULL) { in timbuart_request_port()
351 if (ioread8(uart->port.membase + TIMBUART_IPR)) { in timbuart_handleinterrupt()
352 uart->last_ier = ioread32(uart->port.membase + TIMBUART_IER); in timbuart_handleinterrupt()
355 iowrite32(0, uart->port.membase + TIMBUART_IER); in timbuart_handleinterrupt()
443 uart->port.membase = NULL; in timbuart_probe()