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()
102 while (!(ioread32(port->membase + TIMBUART_ISR) & TXBF) && in timbuart_tx_chars()
105 port->membase + TIMBUART_TXFIFO); in timbuart_tx_chars()
114 ioread8(port->membase + TIMBUART_CTRL), in timbuart_tx_chars()
116 ioread8(port->membase + TIMBUART_BAUDRATE)); in timbuart_tx_chars()
134 iowrite32(TXFLAGS, port->membase + TIMBUART_ISR); in timbuart_handle_tx_port()
158 u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | in timbuart_handle_rx_port()
160 iowrite8(ctl, port->membase + TIMBUART_CTRL); in timbuart_handle_rx_port()
166 iowrite32(RXFLAGS, port->membase + TIMBUART_ISR); in timbuart_handle_rx_port()
182 isr = ioread32(uart->port.membase + TIMBUART_ISR); in timbuart_tasklet()
193 iowrite32(ier, uart->port.membase + TIMBUART_IER); in timbuart_tasklet()
201 u8 cts = ioread8(port->membase + TIMBUART_CTRL); in timbuart_get_mctrl()
215 iowrite8(TIMBUART_CTRL_RTS, port->membase + TIMBUART_CTRL); in timbuart_set_mctrl()
217 iowrite8(0, port->membase + TIMBUART_CTRL); in timbuart_set_mctrl()
226 iowrite32(CTS_DELTA, port->membase + TIMBUART_ISR); in timbuart_mctrl_check()
247 iowrite8(TIMBUART_CTRL_FLSHRX, port->membase + TIMBUART_CTRL); in timbuart_startup()
248 iowrite32(0x1ff, port->membase + TIMBUART_ISR); in timbuart_startup()
251 port->membase + TIMBUART_IER); in timbuart_startup()
263 iowrite32(0, port->membase + TIMBUART_IER); in timbuart_shutdown()
302 iowrite8((u8)bindex, port->membase + TIMBUART_BAUDRATE); in timbuart_set_termios()
322 iounmap(port->membase); in timbuart_release_port()
323 port->membase = NULL; in timbuart_release_port()
339 port->membase = ioremap(port->mapbase, size); in timbuart_request_port()
340 if (port->membase == NULL) { in timbuart_request_port()
353 if (ioread8(uart->port.membase + TIMBUART_IPR)) { in timbuart_handleinterrupt()
354 uart->last_ier = ioread32(uart->port.membase + TIMBUART_IER); in timbuart_handleinterrupt()
357 iowrite32(0, uart->port.membase + TIMBUART_IER); in timbuart_handleinterrupt()
445 uart->port.membase = NULL; in timbuart_probe()