Home
last modified time | relevance | path

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

/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.S138 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
139 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
/linux/include/linux/
H A Dserial.h24 #define UART_LSR_BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/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
/linux/arch/x86/platform/ce4100/
H A Dce4100.c67 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) in ce4100_mem_serial_in()
/linux/arch/powerpc/platforms/embedded6xx/
H A Dls_uart.c39 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) { in wd_stop()
/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()
953 if ((lsr & UART_LSR_TEMT) != UART_LSR_TEMT) { in tegra_uart_hw_deinit()
961 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()
738 (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()
H A Dsunsu.c550 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in sunsu_tx_empty()
H A Domap-serial.c583 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty()
/linux/include/uapi/linux/
H A Dserial_reg.h141 #define UART_LSR_TEMT 0x40 /* Transmitter empty */ macro
/linux/drivers/tty/serial/8250/
H A D8250_ingenic.c60 } while ((lsr & UART_LSR_TEMT) == 0); in ingenic_early_console_putc()
H A D8250_dw.c179 if (lsr & UART_LSR_TEMT) in dw8250_tx_wait_empty()
H A D8250_port.c1478 if (!(lsr & UART_LSR_TEMT)) { in __stop_tx()
2391 if (lsr & UART_LSR_TEMT && iir & UART_IIR_NO_INT) { in serial8250_do_startup()
H A D8250_exar.c541 if (lsr & (UART_LSR_TEMT | UART_LSR_THRE)) in exar_shutdown()
/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()
/linux/drivers/media/rc/
H A Dserial_ir.c205 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo()
/linux/drivers/tty/
H A Dmxser.c1090 result = ((status & UART_LSR_TEMT) ? TIOCSER_TEMT : 0); in mxser_get_lsr_info()
1388 return !(lsr & UART_LSR_TEMT); in mxser_tx_empty()
/linux/samples/vfio-mdev/
H A Dmtty.c639 lsr |= UART_LSR_TEMT | UART_LSR_THRE; in handle_bar_read()