Home
last modified time | relevance | path

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

12

/drivers/staging/speakup/
Dserialio.c99 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()
Dspeakup_decext.c37 u_char avail = inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR; in get_last_char()
/drivers/tty/serial/
Dpxa.c94 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()
Domap-serial.c351 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()
Dvr41xx_siu.c278 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()
Dsunsu.c306 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()
Dm32r_sio_reg.h131 #define UART_LSR_DR 0x04 /* Receiver data ready */ macro
Dm32r_sio.c246 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()
Dserial-tegra.c353 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()
Dpch_uart.c599 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/
D8250_fsl.c51 if (lsr & (UART_LSR_DR | UART_LSR_BI)) in fsl8250_handle_irq()
D8250_omap.c179 (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()
D8250_port.c800 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/
Dsdio_uart.c306 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/
Djsm_neo.c416 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()
Djsm_cls.c401 if (!(linestatus & UART_LSR_DR)) in cls_copy_data_from_uart_to_queue()
/drivers/tty/
Damiserial.c259 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()
Dmxser.c757 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/
Delsa_ser.c331 } while (*status & UART_LSR_DR); in receive_chars()
402 if (status & UART_LSR_DR) in rs_interrupt_elsa()
/drivers/staging/dgnc/
Ddgnc_neo.c531 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()
Ddgnc_cls.c343 if (!(linestatus & (UART_LSR_DR))) in cls_copy_data_from_uart_to_queue()
/drivers/bluetooth/
Ddtl1_cs.c285 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
Dbtuart_cs.c283 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in btuart_receive()
/drivers/staging/media/lirc/
Dlirc_sir.c513 } while (lsr & UART_LSR_DR); /* data ready */ in sir_interrupt()
/drivers/net/irda/
Dali-ircc.c881 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in ali_ircc_sir_receive()

12