/linux-6.6.21/arch/powerpc/boot/ |
D | ns16550.c | 25 #define UART_LSR 5 /* In: Line Status Register */ macro 42 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_THRE) == 0); in ns16550_putc() 48 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) == 0); in ns16550_getc() 54 return ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) != 0); in ns16550_tstc()
|
/linux-6.6.21/arch/arm/include/debug/ |
D | palmchip.S | 5 #undef UART_LSR 9 #define UART_LSR 7 macro
|
D | omap2plus.S | 47 mov \rp, #(UART_LSR << ZOOM_PORT_SHIFT) 72 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address
|
D | 8250.S | 42 1002: load \rd, [\rx, #UART_LSR << UART_SHIFT]
|
/linux-6.6.21/drivers/accessibility/speakup/ |
D | serialio.c | 99 if (inb(ser->port + UART_LSR) == 0xff) { in spk_serial_init() 120 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler() 146 inb(speakup_info.port_tts + UART_LSR); in start_serial_interrupt() 258 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in() 272 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait()
|
D | serialio.h | 38 (!uart_lsr_tx_empty(inb(speakup_info.port_tts + UART_LSR)))
|
/linux-6.6.21/arch/mips/ath25/ |
D | early_printk.c | 40 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar() 43 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
|
/linux-6.6.21/arch/powerpc/platforms/embedded6xx/ |
D | ls_uart.c | 37 char lsr = in_8(avr_addr + UART_LSR); in wd_stop() 47 while (in_8(avr_addr + UART_LSR) & UART_LSR_DR) in wd_stop() 105 (void) in_8(avr_addr + UART_LSR); in ls_uart_init()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | udbg_16550.c | 23 #define UART_LSR 5 macro 52 while ((udbg_uart_in(UART_LSR) & LSR_THRE) == 0) in udbg_uart_flush() 72 if (!(udbg_uart_in(UART_LSR) & LSR_DR)) in udbg_uart_getc_poll() 83 while (!(udbg_uart_in(UART_LSR) & LSR_DR)) in udbg_uart_getc()
|
/linux-6.6.21/arch/mips/ath79/ |
D | early_printk.c | 37 prom_putchar_wait(base + UART_LSR * 4, UART_LSR_BOTH_EMPTY); in prom_putchar_ar71xx() 39 prom_putchar_wait(base + UART_LSR * 4, UART_LSR_BOTH_EMPTY); in prom_putchar_ar71xx()
|
/linux-6.6.21/drivers/tty/serial/ |
D | pxa.c | 160 *status = serial_in(up, UART_LSR); in receive_chars() 229 lsr = serial_in(up, UART_LSR); in serial_pxa_irq() 246 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty() 339 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 365 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 565 status = serial_in(up, UART_LSR); in wait_for_xmitr() 646 unsigned char lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char() 649 lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char()
|
D | sunsu.c | 390 *status = serial_inp(up, UART_LSR); in receive_chars() 462 status = serial_inp(up, UART_LSR); in sunsu_serial_interrupt() 524 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars() 532 unsigned char status = serial_inp(up, UART_LSR); in sunsu_kbd_ms_interrupt() 549 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in sunsu_tx_empty() 653 (void) serial_inp(up, UART_LSR); in sunsu_startup() 664 (serial_inp(up, UART_LSR) == 0xff)) { in sunsu_startup() 714 (void) serial_inp(up, UART_LSR); in sunsu_startup() 989 lsr = serial_in(up, UART_LSR); in sunsu_serio_write() 1260 status = serial_in(up, UART_LSR); in wait_for_xmitr()
|
D | omap-serial.c | 538 lsr = serial_in(up, UART_LSR); in serial_omap_irq() 583 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty() 694 (void) serial_in(up, UART_LSR); in serial_omap_startup() 695 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup() 759 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown() 1084 status = serial_in(up, UART_LSR); in wait_for_xmitr() 1124 status = serial_in(up, UART_LSR); in serial_omap_poll_get_char() 1159 status = omap_serial_early_in(port, UART_LSR); in omap_serial_early_putc() 1699 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset() 1705 serial_in(up, UART_LSR)); in serial_omap_mdr1_errataset()
|
D | serial-tegra.c | 339 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_fifo_reset() 493 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_fill_tx_fifo() 603 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_tx_empty() 647 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_handle_rx_pio() 896 tegra_uart_read(tup, UART_LSR)); in tegra_uart_isr() 946 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit() 968 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit()
|
D | pch_uart.c | 323 "LSR: \t0x%02x\n", ioread8(priv->membase + UART_LSR)); in port_show_regs() 559 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read() 560 for (i = 0, lsr = ioread8(priv->membase + UART_LSR); in pch_uart_hal_read() 562 lsr = ioread8(priv->membase + UART_LSR)) { in pch_uart_hal_read() 586 return ioread8(priv->membase + UART_LSR); in pch_uart_hal_get_line_status() 1453 status = ioread8(up->membase + UART_LSR); in wait_for_xmitr() 1485 u8 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_get_poll_char()
|
/linux-6.6.21/drivers/tty/serial/8250/ |
D | 8250_rt288x.c | 24 [UART_LSR] = 7, 109 status = au_serial_in(port, UART_LSR); in au_putc()
|
D | 8250_early.c | 86 status = serial8250_early_in(port, UART_LSR); in serial_putc() 112 status = serial8250_early_in(port, UART_LSR); in early_serial8250_read()
|
/linux-6.6.21/drivers/media/rc/ |
D | serial_ir.c | 196 while (!(sinp(UART_LSR) & UART_LSR_THRE)) in send_pulse_irdeo() 204 while (!(sinp(UART_LSR) & UART_LSR_TEMT)) in send_pulse_irdeo() 429 sinp(UART_LSR); in hardware_init_port() 438 sinp(UART_LSR); in hardware_init_port() 696 sinp(UART_LSR); in serial_ir_suspend()
|
/linux-6.6.21/arch/mips/kernel/ |
D | early_printk_8250.c | 46 status = serial_in(UART_LSR); in prom_putchar()
|
/linux-6.6.21/arch/mips/boot/compressed/ |
D | uart-16550.c | 48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/linux-6.6.21/drivers/bluetooth/ |
D | dtl1_cs.c | 115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) in dtl1_write() 285 } while (inb(iobase + UART_LSR) & UART_LSR_DR); in dtl1_receive() 311 lsr = inb(iobase + UART_LSR); in dtl1_interrupt()
|
/linux-6.6.21/arch/sh/include/asm/ |
D | smc37c93x.h | 64 #define UART_LSR 0xa /* Line Status Register */ macro
|
/linux-6.6.21/arch/x86/platform/ce4100/ |
D | ce4100.c | 64 lsr = mem_serial_in(p, UART_LSR); in ce4100_mem_serial_in()
|
/linux-6.6.21/drivers/tty/ |
D | mxser.c | 756 if (inb(info->ioaddr + UART_LSR) == 0xff) { in mxser_activate() 770 (void) inb(info->ioaddr + UART_LSR); in mxser_activate() 794 (void) inb(info->ioaddr + UART_LSR); in mxser_activate() 1091 status = inb(info->ioaddr + UART_LSR); in mxser_get_lsr_info() 1388 lsr = inb(info->ioaddr + UART_LSR); in mxser_tx_empty() 1552 status = inb(port->ioaddr + UART_LSR); in mxser_receive_chars_old() 1617 status = inb(port->ioaddr + UART_LSR); in mxser_port_isr() 1626 status = inb(port->ioaddr + UART_LSR); in mxser_port_isr()
|
/linux-6.6.21/include/uapi/linux/ |
D | serial_reg.h | 138 #define UART_LSR 5 /* In: Line Status Register */ macro
|