/drivers/staging/speakup/ |
D | serialio.c | 76 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() 128 inb(speakup_info.port_tts+UART_LSR); in start_serial_interrupt() 191 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in() 206 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait()
|
D | serialio.h | 37 #define spk_serial_tx_busy() ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
|
/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 | 168 *status = serial_in(up, UART_LSR); in receive_chars() 258 lsr = serial_in(up, UART_LSR); in serial_pxa_irq() 274 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty() 367 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 393 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 609 status = serial_in(up, UART_LSR); in wait_for_xmitr() 690 unsigned char lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char() 693 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 | nwpserial.c | 50 status = dcr_read(up->dcr_host, UART_LSR); in wait_for_bits() 88 while ((dcr_read(up->dcr_host, UART_LSR) & UART_LSR_THRE) == 0) in nwpserial_console_write() 151 } while (dcr_read(up->dcr_host, UART_LSR) & UART_LSR_DR); in nwpserial_interrupt() 301 ret = dcr_read(up->dcr_host, UART_LSR); in nwpserial_tx_empty()
|
D | sunsu.c | 388 *status = serial_inp(up, UART_LSR); in receive_chars() 461 status = serial_inp(up, UART_LSR); in sunsu_serial_interrupt() 527 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars() 535 unsigned char status = serial_inp(up, UART_LSR); in sunsu_kbd_ms_interrupt() 551 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in sunsu_tx_empty() 651 (void) serial_inp(up, UART_LSR); in sunsu_startup() 662 (serial_inp(up, UART_LSR) == 0xff)) { in sunsu_startup() 712 (void) serial_inp(up, UART_LSR); in sunsu_startup() 986 lsr = serial_in(up, UART_LSR); in sunsu_serio_write() 1259 status = serial_in(up, UART_LSR); in wait_for_xmitr()
|
D | mfd.c | 162 "LSR: \t\t0x%08x\n", serial_in(up, UART_LSR)); in port_show_regs() 525 *status = serial_in(up, UART_LSR); in receive_chars() 605 lsr = serial_in(up, UART_LSR); in port_irq() 622 lsr = serial_in(up, UART_LSR); in port_irq() 693 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_hsu_tx_empty() 781 (void) serial_in(up, UART_LSR); in serial_hsu_startup() 847 (void) serial_in(up, UART_LSR); in serial_hsu_startup() 1080 status = serial_in(up, UART_LSR); in wait_for_xmitr()
|
D | omap-serial.c | 599 lsr = serial_in(up, UART_LSR); in serial_omap_irq() 649 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty() 764 (void) serial_in(up, UART_LSR); in serial_omap_startup() 765 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup() 832 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown() 1187 status = serial_in(up, UART_LSR); in wait_for_xmitr() 1231 status = serial_in(up, UART_LSR); in serial_omap_poll_get_char() 1794 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset() 1800 serial_in(up, UART_LSR)); in serial_omap_mdr1_errataset()
|
D | serial-tegra.c | 363 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_fill_tx_fifo() 470 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_tx_empty() 517 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_handle_rx_pio() 725 tegra_uart_read(tup, UART_LSR)); in tegra_uart_isr() 790 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit() 812 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit()
|
D | m32r_sio.c | 275 while((serial_in(up, UART_LSR) & UART_EMPTY) != UART_EMPTY); in m32r_sio_start_tx() 371 *status = serial_in(up, UART_LSR); in receive_chars() 404 while (!(serial_in(up, UART_LSR) & UART_LSR_THRE)); in transmit_chars() 589 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in m32r_sio_tx_empty()
|
D | pch_uart.c | 347 "LSR: \t0x%02x\n", ioread8(priv->membase + UART_LSR)); in port_show_regs() 595 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read() 596 for (i = 0, lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read() 598 lsr = ioread8(priv->membase + UART_LSR)) { in pch_uart_hal_read() 626 return ioread8(priv->membase + UART_LSR); in pch_uart_hal_get_line_status() 1537 status = ioread8(up->membase + UART_LSR); in wait_for_xmitr() 1569 u8 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_get_poll_char()
|
D | of_serial.c | 37 status = p->serial_in(p, UART_LSR); in tegra_serial_handle_break()
|
/drivers/staging/media/lirc/ |
D | lirc_serial.c | 414 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo() 422 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo() 745 sinp(UART_LSR); in hardware_init_port() 754 sinp(UART_LSR); in hardware_init_port() 1024 sinp(UART_LSR); in lirc_serial_suspend()
|
D | lirc_sir.c | 465 (void) inb(io + UART_LSR); in sir_interrupt() 531 lsr = inb(io + UART_LSR); in sir_interrupt() 557 while (!(inb(io + UART_LSR) & UART_LSR_THRE)) in send_pulse()
|
/drivers/bluetooth/ |
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()
|
D | dtl1_cs.c | 115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write() 284 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive() 310 lsr = inb(iobase + UART_LSR); in dtl1_interrupt()
|
/drivers/tty/serial/8250/ |
D | 8250_core.c | 356 [UART_LSR] = 7, 722 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo() 1299 serial_in(up, UART_LSR); in autoconfig_irq() 1355 lsr = serial_in(up, UART_LSR); in serial8250_start_tx() 1479 lsr = serial_in(up, UART_LSR); in serial8250_rx_chars() 1517 if ((serial_port_in(port, UART_LSR) & BOTH_EMPTY) != in serial8250_tx_chars() 1579 status = serial_port_in(port, UART_LSR); in serial8250_handle_irq() 1840 lsr = serial_in(up, UART_LSR); in serial8250_backup_timeout() 1871 lsr = serial_port_in(port, UART_LSR); in serial8250_tx_empty() 1948 status = serial_in(up, UART_LSR); in wait_for_xmitr() [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 | 67 case UART_LSR: /* LSR @ 0x18 (+1) */ in serial8250_em_serial_in()
|
D | 8250_early.c | 77 status = serial8250_early_in(port, UART_LSR); in wait_for_xmitr()
|
/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/tty/ |
D | mxser.c | 899 if (inb(info->ioaddr + UART_LSR) == 0xff) { in mxser_activate() 911 (void) inb(info->ioaddr + UART_LSR); in mxser_activate() 935 (void) inb(info->ioaddr + UART_LSR); in mxser_activate() 1062 while (!(inb(info->ioaddr + UART_LSR) & UART_LSR_TEMT)) { in mxser_close_port() 1319 status = inb(info->ioaddr + UART_LSR); in mxser_get_lsr_info() 1759 lsr = inb(info->ioaddr + UART_LSR) & UART_LSR_THRE; in mxser_ioctl() 2018 while (!((lsr = inb(info->ioaddr + UART_LSR)) & UART_LSR_TEMT)) { in mxser_wait_until_sent() 2145 *status = inb(port->ioaddr + UART_LSR); in mxser_receive_chars() 2262 status = inb(port->ioaddr + UART_LSR); in mxser_interrupt() 2269 status = inb(port->ioaddr + UART_LSR); in mxser_interrupt()
|
/drivers/net/irda/ |
D | ali-ircc.c | 833 lsr = inb(iobase+UART_LSR); in ali_ircc_sir_interrupt() 897 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in ali_ircc_sir_receive() 934 while(!(inb(iobase+UART_LSR) & UART_LSR_TEMT)) in ali_ircc_sir_write_wakeup() 1079 inb(iobase+UART_LSR); in ali_ircc_sir_change_speed() 1313 if (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) { in ali_ircc_sir_write() 2251 val = inb(iobase+UART_LSR); in FIR2SIR()
|
/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()
|