Home
last modified time | relevance | path

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

12

/drivers/tty/serial/
Dm32r_sio_reg.h103 #define UART_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
126 #define UART_LSR_THRE 0x01 /* Transmit-hold-register empty */ macro
Dnwpserial.c64 wait_for_bits(up, UART_LSR_THRE); in nwpserial_console_putchar()
88 while ((dcr_read(up->dcr_host, UART_LSR) & UART_LSR_THRE) == 0) in nwpserial_console_write()
255 wait_for_bits(up, UART_LSR_THRE); in nwpserial_putchar()
Dpxa.c264 if (lsr & UART_LSR_THRE) in serial_pxa_irq()
495 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_pxa_set_termios()
601 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
Dvr41xx_siu.c441 if (lsr & UART_LSR_THRE) in siu_interrupt()
559 port->read_status_mask = UART_LSR_THRE | UART_LSR_OE | UART_LSR_DR; in siu_set_termios()
736 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
Dsunsu.c469 if (status & UART_LSR_THRE) in sunsu_serial_interrupt()
845 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sunsu_change_speed()
999 } while (!(lsr & UART_LSR_THRE)); in sunsu_serio_write()
1260 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
Domap-serial.c907 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_omap_set_termios()
1166 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
1763 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset()
1764 (UART_LSR_THRE | UART_LSR_DR))) { in serial_omap_mdr1_errataset()
Dm32r_sio.c409 while (!(serial_in(up, UART_LSR) & UART_LSR_THRE)); in transmit_chars()
748 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in m32r_sio_set_termios()
Dpch_uart.c213 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
1594 wait_for_xmitr(priv, UART_LSR_THRE); in pch_uart_put_poll_char()
1640 wait_for_xmitr(priv, UART_LSR_THRE); in pch_console_putchar()
/drivers/staging/speakup/
Dserialio.h35 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/drivers/tty/serial/jsm/
Djsm_neo.c371 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) in neo_copy_data_from_uart_to_queue()
429 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) { in neo_copy_data_from_uart_to_queue()
430 linestatus &= ~(UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR); in neo_copy_data_from_uart_to_queue()
515 if (ch->ch_cached_lsr & UART_LSR_THRE) { in neo_copy_data_from_queue_to_uart()
516 ch->ch_cached_lsr &= ~(UART_LSR_THRE); in neo_copy_data_from_queue_to_uart()
915 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
/drivers/tty/serial/8250/
D8250_fsl.c56 if (lsr & UART_LSR_THRE) in fsl8250_handle_irq()
D8250_early.c74 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
D8250_omap.c167 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in omap_8250_mdr1_errataset()
168 (UART_LSR_THRE | UART_LSR_DR))) { in omap_8250_mdr1_errataset()
367 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in omap_8250_set_termios()
1031 if (status & UART_LSR_THRE && up->dma->tx_err) { in omap_8250_dma_handle_irq()
D8250_port.c55 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
1333 if (lsr & UART_LSR_THRE) in serial8250_start_tx()
1581 (status & UART_LSR_THRE)) in serial8250_handle_irq()
1926 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_do_startup()
2310 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial8250_do_set_termios()
2816 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_console_putchar()
/drivers/staging/dgnc/
Ddgnc_neo.c553 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
1169 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) in neo_copy_data_from_uart_to_queue()
1227 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) { in neo_copy_data_from_uart_to_queue()
1228 linestatus &= ~(UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR); in neo_copy_data_from_uart_to_queue()
1404 if (ch->ch_cached_lsr & UART_LSR_THRE) { in neo_copy_data_from_queue_to_uart()
1405 ch->ch_cached_lsr &= ~(UART_LSR_THRE); in neo_copy_data_from_queue_to_uart()
/drivers/bluetooth/
Dbtuart_cs.c116 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in btuart_write()
318 if (lsr & UART_LSR_THRE) { in btuart_interrupt()
Ddtl1_cs.c115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write()
321 if (lsr & UART_LSR_THRE) { in dtl1_interrupt()
/drivers/staging/media/lirc/
Dlirc_sir.c452 if (lsr & UART_LSR_THRE) /* FIFO is empty */ in sir_interrupt()
538 while (!(inb(io + UART_LSR) & UART_LSR_THRE)) in send_pulse()
Dlirc_serial.c400 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo()
/drivers/mmc/card/
Dsdio_uart.c306 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in sdio_uart_change_speed()
543 if (lsr & UART_LSR_THRE) in sdio_uart_irq()
/drivers/tty/
Dmxser.c761 info->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in mxser_change_speed()
1759 lsr = inb(info->ioaddr + UART_LSR) & UART_LSR_THRE; in mxser_ioctl()
2301 UART_LSR_THRE)) in mxser_interrupt()
2304 if (status & UART_LSR_THRE) in mxser_interrupt()
/drivers/net/irda/
Dali-ircc.c834 if (lsr & UART_LSR_THRE) in ali_ircc_sir_interrupt()
1283 if (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) { in ali_ircc_sir_write()
Dsmsc-ircc2.c1601 if (lsr & UART_LSR_THRE) in smsc_ircc_interrupt_sir()
2024 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) { in smsc_ircc_sir_write()
/drivers/usb/serial/
Dmos7720.c1742 if ((data & (UART_LSR_TEMT | UART_LSR_THRE)) in get_lsr_info()
1743 == (UART_LSR_TEMT | UART_LSR_THRE)) { in get_lsr_info()
/drivers/isdn/hisax/
Delsa_ser.c404 if (status & UART_LSR_THRE) in rs_interrupt_elsa()

12