Home
last modified time | relevance | path

Searched refs:UART_LSR_TEMT (Results 1 – 25 of 31) sorted by relevance

12

/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 Dbrcmstb.S136 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
137 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
/openbmc/linux/include/linux/
H A Dserial.h24 #define UART_LSR_BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/openbmc/linux/arch/mips/kernel/
H A Dearly_printk_8250.c43 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
H A Dcps-vec-ns16550.S38 andi t0, t0, UART_LSR_TEMT
/openbmc/qemu/hw/char/
H A Dserial.c82 #define UART_LSR_TEMT 0x40 /* Transmitter empty */ macro
235 assert(!(s->lsr & UART_LSR_TEMT)); in serial_xmit()
281 s->lsr |= UART_LSR_TEMT; in serial_xmit()
356 s->lsr &= ~UART_LSR_TEMT; in serial_ioport_write()
660 if (s->lsr & UART_LSR_TEMT) { in serial_post_load()
675 if (!(s->lsr & UART_LSR_TEMT)) { in serial_post_load()
867 s->lsr = UART_LSR_TEMT | UART_LSR_THRE; in serial_reset()
/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.h172 #define UART_LSR_TEMT 0x40 /* Xmitter 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.h125 #define UART_LSR_TEMT 0x40 /* Transmitter empty */ macro
/openbmc/linux/include/uapi/linux/
H A Dserial_reg.h140 #define UART_LSR_TEMT 0x40 /* Transmitter empty */ macro
/openbmc/linux/drivers/tty/serial/
H A Dserial-tegra.c37 #define TX_EMPTY_STATUS (UART_LSR_TEMT | UART_LSR_THRE)
340 if ((lsr & UART_LSR_TEMT) && !(lsr & UART_LSR_DR)) in tegra_uart_fifo_reset()
947 if ((lsr & UART_LSR_TEMT) != UART_LSR_TEMT) { in tegra_uart_hw_deinit()
955 while ((lsr & UART_LSR_TEMT) != UART_LSR_TEMT) { in tegra_uart_hw_deinit()
H A Dsunplus-uart.c96 return (lsr & UART_LSR_TEMT) ? TIOCSER_TEMT : 0; in sunplus_tx_empty()
744 (val & UART_LSR_TEMT), 1, 10000); in sunplus_uart_putc()
H A Dpxa.c246 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty()
/openbmc/linux/arch/mips/ar7/
H A Dprom.c253 while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0) in prom_putchar()
/openbmc/u-boot/drivers/serial/
H A Dns16550.c169 if ((serial_in(&com_port->lsr) & (UART_LSR_TEMT | UART_LSR_THRE)) in NS16550_init()
177 while (!(serial_in(&com_port->lsr) & UART_LSR_TEMT)) in NS16550_init()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_ingenic.c60 } while ((lsr & UART_LSR_TEMT) == 0); in ingenic_early_console_putc()
H A D8250_exar.c263 if (lsr & (UART_LSR_TEMT | UART_LSR_THRE)) in exar_shutdown()
H A D8250_dw.c175 if (lsr & UART_LSR_TEMT) in dw8250_tx_wait_empty()
/openbmc/linux/drivers/usb/serial/
H A Df81232.c772 if ((tmp & UART_LSR_TEMT) != UART_LSR_TEMT) in f81232_tx_empty()
H A Dmos7720.c1546 if ((data & (UART_LSR_TEMT | UART_LSR_THRE)) in get_lsr_info()
1547 == (UART_LSR_TEMT | UART_LSR_THRE)) { in get_lsr_info()
/openbmc/linux/drivers/media/rc/
H A Dserial_ir.c204 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo()
/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_cls.c892 if (!(lsr & UART_LSR_TEMT)) in cls_get_uart_bytes_left()

12