Searched refs:UART_LSR_DR (Results 1 – 23 of 23) sorted by relevance
83 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler()174 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in()190 if (!(lsr & UART_LSR_DR)) in spk_serial_in_nowait()
41 u_char avail = inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR; in get_last_char()
177 up->port.read_status_mask &= ~UART_LSR_DR; in serial_omap_stop_rx()192 if (likely(lsr & UART_LSR_DR)) in receive_chars()245 } while ((lsr & (UART_LSR_DR | UART_LSR_BI)) && (max_count-- > 0)); in receive_chars()409 if (lsr & UART_LSR_DR) in serial_omap_irq()415 (lsr & UART_LSR_DR)) in serial_omap_irq()540 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup()617 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown()768 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_omap_set_termios()794 up->port.ignore_status_mask |= UART_LSR_DR; in serial_omap_set_termios()1032 if (!(status & UART_LSR_DR)) in serial_omap_poll_get_char()[all …]
95 up->port.read_status_mask &= ~UART_LSR_DR; in serial_pxa_stop_rx()170 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars()260 if (lsr & UART_LSR_DR) in serial_pxa_irq()518 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_pxa_set_termios()544 up->port.ignore_status_mask |= UART_LSR_DR; in serial_pxa_set_termios()
278 port->read_status_mask &= ~UART_LSR_DR; in siu_stop_rx()366 } while ((lsr & UART_LSR_DR) && (max_count-- > 0)); in receive_chars()438 if (lsr & UART_LSR_DR) in siu_interrupt()561 port->read_status_mask = UART_LSR_THRE | UART_LSR_OE | UART_LSR_DR; in siu_set_termios()577 port->ignore_status_mask |= UART_LSR_DR; in siu_set_termios()
297 up->port.read_status_mask &= ~UART_LSR_DR; in sunsu_stop_rx()383 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars()461 if (status & UART_LSR_DR) in sunsu_serial_interrupt()527 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars()537 if ((status & UART_LSR_DR) || (status & UART_LSR_BI)) in sunsu_kbd_ms_interrupt()834 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sunsu_change_speed()860 up->port.ignore_status_mask |= UART_LSR_DR; in sunsu_change_speed()
131 #define UART_LSR_DR 0x04 /* Receiver data ready */ macro
307 up->port.read_status_mask &= ~UART_LSR_DR; in m32r_sio_stop_rx()388 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in receive_chars()752 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in m32r_sio_set_termios()778 up->port.ignore_status_mask |= UART_LSR_DR; in m32r_sio_set_termios()
455 up->port.read_status_mask &= ~UART_LSR_DR; in serial_hsu_stop_rx()523 } while ((*status & UART_LSR_DR) && max_count--); in receive_chars()617 if (lsr & UART_LSR_DR) in port_irq()971 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_hsu_set_termios()993 up->port.ignore_status_mask |= UART_LSR_DR; in serial_hsu_set_termios()
150 } while (dcr_read(up->dcr_host, UART_LSR) & UART_LSR_DR); in nwpserial_interrupt()
558 i < rx_size && lsr & UART_LSR_DR; in pch_uart_hal_read()
52 if (lsr & (UART_LSR_DR | UART_LSR_BI)) in fsl8250_handle_irq()
686 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo()1317 up->port.read_status_mask &= ~UART_LSR_DR; in serial8250_stop_rx()1370 if (likely(lsr & UART_LSR_DR)) in serial8250_rx_chars()1437 } while ((lsr & (UART_LSR_DR | UART_LSR_BI)) && (max_count-- > 0)); in serial8250_rx_chars()1529 if (status & (UART_LSR_DR | UART_LSR_BI)) in serial8250_handle_irq()1883 if (!(lsr & UART_LSR_DR)) in serial8250_get_poll_char()2315 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial8250_do_set_termios()2341 port->ignore_status_mask |= UART_LSR_DR; in serial8250_do_set_termios()
322 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sdio_uart_change_speed()348 port->ignore_status_mask |= UART_LSR_DR; in sdio_uart_change_speed()388 port->read_status_mask &= ~UART_LSR_DR; in sdio_uart_stop_rx()444 } while ((*status & UART_LSR_DR) && (max_count-- > 0)); in sdio_uart_receive_chars()565 if (lsr & UART_LSR_DR) in sdio_uart_irq()
421 if (!(linestatus & UART_LSR_DR)) { in neo_copy_data_from_uart_to_queue()427 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()
261 status = UART_LSR_DR; /* We obviously have a character! */ in receive_chars()756 info->read_status_mask = UART_LSR_OE | UART_LSR_DR; in change_speed()781 info->ignore_status_mask |= UART_LSR_DR; in change_speed()1406 state->read_status_mask &= ~UART_LSR_DR; in rs_close()
761 info->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in mxser_change_speed()2135 } while (*status & UART_LSR_DR); in mxser_receive_chars()2280 if (status & UART_LSR_DR) in mxser_interrupt()
331 } while (*status & UART_LSR_DR); in receive_chars()402 if (status & UART_LSR_DR) in rs_interrupt_elsa()
282 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
282 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in btuart_receive()
691 } while (lsr & UART_LSR_DR); /* data ready */ in sir_interrupt()
899 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in ali_ircc_sir_receive()
1509 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in smsc_ircc_sir_receive()