Home
last modified time | relevance | path

Searched refs:UART_LSR_DR (Results 1 – 11 of 11) sorted by relevance

/linux/arch/powerpc/boot/
H A Dns16550.c27 #define UART_LSR_DR 0x01 /* Receiver data ready */ macro
48 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) == 0); in ns16550_getc()
54 return ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) != 0); in ns16550_tstc()
/linux/drivers/accessibility/speakup/
H A Dserialio.c120 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler()
258 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in()
273 if (!(lsr & UART_LSR_DR)) in spk_serial_in_nowait()
/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()
311 port->ignore_status_mask |= UART_LSR_DR; in sdio_uart_change_speed()
351 port->read_status_mask &= ~UART_LSR_DR; in sdio_uart_stop_rx()
402 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in sdio_uart_receive_chars()
517 if (lsr & UART_LSR_DR) in sdio_uart_irq()
/linux/arch/powerpc/platforms/embedded6xx/
H A Dls_uart.c47 while (in_8(avr_addr + UART_LSR) & UART_LSR_DR) in wd_stop()
/linux/drivers/tty/serial/
H A Dserial-tegra.c340 if ((lsr & UART_LSR_TEMT) && !(lsr & UART_LSR_DR)) in tegra_uart_fifo_reset()
461 if (!(lsr & UART_LSR_DR) && (lsr & UART_LSR_FIFOE)) in tegra_uart_decode_rx_error()
654 if (!(lsr & UART_LSR_DR)) in tegra_uart_handle_rx_pio()
667 if (tup->uport.ignore_status_mask & UART_LSR_DR) in tegra_uart_handle_rx_pio()
686 if (tup->uport.ignore_status_mask & UART_LSR_DR) in tegra_uart_copy_rx_to_tty()
1386 tup->uport.ignore_status_mask |= UART_LSR_DR; in tegra_uart_set_termios()
/linux/include/uapi/linux/
H A Dserial_reg.h147 #define UART_LSR_DR 0x01 /* Receiver data ready */ macro
/linux/drivers/tty/serial/8250/
H A D8250_aspeed_vuart.c347 if (lsr & (UART_LSR_DR | UART_LSR_BI)) { in aspeed_vuart_handle_irq()
367 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in aspeed_vuart_handle_irq()
H A D8250_dw.c174 if (lsr & UART_LSR_DR) { in dw8250_idle_enter()
442 if (!(status & (UART_LSR_DR | UART_LSR_BI))) in dw8250_handle_irq()
450 if (status & (UART_LSR_DR | UART_LSR_BI)) { in dw8250_handle_irq()
H A D8250_dma.c81 if (!dma->rx_running && (serial_lsr_in(p) & UART_LSR_DR)) in dma_rx_complete()
H A D8250_omap.c401 port->read_status_mask = UART_LSR_OE | UART_LSR_DR; in omap_8250_set_termios_atomic()
427 port->ignore_status_mask |= UART_LSR_DR; in omap_8250_set_termios_atomic()
1235 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in omap_8250_handle_rx_dma()
1269 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in am654_8250_handle_rx_dma()
/linux/samples/vfio-mdev/
H A Dmtty.c633 lsr |= UART_LSR_DR; in handle_bar_read()