Home
last modified time | relevance | path

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

12

/drivers/staging/speakup/
Dserialio.c61 if (inb(ser->port + UART_LSR) == 0xff) { in spk_serial_init()
83 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler()
112 inb(speakup_info.port_tts+UART_LSR); in start_serial_interrupt()
174 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in()
189 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait()
Dserialio.h38 #define spk_serial_tx_busy() ((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
Dvr41xx_siu.c196 lsr = siu_read(port, UART_LSR); in siu_tx_empty()
365 lsr = siu_read(port, UART_LSR); in receive_chars()
437 lsr = siu_read(port, UART_LSR); in siu_interrupt()
458 (void)siu_read(port, UART_LSR); in siu_startup()
463 if (siu_read(port, UART_LSR) == 0xff) in siu_startup()
481 (void)siu_read(port, UART_LSR); in siu_startup()
746 lsr = siu_read(port, UART_LSR); in wait_for_xmitr()
Dnwpserial.c49 status = dcr_read(up->dcr_host, UART_LSR); in wait_for_bits()
87 while ((dcr_read(up->dcr_host, UART_LSR) & UART_LSR_THRE) == 0) in nwpserial_console_write()
150 } while (dcr_read(up->dcr_host, UART_LSR) & UART_LSR_DR); in nwpserial_interrupt()
302 ret = dcr_read(up->dcr_host, UART_LSR); in nwpserial_tx_empty()
Dsunsu.c382 *status = serial_inp(up, UART_LSR); in receive_chars()
459 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()
Dpxa.c169 *status = serial_in(up, UART_LSR); in receive_chars()
259 lsr = serial_in(up, UART_LSR); in serial_pxa_irq()
275 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty()
393 (void) serial_in(up, UART_LSR); in serial_pxa_startup()
419 (void) serial_in(up, UART_LSR); in serial_pxa_startup()
635 status = serial_in(up, UART_LSR); in wait_for_xmitr()
Dmfd.c157 "LSR: \t\t0x%08x\n", serial_in(up, UART_LSR)); in port_show_regs()
522 *status = serial_in(up, UART_LSR); in receive_chars()
599 lsr = serial_in(up, UART_LSR); in port_irq()
616 lsr = serial_in(up, UART_LSR); in port_irq()
687 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_hsu_tx_empty()
775 (void) serial_in(up, UART_LSR); in serial_hsu_startup()
841 (void) serial_in(up, UART_LSR); in serial_hsu_startup()
1074 status = serial_in(up, UART_LSR); in wait_for_xmitr()
Domap-serial.c244 lsr = serial_in(up, UART_LSR); in receive_chars()
406 lsr = serial_in(up, UART_LSR); in serial_omap_irq()
441 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty()
539 (void) serial_in(up, UART_LSR); in serial_omap_startup()
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()
988 status = serial_in(up, UART_LSR); in wait_for_xmitr()
1031 status = serial_in(up, UART_LSR); in serial_omap_poll_get_char()
1528 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset()
1534 serial_in(up, UART_LSR)); in serial_omap_mdr1_errataset()
Dm32r_sio.c291 while((serial_in(up, UART_LSR) & UART_EMPTY) != UART_EMPTY); in m32r_sio_start_tx()
387 *status = serial_in(up, UART_LSR); in receive_chars()
417 while (!(serial_in(up, UART_LSR) & UART_LSR_THRE)); in transmit_chars()
602 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in m32r_sio_tx_empty()
Dpch_uart.c340 "LSR: \t0x%02x\n", ioread8(priv->membase + UART_LSR)); in port_show_regs()
556 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read()
557 for (i = 0, lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read()
559 lsr = ioread8(priv->membase + UART_LSR)) { in pch_uart_hal_read()
578 return ioread8(priv->membase + UART_LSR); in pch_uart_hal_get_line_status()
1519 status = ioread8(up->membase + UART_LSR); in wait_for_xmitr()
/drivers/tty/serial/8250/
D8250.c296 [UART_LSR] = 7,
332 [UART_LSR] = 0x24,
342 [UART_LSR] = 0x24,
686 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo()
1241 serial_in(up, UART_LSR); in autoconfig_irq()
1293 lsr = serial_in(up, UART_LSR); in serial8250_start_tx()
1344 status = serial_in(up, UART_LSR); in clear_rx_fifo()
1436 lsr = serial_in(up, UART_LSR); in serial8250_rx_chars()
1525 status = serial_port_in(port, UART_LSR); in serial8250_handle_irq()
1744 lsr = serial_in(up, UART_LSR); in serial8250_backup_timeout()
[all …]
D8250_fsl.c50 lsr = orig_lsr = up->port.serial_in(&up->port, UART_LSR); in fsl8250_handle_irq()
D8250_early.c87 status = serial_in(port, UART_LSR); in wait_for_xmitr()
/drivers/staging/media/lirc/
Dlirc_serial.c452 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo()
460 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo()
788 sinp(UART_LSR); in hardware_init_port()
811 sinp(UART_LSR); in hardware_init_port()
1110 sinp(UART_LSR); in lirc_serial_suspend()
Dlirc_sir.c624 (void) inb(io + UART_LSR); in sir_interrupt()
690 lsr = inb(io + UART_LSR); in sir_interrupt()
751 while (!(inb(io + UART_LSR) & UART_LSR_THRE)) in send_pulse()
/drivers/bluetooth/
Ddtl1_cs.c115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write()
282 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive()
308 lsr = inb(iobase + UART_LSR); in dtl1_interrupt()
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()
/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/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()
1315 status = inb(info->ioaddr + UART_LSR); in mxser_get_lsr_info()
1748 lsr = inb(info->ioaddr + UART_LSR) & UART_LSR_THRE; in mxser_ioctl()
2007 while (!((lsr = inb(info->ioaddr + UART_LSR)) & UART_LSR_TEMT)) { in mxser_wait_until_sent()
2134 *status = inb(port->ioaddr + UART_LSR); in mxser_receive_chars()
2251 status = inb(port->ioaddr + UART_LSR); in mxser_interrupt()
2258 status = inb(port->ioaddr + UART_LSR); in mxser_interrupt()
/drivers/net/irda/
Dali-ircc.c835 lsr = inb(iobase+UART_LSR); in ali_ircc_sir_interrupt()
899 } while (inb(iobase+UART_LSR) & UART_LSR_DR); in ali_ircc_sir_receive()
936 while(!(inb(iobase+UART_LSR) & UART_LSR_TEMT)) in ali_ircc_sir_write_wakeup()
1081 inb(iobase+UART_LSR); in ali_ircc_sir_change_speed()
1315 if (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) { in ali_ircc_sir_write()
2253 val = inb(iobase+UART_LSR); in FIR2SIR()
Dsmsc-ircc2.c1509 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in smsc_ircc_sir_receive()
1596 lsr = inb(iobase + UART_LSR); in smsc_ircc_interrupt_sir()
2033 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) { in smsc_ircc_sir_write()
2130 while (count-- > 0 && !(inb(iobase + UART_LSR) & UART_LSR_TEMT)) in smsc_ircc_sir_wait_hw_transmitter_finish()
/drivers/mmc/card/
Dsdio_uart.c443 *status = sdio_in(port, UART_LSR); in sdio_uart_receive_chars()
564 lsr = sdio_in(port, UART_LSR); in sdio_uart_irq()
661 (void) sdio_in(port, UART_LSR); in sdio_uart_activate()
/drivers/usb/serial/
Dark3116.c389 priv->lsr = ark3116_read_reg(serial, UART_LSR, buf); in ark3116_open()

12