Searched refs:UART_LSR_THRE (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/arch/mips/ath25/
H A Dearly_printk.c40 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0)
43 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0)
/linux-master/arch/mips/ralink/
H A Dearly_printk.c79 while ((uart_r32(UART_REG_LSR) & UART_LSR_THRE) == 0)
82 while ((uart_r32(UART_REG_LSR_RT2880) & UART_LSR_THRE) == 0)
85 while ((uart_r32(UART_REG_LSR_RT2880) & UART_LSR_THRE) == 0)
/linux-master/include/linux/
H A Dserial.h24 #define UART_LSR_BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/linux-master/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.S138 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
139 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
/linux-master/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);
/linux-master/arch/mips/kernel/
H A Dearly_printk_8250.c43 bits = UART_LSR_TEMT | UART_LSR_THRE;
/linux-master/arch/mips/boot/compressed/
H A Duart-16550.c45 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0))
/linux-master/arch/powerpc/platforms/embedded6xx/
H A Dls_uart.c39 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) {
/linux-master/arch/x86/platform/ce4100/
H A Dce4100.c45 * workaround for this silicon issue checks UART_LSR_THRE bit and UART_LSR_TEMT
67 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT))
/linux-master/drivers/tty/serial/8250/
H A D8250_fsl.c90 if ((lsr & UART_LSR_THRE) && (up->ier & UART_IER_THRI))
H A D8250_port.c1475 if (!(lsr & UART_LSR_THRE))
1533 if (lsr & UART_LSR_THRE)
1820 !(serial_in(up, UART_LSR) & UART_LSR_THRE))
1930 if ((status & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) {
2325 wait_for_xmitr(up, UART_LSR_THRE);
2772 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR;
3273 wait_for_xmitr(up, UART_LSR_THRE);
3318 wait_for_lsr(up, UART_LSR_THRE);
H A D8250_aspeed_vuart.c373 if (lsr & UART_LSR_THRE)
/linux-master/drivers/tty/serial/jsm/
H A Djsm_neo.c360 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR))
418 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) {
419 linestatus &= ~(UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR);
504 if (ch->ch_cached_lsr & UART_LSR_THRE) {
505 ch->ch_cached_lsr &= ~(UART_LSR_THRE);
904 if (linestatus & UART_LSR_THRE) {
/linux-master/drivers/bluetooth/
H A Ddtl1_cs.c115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE))
322 if (lsr & UART_LSR_THRE) {
/linux-master/arch/arm/mach-orion5x/
H A Dterastation_pro2-setup.c189 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE))
H A Dkurobox_pro-setup.c211 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE))
/linux-master/include/uapi/linux/
H A Dserial_reg.h142 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
/linux-master/drivers/tty/serial/
H A Dsunsu.c466 if (status & UART_LSR_THRE)
836 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR;
990 } while (!(lsr & UART_LSR_THRE));
H A Dpxa.c233 if (lsr & UART_LSR_THRE)
450 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR;
/linux-master/sound/drivers/
H A Dserial-u16550.c238 if (status & UART_LSR_THRE)
606 if ((inb(uart->base + UART_LSR) & UART_LSR_THRE) != 0) {
/linux-master/drivers/mmc/core/
H A Dsdio_uart.c285 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR;
520 if (lsr & UART_LSR_THRE)
/linux-master/drivers/tty/
H A Dmxser.c648 info->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR;
1643 if (iir == 0x02 && (status & UART_LSR_THRE))
1646 if (status & UART_LSR_THRE)

Completed in 245 milliseconds

12