Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/mips/ralink/
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-6.3-rc2/arch/mips/ath25/
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-6.3-rc2/arch/powerpc/boot/
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-6.3-rc2/arch/arm/include/debug/
A D8250.S43 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
44 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
A Domap2plus.S73 and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
74 teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
A Dtegra.S202 and \rd, \rd, #UART_LSR_THRE
203 teq \rd, #UART_LSR_THRE
A Dbrcmstb.S136 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
137 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
/linux-6.3-rc2/include/linux/
A Dserial.h24 #define UART_LSR_BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/linux-6.3-rc2/arch/mips/kernel/
A Dearly_printk_8250.c43 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
/linux-6.3-rc2/arch/mips/boot/compressed/
A Duart-16550.c48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/linux-6.3-rc2/drivers/tty/serial/jsm/
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()
904 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
/linux-6.3-rc2/arch/x86/platform/ce4100/
A Dce4100.c67 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) in ce4100_mem_serial_in()
/linux-6.3-rc2/arch/powerpc/platforms/embedded6xx/
A Dls_uart.c38 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) { in wd_stop()
/linux-6.3-rc2/drivers/bluetooth/
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-6.3-rc2/drivers/tty/serial/8250/
A D8250_fsl.c77 if ((lsr & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) in fsl8250_handle_irq()
A D8250_port.c1523 if (!(lsr & UART_LSR_THRE)) in __stop_tx()
1581 if (lsr & UART_LSR_THRE) in __start_tx()
1860 !(serial_in(up, UART_LSR) & UART_LSR_THRE)) in serial8250_tx_chars()
1953 if ((status & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) { in serial8250_handle_irq()
2334 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_do_startup()
2810 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial8250_do_set_termios()
3319 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_console_putchar()
3364 wait_for_lsr(up, UART_LSR_THRE); in serial8250_console_fifo_write()
A D8250_aspeed_vuart.c371 if (lsr & UART_LSR_THRE) in aspeed_vuart_handle_irq()
/linux-6.3-rc2/include/uapi/linux/
A Dserial_reg.h141 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
/linux-6.3-rc2/arch/arm/mach-orion5x/
A Dterastation_pro2-setup.c189 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in tsp2_miconwrite()
A Dkurobox_pro-setup.c211 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in kurobox_pro_miconwrite()
/linux-6.3-rc2/drivers/tty/serial/
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()
A Dsunsu.c466 if (status & UART_LSR_THRE) in sunsu_serial_interrupt()
836 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sunsu_change_speed()
990 } while (!(lsr & UART_LSR_THRE)); in sunsu_serio_write()
A Domap-serial.c832 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_omap_set_termios()
1706 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset()
1707 (UART_LSR_THRE | UART_LSR_DR))) { in serial_omap_mdr1_errataset()
/linux-6.3-rc2/sound/drivers/
A 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.3-rc2/drivers/mmc/core/
A 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()

Completed in 43 milliseconds

12