Lines Matching refs:membase
65 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_tx()
67 writel(cr, uap->port.membase + UART010_CR); in pl010_stop_tx()
76 cr = readb(uap->port.membase + UART010_CR); in pl010_start_tx()
78 writel(cr, uap->port.membase + UART010_CR); in pl010_start_tx()
87 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_rx()
89 writel(cr, uap->port.membase + UART010_CR); in pl010_stop_rx()
97 cr = readb(uap->port.membase + UART010_CR); in pl010_disable_ms()
99 writel(cr, uap->port.membase + UART010_CR); in pl010_disable_ms()
108 cr = readb(uap->port.membase + UART010_CR); in pl010_enable_ms()
110 writel(cr, uap->port.membase + UART010_CR); in pl010_enable_ms()
117 status = readb(port->membase + UART01x_FR); in pl010_rx_chars()
119 ch = readb(port->membase + UART01x_DR); in pl010_rx_chars()
128 rsr = readb(port->membase + UART01x_RSR) | UART_DUMMY_RSR_RX; in pl010_rx_chars()
130 writel(0, port->membase + UART01x_ECR); in pl010_rx_chars()
160 status = readb(port->membase + UART01x_FR); in pl010_rx_chars()
171 writel(port->x_char, port->membase + UART01x_DR); in pl010_tx_chars()
183 writel(xmit->buf[xmit->tail], port->membase + UART01x_DR); in pl010_tx_chars()
202 writel(0, port->membase + UART010_ICR); in pl010_modem_status()
204 status = readb(port->membase + UART01x_FR) & UART01x_FR_MODEM_ANY; in pl010_modem_status()
233 status = readb(port->membase + UART010_IIR); in pl010_int()
246 status = readb(port->membase + UART010_IIR); in pl010_int()
259 unsigned int status = readb(port->membase + UART01x_FR); in pl010_tx_empty()
269 status = readb(port->membase + UART01x_FR); in pl010_get_mctrl()
286 uap->data->set_mctrl(uap->dev, port->membase, mctrl); in pl010_set_mctrl()
295 lcr_h = readb(port->membase + UART010_LCRH); in pl010_break_ctl()
300 writel(lcr_h, port->membase + UART010_LCRH); in pl010_break_ctl()
329 uap->old_status = readb(port->membase + UART01x_FR) & UART01x_FR_MODEM_ANY; in pl010_startup()
335 port->membase + UART010_CR); in pl010_startup()
358 writel(0, port->membase + UART010_CR); in pl010_shutdown()
361 writel(readb(port->membase + UART010_LCRH) & in pl010_shutdown()
363 port->membase + UART010_LCRH); in pl010_shutdown()
444 old_cr = readb(port->membase + UART010_CR) & ~UART010_CR_MSIE; in pl010_set_termios()
451 writel((quot & 0xf00) >> 8, port->membase + UART010_LCRM); in pl010_set_termios()
452 writel(quot & 0xff, port->membase + UART010_LCRL); in pl010_set_termios()
459 writel(lcr_h, port->membase + UART010_LCRH); in pl010_set_termios()
460 writel(old_cr, port->membase + UART010_CR); in pl010_set_termios()
559 status = readb(port->membase + UART01x_FR); in pl010_console_putchar()
562 writel(ch, port->membase + UART01x_DR); in pl010_console_putchar()
577 old_cr = readb(port->membase + UART010_CR); in pl010_console_write()
578 writel(UART01x_CR_UARTEN, port->membase + UART010_CR); in pl010_console_write()
587 status = readb(port->membase + UART01x_FR); in pl010_console_write()
590 writel(old_cr, port->membase + UART010_CR); in pl010_console_write()
599 if (readb(uap->port.membase + UART010_CR) & UART01x_CR_UARTEN) { in pl010_console_get_options()
601 lcr_h = readb(uap->port.membase + UART010_LCRH); in pl010_console_get_options()
616 quot = readb(uap->port.membase + UART010_LCRL) | in pl010_console_get_options()
617 readb(uap->port.membase + UART010_LCRM) << 8; in pl010_console_get_options()
712 uap->port.membase = base; in pl010_probe()