Home
last modified time | relevance | path

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

/drivers/staging/speakup/
Dserialio.c83 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()
Dspeakup_decext.c41 u_char avail = inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR; in get_last_char()
/drivers/tty/serial/
Domap-serial.c177 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 …]
Dpxa.c95 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()
Dvr41xx_siu.c278 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()
Dsunsu.c297 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()
Dm32r_sio_reg.h131 #define UART_LSR_DR 0x04 /* Receiver data ready */ macro
Dm32r_sio.c307 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()
Dmfd.c455 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()
Dnwpserial.c150 } while (dcr_read(up->dcr_host, UART_LSR) & UART_LSR_DR); in nwpserial_interrupt()
Dpch_uart.c558 i < rx_size && lsr & UART_LSR_DR; in pch_uart_hal_read()
/drivers/tty/serial/8250/
D8250_fsl.c52 if (lsr & (UART_LSR_DR | UART_LSR_BI)) in fsl8250_handle_irq()
D8250.c686 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()
/drivers/mmc/card/
Dsdio_uart.c322 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()
/drivers/tty/serial/jsm/
Djsm_neo.c421 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()
/drivers/tty/
Damiserial.c261 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()
Dmxser.c761 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()
/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/bluetooth/
Ddtl1_cs.c282 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
Dbtuart_cs.c282 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in btuart_receive()
/drivers/staging/media/lirc/
Dlirc_sir.c691 } while (lsr & UART_LSR_DR); /* data ready */ in sir_interrupt()
/drivers/net/irda/
Dali-ircc.c899 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in ali_ircc_sir_receive()
Dsmsc-ircc2.c1509 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in smsc_ircc_sir_receive()