/drivers/staging/speakup/ |
D | serialio.c | 99 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler() 188 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in() 204 if (!(lsr & UART_LSR_DR)) in spk_serial_in_nowait()
|
D | speakup_decext.c | 37 u_char avail = inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR; in get_last_char()
|
/drivers/tty/serial/ |
D | pxa.c | 94 up->port.read_status_mask &= ~UART_LSR_DR; in serial_pxa_stop_rx() 168 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars() 260 if (lsr & UART_LSR_DR) in serial_pxa_irq() 494 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_pxa_set_termios() 520 up->port.ignore_status_mask |= UART_LSR_DR; in serial_pxa_set_termios() 694 while (!(lsr & UART_LSR_DR)) in serial_pxa_get_poll_char()
|
D | omap-serial.c | 351 up->port.read_status_mask |= UART_LSR_DR; in serial_omap_stop_tx() 365 up->port.read_status_mask &= ~UART_LSR_DR; in serial_omap_stop_rx() 502 if (likely(lsr & UART_LSR_DR)) in serial_omap_rlsi() 550 if (!(lsr & UART_LSR_DR)) in serial_omap_rdi() 758 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup() 825 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown() 907 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_omap_set_termios() 933 up->port.ignore_status_mask |= UART_LSR_DR; in serial_omap_set_termios() 1219 if (!(status & UART_LSR_DR)) { in serial_omap_poll_get_char() 1764 (UART_LSR_THRE | UART_LSR_DR))) { in serial_omap_mdr1_errataset()
|
D | vr41xx_siu.c | 278 port->read_status_mask &= ~UART_LSR_DR; in siu_stop_rx() 364 } while ((lsr & UART_LSR_DR) && (max_count-- > 0)); in receive_chars() 436 if (lsr & UART_LSR_DR) in siu_interrupt() 559 port->read_status_mask = UART_LSR_THRE | UART_LSR_OE | UART_LSR_DR; in siu_set_termios() 575 port->ignore_status_mask |= UART_LSR_DR; in siu_set_termios()
|
D | sunsu.c | 306 up->port.read_status_mask &= ~UART_LSR_DR; in sunsu_stop_rx() 393 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars() 466 if (status & UART_LSR_DR) in sunsu_serial_interrupt() 531 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars() 541 if ((status & UART_LSR_DR) || (status & UART_LSR_BI)) in sunsu_kbd_ms_interrupt() 845 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sunsu_change_speed() 871 up->port.ignore_status_mask |= UART_LSR_DR; in sunsu_change_speed()
|
D | m32r_sio_reg.h | 131 #define UART_LSR_DR 0x04 /* Receiver data ready */ macro
|
D | m32r_sio.c | 246 up->port.read_status_mask &= ~UART_LSR_DR; in m32r_sio_stop_rx() 322 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars() 693 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in m32r_sio_set_termios() 719 up->port.ignore_status_mask |= UART_LSR_DR; in m32r_sio_set_termios()
|
D | serial-tegra.c | 353 if (!(lsr & UART_LSR_DR) && (lsr & UART_LSR_FIFOE)) in tegra_uart_decode_rx_error() 531 if (!(lsr & UART_LSR_DR)) in tegra_uart_handle_rx_pio()
|
D | pch_uart.c | 599 i < rx_size && lsr & (UART_LSR_DR | UART_LSR_BI); in pch_uart_hal_read() 1573 if (!(lsr & UART_LSR_DR)) in pch_uart_get_poll_char()
|
/drivers/tty/serial/8250/ |
D | 8250_fsl.c | 51 if (lsr & (UART_LSR_DR | UART_LSR_BI)) in fsl8250_handle_irq()
|
D | 8250_omap.c | 179 (UART_LSR_THRE | UART_LSR_DR))) { in omap_8250_mdr1_errataset() 377 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in omap_8250_set_termios() 403 up->port.ignore_status_mask |= UART_LSR_DR; in omap_8250_set_termios() 1034 if (status & (UART_LSR_DR | UART_LSR_BI)) { in omap_8250_dma_handle_irq()
|
D | 8250_port.c | 800 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo() 1398 up->port.read_status_mask &= ~UART_LSR_DR; in serial8250_stop_rx() 1641 if (likely(lsr & UART_LSR_DR)) in serial8250_read_char() 1711 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in serial8250_rx_chars() 1818 if (status & (UART_LSR_DR | UART_LSR_BI)) { in serial8250_handle_irq() 2038 if (!(lsr & UART_LSR_DR)) { in serial8250_get_poll_char() 2598 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial8250_do_set_termios() 2624 port->ignore_status_mask |= UART_LSR_DR; in serial8250_do_set_termios()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 306 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sdio_uart_change_speed() 332 port->ignore_status_mask |= UART_LSR_DR; in sdio_uart_change_speed() 372 port->read_status_mask &= ~UART_LSR_DR; in sdio_uart_stop_rx() 425 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in sdio_uart_receive_chars() 540 if (lsr & UART_LSR_DR) in sdio_uart_irq()
|
/drivers/tty/serial/jsm/ |
D | jsm_neo.c | 416 if (!(linestatus & UART_LSR_DR)) { in neo_copy_data_from_uart_to_queue() 422 linestatus &= ~UART_LSR_DR; in neo_copy_data_from_uart_to_queue() 857 if (ch->ch_cached_lsr & UART_LSR_DR) { in neo_parse_lsr()
|
D | jsm_cls.c | 401 if (!(linestatus & UART_LSR_DR)) in cls_copy_data_from_uart_to_queue()
|
/drivers/tty/ |
D | amiserial.c | 259 status = UART_LSR_DR; /* We obviously have a character! */ in receive_chars() 744 info->read_status_mask = UART_LSR_OE | UART_LSR_DR; in change_speed() 769 info->ignore_status_mask |= UART_LSR_DR; in change_speed() 1392 state->read_status_mask &= ~UART_LSR_DR; in rs_close()
|
D | mxser.c | 757 info->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in mxser_change_speed() 2138 } while (*status & UART_LSR_DR); in mxser_receive_chars() 2281 if (status & UART_LSR_DR) in mxser_interrupt()
|
/drivers/isdn/hisax/ |
D | elsa_ser.c | 331 } while (*status & UART_LSR_DR); in receive_chars() 402 if (status & UART_LSR_DR) in rs_interrupt_elsa()
|
/drivers/staging/dgnc/ |
D | dgnc_neo.c | 531 if (ch->ch_cached_lsr & UART_LSR_DR) { in neo_parse_lsr() 1222 if (!(linestatus & UART_LSR_DR)) { in neo_copy_data_from_uart_to_queue() 1228 linestatus &= ~UART_LSR_DR; in neo_copy_data_from_uart_to_queue()
|
D | dgnc_cls.c | 343 if (!(linestatus & (UART_LSR_DR))) in cls_copy_data_from_uart_to_queue()
|
/drivers/bluetooth/ |
D | dtl1_cs.c | 285 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
|
D | btuart_cs.c | 283 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in btuart_receive()
|
/drivers/staging/media/lirc/ |
D | lirc_sir.c | 513 } while (lsr & UART_LSR_DR); /* data ready */ in sir_interrupt()
|
/drivers/net/irda/ |
D | ali-ircc.c | 881 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in ali_ircc_sir_receive()
|