Lines Matching defs:vt8500_read
117 static inline unsigned int vt8500_read(struct uart_port *port, unsigned int off)
159 if ((vt8500_read(port, VT8500_URISR) & RXOVER)) {
165 while (vt8500_read(port, VT8500_URFIDX) & 0x1f00) {
206 while ((vt8500_read(port, VT8500_URFIDX) & 0x1f) < 16) {
248 isr = vt8500_read(port, VT8500_URISR);
267 return (vt8500_read(port, VT8500_URFIDX) & 0x1f) < 16 ?
275 usr = vt8500_read(port, VT8500_URUSR);
284 unsigned int lcr = vt8500_read(port, VT8500_URLCR);
298 vt8500_read(port, VT8500_URLCR) | VT8500_BREAK,
315 while ((vt8500_read(port, VT8500_URUSR) & (1 << 5)) && --loops)
377 lcr = vt8500_read(&vt8500_port->uart, VT8500_URLCR);
420 while ((vt8500_read(&vt8500_port->uart, VT8500_URFCR) & 0xc)
481 status = vt8500_read(port, VT8500_URFIDX);
503 ier = vt8500_read(&vt8500_port->uart, VT8500_URIER);
559 unsigned int status = vt8500_read(port, VT8500_URFIDX);
564 return vt8500_read(port, VT8500_RXFIFO) & 0xff;
572 status = vt8500_read(port, VT8500_URFIDX);