/linux-4.1.27/arch/arm/mach-ebsa110/include/mach/ |
D | uncompress.h | 25 } while (!(v & UART_LSR_THRE)); in putc() 37 } while ((v & (UART_LSR_TEMT|UART_LSR_THRE)) != in flush() 38 (UART_LSR_TEMT|UART_LSR_THRE)); in flush()
|
/linux-4.1.27/arch/mips/ralink/ |
D | early_printk.c | 54 while ((uart_r32(UART_REG_LSR) & UART_LSR_THRE) == 0) in prom_putchar() 57 while ((uart_r32(UART_REG_LSR_RT2880) & UART_LSR_THRE) == 0) in prom_putchar() 60 while ((uart_r32(UART_REG_LSR_RT2880) & UART_LSR_THRE) == 0) in prom_putchar()
|
/linux-4.1.27/arch/arm/mach-orion5x/include/mach/ |
D | uncompress.h | 22 if (base[UART_LSR << 2] & UART_LSR_THRE) in putc() 36 mask = UART_LSR_TEMT | UART_LSR_THRE; in flush()
|
/linux-4.1.27/arch/arm/mach-mv78xx0/include/mach/ |
D | uncompress.h | 20 if (base[UART_LSR << 2] & UART_LSR_THRE) in putc() 34 mask = UART_LSR_TEMT | UART_LSR_THRE; in flush()
|
/linux-4.1.27/arch/mips/ath25/ |
D | early_printk.c | 39 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar() 42 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
|
/linux-4.1.27/arch/arm/mach-davinci/include/mach/ |
D | uncompress.h | 38 while (!(uart[UART_LSR] & UART_LSR_THRE)) in putc() 48 while (!(uart[UART_LSR] & UART_LSR_THRE)) in flush()
|
/linux-4.1.27/arch/powerpc/boot/ |
D | ns16550.c | 24 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro 40 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_THRE) == 0); in ns16550_putc()
|
/linux-4.1.27/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 | 925 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial_omap_set_termios() 1191 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) 1783 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset() 1784 (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) 1591 wait_for_xmitr(priv, UART_LSR_THRE); in pch_uart_put_poll_char() 1637 wait_for_xmitr(priv, UART_LSR_THRE); in pch_console_putchar()
|
D | serial-tegra.c | 49 #define TX_EMPTY_STATUS (UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-4.1.27/arch/arm/include/debug/ |
D | 8250.S | 43 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE 44 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
|
D | tegra.S | 184 and \rd, \rd, #UART_LSR_THRE 185 teq \rd, #UART_LSR_THRE
|
D | omap2plus.S | 184 and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) 185 teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | early_printk.c | 79 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ in early_printk_uart16550_putc() macro 80 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) in early_printk_uart16550_putc()
|
/linux-4.1.27/arch/arm/mach-gemini/include/mach/ |
D | uncompress.h | 28 while (!(UART[UART_LSR] & UART_LSR_THRE)) in putc()
|
/linux-4.1.27/arch/arm/mach-iop13xx/include/mach/ |
D | uncompress.h | 6 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-4.1.27/arch/arm/mach-w90x900/include/mach/ |
D | uncompress.h | 27 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-4.1.27/arch/mips/netlogic/common/ |
D | earlycons.c | 59 while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
|
/linux-4.1.27/drivers/staging/speakup/ |
D | serialio.h | 35 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-4.1.27/arch/arm/mach-mmp/include/mach/ |
D | uncompress.h | 25 while (!(UART[UART_LSR] & UART_LSR_THRE)) in putc()
|
/linux-4.1.27/arch/arm/mach-iop33x/include/mach/ |
D | uncompress.h | 12 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-4.1.27/arch/arm/mach-iop32x/include/mach/ |
D | uncompress.h | 12 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-4.1.27/arch/arm/mach-ixp4xx/include/mach/ |
D | uncompress.h | 20 #define TX_DONE (UART_LSR_TEMT|UART_LSR_THRE)
|
/linux-4.1.27/arch/mips/loongson/common/ |
D | early_printk.c | 36 while (((serial_in(uart_base, UART_LSR) & UART_LSR_THRE) == 0) && in prom_putchar()
|
/linux-4.1.27/arch/mips/mti-sead3/ |
D | sead3-console.c | 40 while ((serial_in(UART_LSR, base_addr) & UART_LSR_THRE) == 0) in prom_putchar()
|
/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
D | uncompress.h | 44 while (!(uart_read(UART_LSR) & UART_LSR_THRE)) in putc()
|
/linux-4.1.27/arch/mips/kernel/ |
D | early_printk_8250.c | 55 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
|
/linux-4.1.27/arch/mips/boot/compressed/ |
D | uart-16550.c | 59 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_fsl.c | 56 if (lsr & UART_LSR_THRE) in fsl8250_handle_irq()
|
D | 8250_early.c | 72 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
|
D | 8250_omap.c | 157 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in omap_8250_mdr1_errataset() 158 (UART_LSR_THRE | UART_LSR_DR))) { in omap_8250_mdr1_errataset() 350 up->port.read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in omap_8250_set_termios() 1000 if (status & UART_LSR_THRE && up->dma->tx_err) { in omap_8250_dma_handle_irq()
|
D | 8250_core.c | 85 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE) 1404 if (lsr & UART_LSR_THRE) in serial8250_start_tx() 1652 (status & UART_LSR_THRE)) in serial8250_handle_irq() 1905 (lsr & UART_LSR_THRE)) { in serial8250_backup_timeout() 2247 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_do_startup() 2616 port->read_status_mask = UART_LSR_OE | UART_LSR_THRE | UART_LSR_DR; in serial8250_do_set_termios() 3351 wait_for_xmitr(up, UART_LSR_THRE); in serial8250_console_putchar()
|
/linux-4.1.27/arch/arm/mach-omap1/include/mach/ |
D | uncompress.h | 57 while (!(uart_base[UART_LSR << uart_shift] & UART_LSR_THRE)) in putc()
|
/linux-4.1.27/arch/mips/ath79/ |
D | early_printk.c | 34 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
|
/linux-4.1.27/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() 913 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
|
/linux-4.1.27/arch/x86/platform/ce4100/ |
D | ce4100.c | 78 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) in ce4100_mem_serial_in()
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | debug-macro.S | 79 tst \rd, #UART_LSR_THRE
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
D | ls_uart.c | 38 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) { in wd_stop()
|
/linux-4.1.27/drivers/staging/dgnc/ |
D | dgnc_neo.c | 569 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr() 1197 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) in neo_copy_data_from_uart_to_queue() 1256 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) { in neo_copy_data_from_uart_to_queue() 1257 linestatus &= ~(UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR); in neo_copy_data_from_uart_to_queue() 1439 if (ch->ch_cached_lsr & UART_LSR_THRE) { in neo_copy_data_from_queue_to_uart() 1440 ch->ch_cached_lsr &= ~(UART_LSR_THRE); in neo_copy_data_from_queue_to_uart()
|
/linux-4.1.27/include/uapi/linux/ |
D | serial_reg.h | 134 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
|
/linux-4.1.27/drivers/bluetooth/ |
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()
|
D | btuart_cs.c | 116 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in btuart_write() 319 if (lsr & UART_LSR_THRE) { in btuart_interrupt()
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
D | terastation_pro2-setup.c | 193 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in tsp2_miconwrite()
|
D | kurobox_pro-setup.c | 214 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in kurobox_pro_miconwrite()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
D | lirc_sir.c | 464 if (lsr & UART_LSR_THRE) /* FIFO is empty */ in sir_interrupt() 553 while (!(inb(io + UART_LSR) & UART_LSR_THRE)) in send_pulse()
|
D | lirc_serial.c | 414 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo()
|
/linux-4.1.27/sound/drivers/ |
D | serial-u16550.c | 253 if (status & UART_LSR_THRE) in snd_uart16550_io_loop() 622 if ((inb(uart->base + UART_LSR) & UART_LSR_THRE) != 0) { in snd_uart16550_output_byte()
|
/linux-4.1.27/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()
|
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/net/irda/ |
D | ali-ircc.c | 834 if (lsr & UART_LSR_THRE) in ali_ircc_sir_interrupt() 1289 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()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | elsa_ser.c | 404 if (status & UART_LSR_THRE) in rs_interrupt_elsa()
|
/linux-4.1.27/drivers/usb/serial/ |
D | mos7720.c | 1729 if ((data & (UART_LSR_TEMT | UART_LSR_THRE)) in get_lsr_info() 1730 == (UART_LSR_TEMT | UART_LSR_THRE)) { in get_lsr_info()
|