/openbmc/linux/arch/mips/ralink/ |
H A D | early_printk.c | 79 while ((uart_r32(UART_REG_LSR) & UART_LSR_THRE) == 0) in prom_putchar() 82 while ((uart_r32(UART_REG_LSR_RT2880) & UART_LSR_THRE) == 0) in prom_putchar() 85 while ((uart_r32(UART_REG_LSR_RT2880) & UART_LSR_THRE) == 0) in prom_putchar()
|
/openbmc/linux/arch/mips/ath25/ |
H A D | early_printk.c | 40 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar() 43 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | ns16550.c | 26 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro 42 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_THRE) == 0); in ns16550_putc()
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_mtk.c | 48 #define UART_LSR_THRE 0x20 /* Xmit holding register empty */ macro 140 if (!(readl(&priv->regs->lsr) & UART_LSR_THRE)) in mtk_serial_putc() 168 return (readl(&priv->regs->lsr) & UART_LSR_THRE) ? 0 : 1; in mtk_serial_pending() 260 while (!(readl(®s->lsr) & UART_LSR_THRE)) in _debug_uart_putc()
|
H A D | ns16550.c | 169 if ((serial_in(&com_port->lsr) & (UART_LSR_TEMT | UART_LSR_THRE)) in NS16550_init() 170 == UART_LSR_THRE) { in NS16550_init() 214 while ((serial_in(&com_port->lsr) & UART_LSR_THRE) == 0) in NS16550_putc() 291 while (!(serial_din(&com_port->lsr) & UART_LSR_THRE)) { in _debug_uart_putc() 309 if (!(serial_in(&com_port->lsr) & UART_LSR_THRE)) in ns16550_serial_putc() 332 return (serial_in(&com_port->lsr) & UART_LSR_THRE) ? 0 : 1; in ns16550_serial_pending()
|
H A D | serial_uniphier.c | 73 if (!(readl(&port->lsr) & UART_LSR_THRE)) in uniphier_serial_putc() 88 return !(readl(&port->lsr) & UART_LSR_THRE); in uniphier_serial_pending()
|
H A D | serial_omap.c | 88 while (!(serial_din(&com_port->lsr) & UART_LSR_THRE)) in _debug_uart_putc()
|
/openbmc/u-boot/arch/arm/include/debug/ |
H A D | 8250.S | 40 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE 41 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
|
/openbmc/linux/arch/arm/include/debug/ |
H A D | 8250.S | 43 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE 44 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
|
H A D | omap2plus.S | 73 and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) 74 teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
|
H A D | tegra.S | 202 and \rd, \rd, #UART_LSR_THRE 203 teq \rd, #UART_LSR_THRE
|
H A D | brcmstb.S | 136 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE 137 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
|
/openbmc/qemu/hw/char/ |
H A D | serial.c | 83 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro 237 assert(!(s->lsr & UART_LSR_THRE)); in serial_xmit() 243 s->lsr |= UART_LSR_THRE; in serial_xmit() 247 s->lsr |= UART_LSR_THRE; in serial_xmit() 249 if ((s->lsr & UART_LSR_THRE) && !s->thr_ipending) { in serial_xmit() 278 } while (!(s->lsr & UART_LSR_THRE)); in serial_xmit() 355 s->lsr &= ~UART_LSR_THRE; in serial_ioport_write() 395 if ((s->ier & UART_IER_THRI) && (s->lsr & UART_LSR_THRE)) { in serial_ioport_write() 423 s->lsr |= UART_LSR_THRE; in serial_ioport_write() 867 s->lsr = UART_LSR_TEMT | UART_LSR_THRE; in serial_reset()
|
/openbmc/linux/include/linux/ |
H A D | serial.h | 24 #define UART_LSR_BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
|
/openbmc/u-boot/arch/arm/mach-uniphier/ |
H A D | debug.h | 26 while (!(readl(base + UNIPHIER_UART_LSR) & UART_LSR_THRE)) in debug_putc()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | early_printk_8250.c | 43 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
|
/openbmc/linux/arch/mips/boot/compressed/ |
H A D | uart-16550.c | 48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/openbmc/u-boot/arch/arm/mach-uniphier/debug-uart/ |
H A D | debug-uart.c | 23 while (!(readl(base + UNIPHIER_UART_LSR) & UART_LSR_THRE)) in _debug_uart_putc()
|
/openbmc/linux/drivers/tty/serial/jsm/ |
H A D | jsm_neo.c | 360 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) in neo_copy_data_from_uart_to_queue() 418 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) { in neo_copy_data_from_uart_to_queue() 419 linestatus &= ~(UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR); in neo_copy_data_from_uart_to_queue() 504 if (ch->ch_cached_lsr & UART_LSR_THRE) { in neo_copy_data_from_queue_to_uart() 505 ch->ch_cached_lsr &= ~(UART_LSR_THRE); in neo_copy_data_from_queue_to_uart() 904 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
|
/openbmc/linux/arch/x86/platform/ce4100/ |
H A D | ce4100.c | 67 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) in ce4100_mem_serial_in()
|
/openbmc/u-boot/include/ |
H A D | ns16550.h | 171 #define UART_LSR_THRE 0x20 /* Xmit holding register empty */ macro
|
/openbmc/linux/arch/powerpc/platforms/embedded6xx/ |
H A D | ls_uart.c | 39 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) { in wd_stop()
|
/openbmc/u-boot/include/linux/ |
H A D | serial_reg.h | 126 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
|
/openbmc/linux/drivers/bluetooth/ |
H A D | dtl1_cs.c | 115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write() 322 if (lsr & UART_LSR_THRE) { in dtl1_interrupt()
|
/openbmc/linux/include/uapi/linux/ |
H A D | serial_reg.h | 141 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
|