/linux/arch/powerpc/boot/ |
A D | ns16550.c | 27 #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/ |
A D | serialio.c | 120 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/tty/serial/ |
A D | pxa.c | 86 up->port.read_status_mask &= ~UART_LSR_DR; in serial_pxa_stop_rx() 160 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars() 252 if (lsr & UART_LSR_DR) in serial_pxa_irq() 486 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_pxa_set_termios() 512 up->port.ignore_status_mask |= UART_LSR_DR; in serial_pxa_set_termios() 686 while (!(lsr & UART_LSR_DR)) in serial_pxa_get_poll_char()
|
A D | vr41xx_siu.c | 261 port->read_status_mask &= ~UART_LSR_DR; in siu_stop_rx() 347 } while ((lsr & UART_LSR_DR) && (max_count-- > 0)); in receive_chars() 419 if (lsr & UART_LSR_DR) in siu_interrupt() 542 port->read_status_mask = UART_LSR_THRE | UART_LSR_OE | UART_LSR_DR; in siu_set_termios() 558 port->ignore_status_mask |= UART_LSR_DR; in siu_set_termios()
|
A D | omap-serial.c | 335 up->port.read_status_mask &= ~UART_LSR_DR; in serial_omap_stop_rx() 471 if (likely(lsr & UART_LSR_DR)) { in serial_omap_rlsi() 524 if (!(lsr & UART_LSR_DR)) in serial_omap_rdi() 722 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup() 786 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown() 866 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_omap_set_termios() 892 up->port.ignore_status_mask |= UART_LSR_DR; in serial_omap_set_termios() 1168 if (!(status & UART_LSR_DR)) { in serial_omap_poll_get_char() 1741 (UART_LSR_THRE | UART_LSR_DR))) { in serial_omap_mdr1_errataset()
|
A D | sunsu.c | 303 up->port.read_status_mask &= ~UART_LSR_DR; in sunsu_stop_rx() 390 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars() 463 if (status & UART_LSR_DR) in sunsu_serial_interrupt() 524 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars() 534 if ((status & UART_LSR_DR) || (status & UART_LSR_BI)) in sunsu_kbd_ms_interrupt() 838 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sunsu_change_speed() 864 up->port.ignore_status_mask |= UART_LSR_DR; in sunsu_change_speed()
|
A D | serial-tegra.c | 341 if ((lsr & UART_LSR_TEMT) && !(lsr & UART_LSR_DR)) in tegra_uart_fifo_reset() 462 if (!(lsr & UART_LSR_DR) && (lsr & UART_LSR_FIFOE)) in tegra_uart_decode_rx_error() 651 if (!(lsr & UART_LSR_DR)) in tegra_uart_handle_rx_pio() 664 if (tup->uport.ignore_status_mask & UART_LSR_DR) in tegra_uart_handle_rx_pio() 683 if (tup->uport.ignore_status_mask & UART_LSR_DR) in tegra_uart_copy_rx_to_tty() 1393 tup->uport.ignore_status_mask |= UART_LSR_DR; in tegra_uart_set_termios()
|
/linux/drivers/mmc/core/ |
A D | sdio_uart.c | 300 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sdio_uart_change_speed() 326 port->ignore_status_mask |= UART_LSR_DR; in sdio_uart_change_speed() 366 port->read_status_mask &= ~UART_LSR_DR; in sdio_uart_stop_rx() 419 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in sdio_uart_receive_chars() 534 if (lsr & UART_LSR_DR) in sdio_uart_irq()
|
/linux/arch/powerpc/platforms/embedded6xx/ |
A D | ls_uart.c | 46 while (in_8(avr_addr + UART_LSR) & UART_LSR_DR) in wd_stop()
|
/linux/drivers/tty/serial/8250/ |
A D | 8250_omap.c | 207 (UART_LSR_THRE | UART_LSR_DR))) { in omap_8250_mdr1_errataset() 405 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in omap_8250_set_termios() 431 up->port.ignore_status_mask |= UART_LSR_DR; in omap_8250_set_termios() 798 port->read_status_mask |= UART_LSR_DR; in omap_8250_unthrottle() 1135 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in omap_8250_handle_rx_dma() 1152 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in am654_8250_handle_rx_dma()
|
A D | 8250_fsl.c | 52 if ((lsr & (UART_LSR_DR | UART_LSR_BI)) && in fsl8250_handle_irq()
|
A D | 8250_port.c | 869 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo() 1438 up->port.read_status_mask &= ~UART_LSR_DR; in serial8250_stop_rx() 1717 if (likely(lsr & UART_LSR_DR)) in serial8250_read_char() 1788 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in serial8250_rx_chars() 1922 !(port->read_status_mask & UART_LSR_DR)) in serial8250_handle_irq() 1925 if (status & (UART_LSR_DR | UART_LSR_BI) && !skip_rx) { in serial8250_handle_irq() 2109 if (!(lsr & UART_LSR_DR)) { in serial8250_get_poll_char() 2793 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial8250_do_set_termios() 2819 port->ignore_status_mask |= UART_LSR_DR; in serial8250_do_set_termios()
|
A D | 8250_aspeed_vuart.c | 344 if (lsr & (UART_LSR_DR | UART_LSR_BI)) { in aspeed_vuart_handle_irq() 364 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in aspeed_vuart_handle_irq()
|
A D | 8250_early.c | 123 if (!(status & UART_LSR_DR)) in early_serial8250_read()
|
A D | 8250_bcm7271.c | 791 if ((status & UART_LSR_DR) == 0) { in brcmuart_handle_irq() 839 if ((status & UART_LSR_DR) == 0) { in brcmuart_hrtimer_func()
|
A D | 8250_dw.c | 258 if (!(status & (UART_LSR_DR | UART_LSR_BI))) in dw8250_handle_irq()
|
/linux/include/uapi/linux/ |
A D | serial_reg.h | 141 #define UART_LSR_DR 0x01 /* Receiver data ready */ macro
|
/linux/drivers/tty/ |
A D | amiserial.c | 186 status = UART_LSR_DR; /* We obviously have a character! */ in receive_chars() 656 info->read_status_mask = UART_LSR_OE | UART_LSR_DR; in change_speed() 681 info->ignore_status_mask |= UART_LSR_DR; in change_speed() 1244 state->read_status_mask &= ~UART_LSR_DR; in rs_close()
|
A D | mxser.c | 649 info->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in mxser_change_speed() 1616 } while (status & UART_LSR_DR); in mxser_receive_chars_old() 1706 if (status & UART_LSR_DR) in mxser_port_isr()
|
/linux/arch/arm/mach-orion5x/ |
A D | terastation_pro2-setup.c | 169 while (!(readl(UART1_REG(LSR)) & UART_LSR_DR)) { in tsp2_miconread()
|
A D | kurobox_pro-setup.c | 194 while (!(readl(UART1_REG(LSR)) & UART_LSR_DR)) { in kurobox_pro_miconread()
|
/linux/drivers/tty/serial/jsm/ |
A D | jsm_neo.c | 404 if (!(linestatus & UART_LSR_DR)) { in neo_copy_data_from_uart_to_queue() 410 linestatus &= ~UART_LSR_DR; in neo_copy_data_from_uart_to_queue() 847 if (ch->ch_cached_lsr & UART_LSR_DR) { in neo_parse_lsr()
|
A D | jsm_cls.c | 392 if (!(linestatus & UART_LSR_DR)) in cls_copy_data_from_uart_to_queue()
|
/linux/drivers/bluetooth/ |
A D | dtl1_cs.c | 285 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
|
/linux/sound/drivers/ |
A D | serial-u16550.c | 201 while ((status = inb(uart->base + UART_LSR)) & UART_LSR_DR) { in snd_uart16550_io_loop()
|