Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/mips/ralink/
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-6.1.9/arch/mips/ath25/
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-6.1.9/arch/powerpc/boot/
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-6.1.9/arch/arm/include/debug/
D8250.S43 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
44 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
Domap2plus.S73 and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
74 teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
Dtegra.S202 and \rd, \rd, #UART_LSR_THRE
203 teq \rd, #UART_LSR_THRE
Dbrcmstb.S136 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
137 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
/linux-6.1.9/include/linux/
Dserial.h19 #define UART_LSR_BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/linux-6.1.9/arch/mips/kernel/
Dearly_printk_8250.c43 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
/linux-6.1.9/arch/mips/boot/compressed/
Duart-16550.c48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/linux-6.1.9/drivers/tty/serial/jsm/
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()
904 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
/linux-6.1.9/arch/x86/platform/ce4100/
Dce4100.c67 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) in ce4100_mem_serial_in()
/linux-6.1.9/arch/powerpc/platforms/embedded6xx/
Dls_uart.c38 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) { in wd_stop()
/linux-6.1.9/drivers/bluetooth/
Ddtl1_cs.c115 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/
Dserial_reg.h136 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
/linux-6.1.9/drivers/tty/serial/8250/
D8250_fsl.c77 if ((lsr & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) in fsl8250_handle_irq()
D8250_port.c1516 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()
D8250_aspeed_vuart.c371 if (lsr & UART_LSR_THRE) in aspeed_vuart_handle_irq()
/linux-6.1.9/arch/arm/mach-orion5x/
Dterastation_pro2-setup.c189 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in tsp2_miconwrite()
Dkurobox_pro-setup.c211 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in kurobox_pro_miconwrite()
/linux-6.1.9/sound/drivers/
Dserial-u16550.c238 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/
Dpxa.c256 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()
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()
Domap-serial.c854 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/
Dsdio_uart.c287 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()

12