Home
last modified time | relevance | path

Searched refs:UART_LSR_THRE (Results 1 – 25 of 45) sorted by relevance

12

/openbmc/linux/arch/mips/ralink/
H A Dearly_printk.c79 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 Dearly_printk.c40 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 Dns16550.c26 #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 Dserial_mtk.c48 #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(&regs->lsr) & UART_LSR_THRE)) in _debug_uart_putc()
H A Dns16550.c169 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 Dserial_uniphier.c73 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 Dserial_omap.c88 while (!(serial_din(&com_port->lsr) & UART_LSR_THRE)) in _debug_uart_putc()
/openbmc/u-boot/arch/arm/include/debug/
H A D8250.S40 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 D8250.S43 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
44 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
H A Domap2plus.S73 and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
74 teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
H A Dtegra.S202 and \rd, \rd, #UART_LSR_THRE
203 teq \rd, #UART_LSR_THRE
H A Dbrcmstb.S136 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
137 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
/openbmc/qemu/hw/char/
H A Dserial.c83 #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 Dserial.h24 #define UART_LSR_BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/openbmc/u-boot/arch/arm/mach-uniphier/
H A Ddebug.h26 while (!(readl(base + UNIPHIER_UART_LSR) & UART_LSR_THRE)) in debug_putc()
/openbmc/linux/arch/mips/kernel/
H A Dearly_printk_8250.c43 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
/openbmc/linux/arch/mips/boot/compressed/
H A Duart-16550.c48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/openbmc/u-boot/arch/arm/mach-uniphier/debug-uart/
H A Ddebug-uart.c23 while (!(readl(base + UNIPHIER_UART_LSR) & UART_LSR_THRE)) in _debug_uart_putc()
/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_neo.c360 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 Dce4100.c67 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) in ce4100_mem_serial_in()
/openbmc/u-boot/include/
H A Dns16550.h171 #define UART_LSR_THRE 0x20 /* Xmit holding register empty */ macro
/openbmc/linux/arch/powerpc/platforms/embedded6xx/
H A Dls_uart.c39 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) { in wd_stop()
/openbmc/u-boot/include/linux/
H A Dserial_reg.h126 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
/openbmc/linux/drivers/bluetooth/
H A Ddtl1_cs.c115 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 Dserial_reg.h141 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro

12