/drivers/staging/speakup/ |
D | serialio.c | 78 if (inb(ser->port + UART_LSR) == 0xff) { in spk_serial_init() 99 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler() 126 inb(speakup_info.port_tts+UART_LSR); in start_serial_interrupt() 188 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in() 203 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait()
|
D | serialio.h | 39 ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
|
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 | m32r_sio_reg.h | 54 #define UART_LSR ((unsigned long) PLD_ESIO0STS) macro 94 #define UART_LSR M32R_SIO0_STS_PORTL /* In: Line Status Register */ macro
|
D | pxa.c | 167 *status = serial_in(up, UART_LSR); in receive_chars() 259 lsr = serial_in(up, UART_LSR); in serial_pxa_irq() 276 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty() 369 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 395 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 611 status = serial_in(up, UART_LSR); in wait_for_xmitr() 692 unsigned char lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char() 695 lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char()
|
D | vr41xx_siu.c | 196 lsr = siu_read(port, UART_LSR); in siu_tx_empty() 363 lsr = siu_read(port, UART_LSR); in receive_chars() 435 lsr = siu_read(port, UART_LSR); in siu_interrupt() 456 (void)siu_read(port, UART_LSR); in siu_startup() 461 if (siu_read(port, UART_LSR) == 0xff) in siu_startup() 479 (void)siu_read(port, UART_LSR); in siu_startup() 744 lsr = siu_read(port, UART_LSR); in wait_for_xmitr()
|
D | sunsu.c | 392 *status = serial_inp(up, UART_LSR); in receive_chars() 465 status = serial_inp(up, UART_LSR); in sunsu_serial_interrupt() 531 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars() 539 unsigned char status = serial_inp(up, UART_LSR); in sunsu_kbd_ms_interrupt() 556 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in sunsu_tx_empty() 660 (void) serial_inp(up, UART_LSR); in sunsu_startup() 671 (serial_inp(up, UART_LSR) == 0xff)) { in sunsu_startup() 721 (void) serial_inp(up, UART_LSR); in sunsu_startup() 998 lsr = serial_in(up, UART_LSR); in sunsu_serio_write() 1271 status = serial_in(up, UART_LSR); in wait_for_xmitr()
|
D | omap-serial.c | 585 lsr = serial_in(up, UART_LSR); in serial_omap_irq() 635 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty() 757 (void) serial_in(up, UART_LSR); in serial_omap_startup() 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() 1174 status = serial_in(up, UART_LSR); in wait_for_xmitr() 1218 status = serial_in(up, UART_LSR); in serial_omap_poll_get_char() 1763 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset() 1769 serial_in(up, UART_LSR)); in serial_omap_mdr1_errataset()
|
D | serial-tegra.c | 378 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_fill_tx_fifo() 485 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_tx_empty() 530 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_handle_rx_pio() 738 tegra_uart_read(tup, UART_LSR)); in tegra_uart_isr() 786 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit() 808 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit()
|
D | m32r_sio.c | 228 while((serial_in(up, UART_LSR) & UART_EMPTY) != UART_EMPTY); in m32r_sio_start_tx() 321 *status = serial_in(up, UART_LSR); in receive_chars() 354 while (!(serial_in(up, UART_LSR) & UART_LSR_THRE)); in transmit_chars() 540 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in m32r_sio_tx_empty()
|
D | pch_uart.c | 348 "LSR: \t0x%02x\n", ioread8(priv->membase + UART_LSR)); in port_show_regs() 597 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read() 598 for (i = 0, lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read() 600 lsr = ioread8(priv->membase + UART_LSR)) { in pch_uart_hal_read() 628 return ioread8(priv->membase + UART_LSR); in pch_uart_hal_get_line_status() 1539 status = ioread8(up->membase + UART_LSR); in wait_for_xmitr() 1571 u8 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_get_poll_char()
|
/drivers/staging/media/lirc/ |
D | lirc_serial.c | 400 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo() 408 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo() 665 sinp(UART_LSR); in hardware_init_port() 674 sinp(UART_LSR); in hardware_init_port() 944 sinp(UART_LSR); in lirc_serial_suspend()
|
D | lirc_sir.c | 448 (void) inb(io + UART_LSR); in sir_interrupt() 512 lsr = inb(io + UART_LSR); in sir_interrupt() 538 while (!(inb(io + UART_LSR) & UART_LSR_THRE)) in send_pulse()
|
/drivers/bluetooth/ |
D | dtl1_cs.c | 115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write() 285 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive() 311 lsr = inb(iobase + UART_LSR); in dtl1_interrupt()
|
D | btuart_cs.c | 116 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in btuart_write() 283 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in btuart_receive() 308 lsr = inb(iobase + UART_LSR); in btuart_interrupt()
|
/drivers/tty/serial/8250/ |
D | 8250_port.c | 800 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo() 1371 serial_in(up, UART_LSR); in autoconfig_irq() 1469 unsigned char lsr = serial_in(p, UART_LSR); in __stop_tx() 1518 lsr = serial_in(up, UART_LSR); in __start_tx() 1710 lsr = serial_in(up, UART_LSR); in serial8250_rx_chars() 1747 (serial_in(up, UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY) in serial8250_tx_chars() 1816 status = serial_port_in(port, UART_LSR); in serial8250_handle_irq() 1903 lsr = serial_port_in(port, UART_LSR); in serial8250_tx_empty() 1997 status = serial_in(up, UART_LSR); in wait_for_xmitr() 2036 lsr = serial_port_in(port, UART_LSR); in serial8250_get_poll_char() [all …]
|
D | 8250_fsl.c | 49 lsr = orig_lsr = up->port.serial_in(&up->port, UART_LSR); in fsl8250_handle_irq()
|
D | 8250_em.c | 66 case UART_LSR: /* LSR @ 0x18 (+1) */ in serial8250_em_serial_in()
|
D | 8250_early.c | 92 status = serial8250_early_in(port, UART_LSR); in serial_putc()
|
D | 8250_of.c | 37 status = p->serial_in(p, UART_LSR); in tegra_serial_handle_break()
|
D | 8250_omap.c | 178 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in omap_8250_mdr1_errataset() 184 serial_in(up, UART_LSR)); in omap_8250_mdr1_errataset() 1032 status = serial_port_in(port, UART_LSR); in omap_8250_dma_handle_irq()
|
/drivers/isdn/hisax/ |
D | elsa_ser.c | 157 if (serial_inp(cs, UART_LSR) == 0xff) { in mstartup() 187 (void)serial_inp(cs, UART_LSR); in mstartup() 330 *status = serial_inp(cs, UART_LSR); in receive_chars() 397 status = serial_inp(cs, UART_LSR); in rs_interrupt_elsa()
|
/drivers/net/irda/ |
D | ali-ircc.c | 819 lsr = inb(iobase+UART_LSR); in ali_ircc_sir_interrupt() 881 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in ali_ircc_sir_receive() 916 while(!(inb(iobase+UART_LSR) & UART_LSR_TEMT)) in ali_ircc_sir_write_wakeup() 1057 inb(iobase+UART_LSR); in ali_ircc_sir_change_speed() 1283 if (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) { in ali_ircc_sir_write() 2199 val = inb(iobase+UART_LSR); in FIR2SIR()
|
/drivers/tty/ |
D | mxser.c | 895 if (inb(info->ioaddr + UART_LSR) == 0xff) { in mxser_activate() 907 (void) inb(info->ioaddr + UART_LSR); in mxser_activate() 931 (void) inb(info->ioaddr + UART_LSR); in mxser_activate() 1058 while (!(inb(info->ioaddr + UART_LSR) & UART_LSR_TEMT)) { in mxser_close_port() 1314 status = inb(info->ioaddr + UART_LSR); in mxser_get_lsr_info() 1753 lsr = inb(info->ioaddr + UART_LSR) & UART_LSR_THRE; in mxser_ioctl() 2010 while (!((lsr = inb(info->ioaddr + UART_LSR)) & UART_LSR_TEMT)) { in mxser_wait_until_sent() 2137 *status = inb(port->ioaddr + UART_LSR); in mxser_receive_chars() 2252 status = inb(port->ioaddr + UART_LSR); in mxser_interrupt() 2259 status = inb(port->ioaddr + UART_LSR); in mxser_interrupt()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 424 *status = sdio_in(port, UART_LSR); in sdio_uart_receive_chars() 539 lsr = sdio_in(port, UART_LSR); in sdio_uart_irq() 636 (void) sdio_in(port, UART_LSR); in sdio_uart_activate()
|