Home
last modified time | relevance | path

Searched refs:UART_LSR (Results 1 – 25 of 30) sorted by relevance

12

/drivers/staging/speakup/
Dserialio.c77 if (inb(ser->port + UART_LSR) == 0xff) { in spk_serial_init()
100 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler()
129 inb(speakup_info.port_tts+UART_LSR); in start_serial_interrupt()
194 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in()
209 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait()
Dserialio.h38 ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
Dspeakup_decext.c41 u_char avail = inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR; in get_last_char()
/drivers/tty/serial/
Dm32r_sio_reg.h54 #define UART_LSR ((unsigned long) PLD_ESIO0STS) macro
94 #define UART_LSR M32R_SIO0_STS_PORTL /* In: Line Status Register */ macro
Dpxa.c168 *status = serial_in(up, UART_LSR); in receive_chars()
260 lsr = serial_in(up, UART_LSR); in serial_pxa_irq()
277 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty()
370 (void) serial_in(up, UART_LSR); in serial_pxa_startup()
396 (void) serial_in(up, UART_LSR); in serial_pxa_startup()
612 status = serial_in(up, UART_LSR); in wait_for_xmitr()
693 unsigned char lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char()
696 lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char()
Dvr41xx_siu.c196 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()
Dnwpserial.c50 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()
Dsunsu.c392 *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()
Domap-serial.c585 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()
Dserial-tegra.c380 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_fill_tx_fifo()
487 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_tx_empty()
532 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_handle_rx_pio()
740 tegra_uart_read(tup, UART_LSR)); in tegra_uart_isr()
788 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit()
810 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit()
Dm32r_sio.c277 while((serial_in(up, UART_LSR) & UART_EMPTY) != UART_EMPTY); in m32r_sio_start_tx()
376 *status = serial_in(up, UART_LSR); in receive_chars()
409 while (!(serial_in(up, UART_LSR) & UART_LSR_THRE)); in transmit_chars()
595 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in m32r_sio_tx_empty()
Dpch_uart.c348 "LSR: \t0x%02x\n", ioread8(priv->membase + UART_LSR)); in port_show_regs()
596 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read()
597 for (i = 0, lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read()
599 lsr = ioread8(priv->membase + UART_LSR)) { in pch_uart_hal_read()
627 return ioread8(priv->membase + UART_LSR); in pch_uart_hal_get_line_status()
1540 status = ioread8(up->membase + UART_LSR); in wait_for_xmitr()
1572 u8 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_get_poll_char()
Dof_serial.c42 status = p->serial_in(p, UART_LSR); in tegra_serial_handle_break()
/drivers/staging/media/lirc/
Dlirc_serial.c400 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo()
408 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo()
681 sinp(UART_LSR); in hardware_init_port()
690 sinp(UART_LSR); in hardware_init_port()
960 sinp(UART_LSR); in lirc_serial_suspend()
Dlirc_sir.c448 (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/tty/serial/8250/
D8250_port.c702 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo()
1270 serial_in(up, UART_LSR); in autoconfig_irq()
1331 lsr = serial_in(up, UART_LSR); in serial8250_start_tx()
1468 lsr = serial_in(up, UART_LSR); in serial8250_rx_chars()
1506 if ((serial_port_in(port, UART_LSR) & BOTH_EMPTY) != in serial8250_tx_chars()
1568 status = serial_port_in(port, UART_LSR); in serial8250_handle_irq()
1638 lsr = serial_port_in(port, UART_LSR); in serial8250_tx_empty()
1724 status = serial_in(up, UART_LSR); in wait_for_xmitr()
1763 lsr = serial_port_in(port, UART_LSR); in serial8250_get_poll_char()
1873 serial_port_in(port, UART_LSR); in serial8250_do_startup()
[all …]
D8250_fsl.c49 lsr = orig_lsr = up->port.serial_in(&up->port, UART_LSR); in fsl8250_handle_irq()
D8250_early.c81 status = serial8250_early_in(port, UART_LSR); in wait_for_xmitr()
D8250_em.c66 case UART_LSR: /* LSR @ 0x18 (+1) */ in serial8250_em_serial_in()
/drivers/bluetooth/
Dbtuart_cs.c116 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in btuart_write()
282 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in btuart_receive()
307 lsr = inb(iobase + UART_LSR); in btuart_interrupt()
Ddtl1_cs.c115 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/isdn/hisax/
Delsa_ser.c157 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/
Dali-ircc.c819 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/
Dmxser.c899 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/mmc/card/
Dsdio_uart.c424 *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()

12