vt8500_read
if ((vt8500_read(port, VT8500_URISR) & RXOVER)) {
while (vt8500_read(port, VT8500_URFIDX) & 0x1f00) {
unsigned int idx = vt8500_read(port, VT8500_URFIDX) & 0x1f;
isr = vt8500_read(port, VT8500_URISR);
usr = vt8500_read(port, VT8500_URUSR);
unsigned int lcr = vt8500_read(port, VT8500_URLCR);
vt8500_read(port, VT8500_URLCR) | VT8500_BREAK,
while ((vt8500_read(port, VT8500_URUSR) & (1 << 5)) && --loops)
lcr = vt8500_read(&vt8500_port->uart, VT8500_URLCR);
while ((vt8500_read(&vt8500_port->uart, VT8500_URFCR) & 0xc)
status = vt8500_read(port, VT8500_URFIDX);
ier = vt8500_read(&vt8500_port->uart, VT8500_URIER);
unsigned int status = vt8500_read(port, VT8500_URFIDX);
return vt8500_read(port, VT8500_RXFIFO) & 0xff;
status = vt8500_read(port, VT8500_URFIDX);