Home
last modified time | relevance | path

Searched refs:UART_LSR_DR (Results 1 – 6 of 6) sorted by relevance

/u-boot/drivers/serial/
A Dserial_mt7620.c46 #define UART_LSR_DR 0x01 /* Data ready */ macro
114 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()
A Dserial_uniphier.c60 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()
A Dserial_mtk.c50 #define UART_LSR_DR 0x01 /* Data ready */ macro
161 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()
A Dns16550.c305 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()
/u-boot/include/
A Dns16550.h185 #define UART_LSR_DR 0x01 /* Data ready */ macro
/u-boot/include/linux/
A Dserial_reg.h131 #define UART_LSR_DR 0x01 /* Receiver data ready */ macro

Completed in 10 milliseconds