Home
last modified time | relevance | path

Searched refs:LSR_THRE (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/arch/x86/core/
Dearly_serial.c60 #define LSR_THRE BIT(5) macro
72 while ((IN(REG_LSR) & LSR_THRE) == 0) { in serout()
/Zephyr-latest/drivers/serial/
Duart_mchp_xec.c159 #define LSR_THRE 0x20 /* transmit holding register empty */ macro
596 while ((regs->LSR & LSR_THRE) == 0) { in uart_xec_poll_out()
646 for (i = 0; (i < size) && (regs->LSR & LSR_THRE) != 0; i++) { in uart_xec_fifo_fill()
754 ((regs->LSR & (LSR_TEMT | LSR_THRE)) != (LSR_TEMT | LSR_THRE))) { in uart_xec_irq_tx_complete()
Duart_ns16550.c233 #define LSR_THRE 0x20 /* transmit holding register empty */ macro
927 while ((ns16550_inbyte(dev_cfg, LSR(dev)) & LSR_THRE) == 0) {
1113 int ret = ((ns16550_inbyte(dev_cfg, LSR(dev)) & (LSR_TEMT | LSR_THRE))
1114 == (LSR_TEMT | LSR_THRE)) ? 1 : 0;