Lines Matching refs:vt8500_read
117 static inline unsigned int vt8500_read(struct uart_port *port, unsigned int off) in vt8500_read() function
159 if ((vt8500_read(port, VT8500_URISR) & RXOVER)) { in handle_rx()
165 while (vt8500_read(port, VT8500_URFIDX) & 0x1f00) { in handle_rx()
192 unsigned int idx = vt8500_read(port, VT8500_URFIDX) & 0x1f; in vt8500_tx_empty()
231 isr = vt8500_read(port, VT8500_URISR); in vt8500_irq()
252 usr = vt8500_read(port, VT8500_URUSR); in vt8500_get_mctrl()
261 unsigned int lcr = vt8500_read(port, VT8500_URLCR); in vt8500_set_mctrl()
275 vt8500_read(port, VT8500_URLCR) | VT8500_BREAK, in vt8500_break_ctl()
292 while ((vt8500_read(port, VT8500_URUSR) & (1 << 5)) && --loops) in vt8500_set_baud_rate()
354 lcr = vt8500_read(&vt8500_port->uart, VT8500_URLCR); in vt8500_set_termios()
397 while ((vt8500_read(&vt8500_port->uart, VT8500_URFCR) & 0xc) in vt8500_set_termios()
458 status = vt8500_read(port, VT8500_URFIDX); in wait_for_xmitr()
480 ier = vt8500_read(&vt8500_port->uart, VT8500_URIER); in vt8500_console_write()
536 unsigned int status = vt8500_read(port, VT8500_URFIDX); in vt8500_get_poll_char()
541 return vt8500_read(port, VT8500_RXFIFO) & 0xff; in vt8500_get_poll_char()
549 status = vt8500_read(port, VT8500_URFIDX); in vt8500_put_poll_char()