Home
last modified time | relevance | path

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

12

/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()
/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()
/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()
/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.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/boot/compressed/
H A Duart-16550.c45 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/linux/arch/mips/kernel/
H A Dearly_printk_8250.c43 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
/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()
892 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
/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/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()
/linux/include/uapi/linux/
H A Dserial_reg.h142 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
/linux/drivers/tty/serial/8250/
H A D8250_fsl.c90 if ((lsr & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) in fsl8250_handle_irq()
H A D8250_port.c1468 if (!(lsr & UART_LSR_THRE)) in __stop_tx()
1526 if (lsr & UART_LSR_THRE) in __start_tx()
1816 !(serial_in(up, UART_LSR) & UART_LSR_THRE)) in serial8250_tx_chars()
1927 if ((status & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) { in serial8250_handle_irq()
2322 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_do_startup()
2769 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial8250_do_set_termios()
3270 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_console_putchar()
3315 wait_for_lsr(up, UART_LSR_THRE); in serial8250_console_fifo_write()
H A D8250_aspeed_vuart.c373 if (lsr & UART_LSR_THRE) in aspeed_vuart_handle_irq()
/linux/arch/arm/mach-orion5x/
H A Dterastation_pro2-setup.c189 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in tsp2_miconwrite()
H A Dkurobox_pro-setup.c211 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in kurobox_pro_miconwrite()
/linux/drivers/tty/serial/
H A Dpxa.c233 if (lsr & UART_LSR_THRE) in serial_pxa_irq()
450 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_pxa_set_termios()
H A Dsunsu.c467 if (status & UART_LSR_THRE) in sunsu_serial_interrupt()
837 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sunsu_change_speed()
991 } while (!(lsr & UART_LSR_THRE)); in sunsu_serio_write()
H A Domap-serial.c825 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_omap_set_termios()
1692 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset()
1693 (UART_LSR_THRE | UART_LSR_DR))) { in serial_omap_mdr1_errataset()
/linux/sound/drivers/
H A Dserial-u16550.c238 if (status & UART_LSR_THRE) in snd_uart16550_io_loop()
607 if ((inb(uart->base + UART_LSR) & UART_LSR_THRE) != 0) { in snd_uart16550_output_byte()
/linux/drivers/mmc/core/
H A Dsdio_uart.c285 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sdio_uart_change_speed()
520 if (lsr & UART_LSR_THRE) in sdio_uart_irq()

12