Searched refs:UART_LSR_THRE (Results 1 – 25 of 27) sorted by relevance
12
/drivers/tty/serial/ |
D | m32r_sio_reg.h | 103 #define UART_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) 126 #define UART_LSR_THRE 0x01 /* Transmit-hold-register empty */ macro
|
D | nwpserial.c | 64 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()
|
D | pxa.c | 264 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)
|
D | vr41xx_siu.c | 441 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)
|
D | sunsu.c | 469 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)
|
D | omap-serial.c | 907 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()
|
D | m32r_sio.c | 409 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()
|
D | pch_uart.c | 213 #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/ |
D | serialio.h | 35 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
|
/drivers/tty/serial/jsm/ |
D | jsm_neo.c | 371 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/ |
D | 8250_fsl.c | 56 if (lsr & UART_LSR_THRE) in fsl8250_handle_irq()
|
D | 8250_early.c | 74 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
|
D | 8250_omap.c | 167 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()
|
D | 8250_port.c | 55 #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/ |
D | dgnc_neo.c | 553 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/ |
D | btuart_cs.c | 116 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in btuart_write() 318 if (lsr & UART_LSR_THRE) { in btuart_interrupt()
|
D | dtl1_cs.c | 115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write() 321 if (lsr & UART_LSR_THRE) { in dtl1_interrupt()
|
/drivers/staging/media/lirc/ |
D | lirc_sir.c | 452 if (lsr & UART_LSR_THRE) /* FIFO is empty */ in sir_interrupt() 538 while (!(inb(io + UART_LSR) & UART_LSR_THRE)) in send_pulse()
|
D | lirc_serial.c | 400 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 306 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/ |
D | mxser.c | 761 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/ |
D | ali-ircc.c | 834 if (lsr & UART_LSR_THRE) in ali_ircc_sir_interrupt() 1283 if (!(inb(iobase+UART_LSR) & UART_LSR_THRE)) { in ali_ircc_sir_write()
|
D | smsc-ircc2.c | 1601 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/ |
D | mos7720.c | 1742 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/ |
D | elsa_ser.c | 404 if (status & UART_LSR_THRE) in rs_interrupt_elsa()
|
12