Home
last modified time | relevance | path

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

/linux-4.1.27/arch/arm/mach-ebsa110/include/mach/
Duncompress.h25 } 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/
Dearly_printk.c54 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/
Duncompress.h22 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/
Duncompress.h20 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/
Dearly_printk.c39 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/
Duncompress.h38 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/
Dns16550.c24 #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/
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.c925 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()
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)
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()
Dserial-tegra.c49 #define TX_EMPTY_STATUS (UART_LSR_TEMT | UART_LSR_THRE)
/linux-4.1.27/arch/arm/include/debug/
D8250.S43 and \rd, \rd, #UART_LSR_TEMT | UART_LSR_THRE
44 teq \rd, #UART_LSR_TEMT | UART_LSR_THRE
Dtegra.S184 and \rd, \rd, #UART_LSR_THRE
185 teq \rd, #UART_LSR_THRE
Domap2plus.S184 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/
Dearly_printk.c79 #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/
Duncompress.h28 while (!(UART[UART_LSR] & UART_LSR_THRE)) in putc()
/linux-4.1.27/arch/arm/mach-iop13xx/include/mach/
Duncompress.h6 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
/linux-4.1.27/arch/arm/mach-w90x900/include/mach/
Duncompress.h27 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
/linux-4.1.27/arch/mips/netlogic/common/
Dearlycons.c59 while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
/linux-4.1.27/drivers/staging/speakup/
Dserialio.h35 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/linux-4.1.27/arch/arm/mach-mmp/include/mach/
Duncompress.h25 while (!(UART[UART_LSR] & UART_LSR_THRE)) in putc()
/linux-4.1.27/arch/arm/mach-iop33x/include/mach/
Duncompress.h12 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
/linux-4.1.27/arch/arm/mach-iop32x/include/mach/
Duncompress.h12 #define TX_DONE (UART_LSR_TEMT | UART_LSR_THRE)
/linux-4.1.27/arch/arm/mach-ixp4xx/include/mach/
Duncompress.h20 #define TX_DONE (UART_LSR_TEMT|UART_LSR_THRE)
/linux-4.1.27/arch/mips/loongson/common/
Dearly_printk.c36 while (((serial_in(uart_base, UART_LSR) & UART_LSR_THRE) == 0) && in prom_putchar()
/linux-4.1.27/arch/mips/mti-sead3/
Dsead3-console.c40 while ((serial_in(UART_LSR, base_addr) & UART_LSR_THRE) == 0) in prom_putchar()
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
Duncompress.h44 while (!(uart_read(UART_LSR) & UART_LSR_THRE)) in putc()
/linux-4.1.27/arch/mips/kernel/
Dearly_printk_8250.c55 bits = UART_LSR_TEMT | UART_LSR_THRE; in prom_putchar()
/linux-4.1.27/arch/mips/boot/compressed/
Duart-16550.c59 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/linux-4.1.27/drivers/tty/serial/8250/
D8250_fsl.c56 if (lsr & UART_LSR_THRE) in fsl8250_handle_irq()
D8250_early.c72 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
D8250_omap.c157 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()
D8250_core.c85 #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/
Duncompress.h57 while (!(uart_base[UART_LSR << uart_shift] & UART_LSR_THRE)) in putc()
/linux-4.1.27/arch/mips/ath79/
Dearly_printk.c34 #define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
/linux-4.1.27/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()
913 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
/linux-4.1.27/arch/x86/platform/ce4100/
Dce4100.c78 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) in ce4100_mem_serial_in()
/linux-4.1.27/arch/unicore32/kernel/
Ddebug-macro.S79 tst \rd, #UART_LSR_THRE
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
Dls_uart.c38 if (lsr & (UART_LSR_THRE | UART_LSR_TEMT)) { in wd_stop()
/linux-4.1.27/drivers/staging/dgnc/
Ddgnc_neo.c569 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/
Dserial_reg.h134 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ macro
/linux-4.1.27/drivers/bluetooth/
Ddtl1_cs.c115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write()
321 if (lsr & UART_LSR_THRE) { in dtl1_interrupt()
Dbtuart_cs.c116 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/
Dterastation_pro2-setup.c193 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in tsp2_miconwrite()
Dkurobox_pro-setup.c214 while (!(readl(UART1_REG(LSR)) & UART_LSR_THRE)) in kurobox_pro_miconwrite()
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_sir.c464 if (lsr & UART_LSR_THRE) /* FIFO is empty */ in sir_interrupt()
553 while (!(inb(io + UART_LSR) & UART_LSR_THRE)) in send_pulse()
Dlirc_serial.c414 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo()
/linux-4.1.27/sound/drivers/
Dserial-u16550.c253 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/
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()
/linux-4.1.27/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()
/linux-4.1.27/drivers/net/irda/
Dali-ircc.c834 if (lsr & UART_LSR_THRE) in ali_ircc_sir_interrupt()
1289 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()
/linux-4.1.27/drivers/isdn/hisax/
Delsa_ser.c404 if (status & UART_LSR_THRE) in rs_interrupt_elsa()
/linux-4.1.27/drivers/usb/serial/
Dmos7720.c1729 if ((data & (UART_LSR_TEMT | UART_LSR_THRE)) in get_lsr_info()
1730 == (UART_LSR_TEMT | UART_LSR_THRE)) { in get_lsr_info()