/linux-6.1.9/arch/mips/ralink/ |
D | early_printk.c | 79 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-6.1.9/arch/mips/ath25/ |
D | early_printk.c | 40 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-6.1.9/arch/powerpc/boot/ |
D | ns16550.c | 26 #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-6.1.9/arch/arm/include/debug/ |
D | 8250.S | 43 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE 44 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
|
D | omap2plus.S | 73 and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) 74 teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
|
D | tegra.S | 202 and \rd, \rd, #UART_LSR_THRE 203 teq \rd, #UART_LSR_THRE
|
D | brcmstb.S | 136 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE 137 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
|
/linux-6.1.9/include/linux/ |
D | serial.h | 19 #define UART_LSR_BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-6.1.9/arch/mips/kernel/ |
D | early_printk_8250.c | 43 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
|
/linux-6.1.9/arch/mips/boot/compressed/ |
D | uart-16550.c | 48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/linux-6.1.9/drivers/tty/serial/jsm/ |
D | jsm_neo.c | 360 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()
|
/linux-6.1.9/arch/x86/platform/ce4100/ |
D | ce4100.c | 67 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) in ce4100_mem_serial_in()
|
/linux-6.1.9/arch/powerpc/platforms/embedded6xx/ |
D | ls_uart.c | 38 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) { in wd_stop()
|
/linux-6.1.9/drivers/bluetooth/ |
D | dtl1_cs.c | 115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write() 322 if (lsr & UART_LSR_THRE) { in dtl1_interrupt()
|
/linux-6.1.9/include/uapi/linux/ |
D | serial_reg.h | 136 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
|
/linux-6.1.9/drivers/tty/serial/8250/ |
D | 8250_fsl.c | 77 if ((lsr & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) in fsl8250_handle_irq()
|
D | 8250_port.c | 1516 if (!(lsr & UART_LSR_THRE)) in __stop_tx() 1574 if (lsr & UART_LSR_THRE) in __start_tx() 1854 !(serial_in(up, UART_LSR) & UART_LSR_THRE)) in serial8250_tx_chars() 1947 if ((status & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) { in serial8250_handle_irq() 2328 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_do_startup() 2804 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial8250_do_set_termios() 3313 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_console_putchar() 3358 wait_for_lsr(up, UART_LSR_THRE); in serial8250_console_fifo_write()
|
D | 8250_aspeed_vuart.c | 371 if (lsr & UART_LSR_THRE) in aspeed_vuart_handle_irq()
|
/linux-6.1.9/arch/arm/mach-orion5x/ |
D | terastation_pro2-setup.c | 189 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in tsp2_miconwrite()
|
D | kurobox_pro-setup.c | 211 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in kurobox_pro_miconwrite()
|
/linux-6.1.9/sound/drivers/ |
D | serial-u16550.c | 238 if (status & UART_LSR_THRE) in snd_uart16550_io_loop() 606 if ((inb(uart->base + UART_LSR) & UART_LSR_THRE) != 0) { in snd_uart16550_output_byte()
|
/linux-6.1.9/drivers/tty/serial/ |
D | pxa.c | 256 if (lsr & UART_LSR_THRE) in serial_pxa_irq() 473 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_pxa_set_termios()
|
D | sunsu.c | 467 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()
|
D | omap-serial.c | 854 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_omap_set_termios() 1728 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset() 1729 (UART_LSR_THRE | UART_LSR_DR))) { in serial_omap_mdr1_errataset()
|
/linux-6.1.9/drivers/mmc/core/ |
D | sdio_uart.c | 287 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sdio_uart_change_speed() 524 if (lsr & UART_LSR_THRE) in sdio_uart_irq()
|