Home
last modified time | relevance | path

Searched refs:LSR_RXRDY (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/uart/
H A Duart_dev_ns8250.c224 while (limit && (uart_getreg(bas, REG_LSR) & LSR_RXRDY) && --limit) { in ns8250_drain()
228 } while ((uart_getreg(bas, REG_LSR) & LSR_RXRDY) && --limit); in ns8250_drain()
270 if ((lsr & LSR_RXRDY) && (what & UART_FLUSH_RECEIVER)) in ns8250_flush()
439 return ((uart_getreg(bas, REG_LSR) & LSR_RXRDY) != 0 ? 1 : 0); in ns8250_rxready()
449 while ((uart_getreg(bas, REG_LSR) & LSR_RXRDY) == 0) { in ns8250_getc()
809 if (lsr & LSR_RXRDY) in ns8250_bus_ipend()
1027 while (lsr & LSR_RXRDY) { in ns8250_bus_receive()
1052 while (lsr & LSR_RXRDY) { in ns8250_bus_receive()
/freebsd/stand/i386/libi386/
H A Dcomconsole.c168 return (inb(comc_port + com_lsr) & LSR_RXRDY); in comc_ischar()
350 while (inb(comc_port + com_lsr) & LSR_RXRDY && ++tries < TRY_COUNT); in comc_setup()
/freebsd/usr.sbin/bhyve/
H A Duart_emul.c390 sc->lsr |= LSR_RXRDY; in uart_ns16550_read()
392 sc->lsr &= ~LSR_RXRDY; in uart_ns16550_read()
/freebsd/sys/dev/ic/
H A Dns16550.h122 #define LSR_RXRDY 0x01 macro