Searched refs:UART_LSR_DR (Results 1 – 6 of 6) sorted by relevance
46 #define UART_LSR_DR 0x01 /* Data ready */ macro114 if (!(readl(&plat->regs->lsr) & UART_LSR_DR)) in mt7620_serial_getc()125 return (readl(&plat->regs->lsr) & UART_LSR_DR) ? 1 : 0; in mt7620_serial_pending()
60 if (!(readl(priv->membase + UNIPHIER_UART_LSR) & UART_LSR_DR)) in uniphier_serial_getc()83 return readl(priv->membase + UNIPHIER_UART_LSR) & UART_LSR_DR; in uniphier_serial_pending()
50 #define UART_LSR_DR 0x01 /* Data ready */ macro161 if (!(readl(&priv->regs->lsr) & UART_LSR_DR)) in _mtk_serial_getc()170 return (readl(&priv->regs->lsr) & UART_LSR_DR) ? 1 : 0; in _mtk_serial_pending()
305 while ((serial_in(&com_port->lsr) & UART_LSR_DR) == 0) { in ns16550_getc()317 return (serial_in(&com_port->lsr) & UART_LSR_DR) != 0; in ns16550_tstc()404 return (serial_in(&com_port->lsr) & UART_LSR_DR) ? 1 : 0; in ns16550_serial_pending()413 if (!(serial_in(&com_port->lsr) & UART_LSR_DR)) in ns16550_serial_getc()
185 #define UART_LSR_DR 0x01 /* Data ready */ macro
131 #define UART_LSR_DR 0x01 /* Receiver data ready */ macro
Completed in 10 milliseconds