/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/arch/powerpc/platforms/embedded6xx/ |
D | ls_uart.c | 36 char lsr = in_8(avr_addr + UART_LSR); in wd_stop() 46 while (in_8(avr_addr + UART_LSR) & UART_LSR_DR) in wd_stop() 104 (void) in_8(avr_addr + UART_LSR); in ls_uart_init()
|
/linux-6.1.9/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.1.9/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.1.9/drivers/tty/serial/ |
D | pxa.c | 160 *status = serial_in(up, UART_LSR); in receive_chars() 252 lsr = serial_in(up, UART_LSR); in serial_pxa_irq() 269 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty() 362 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 388 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 588 status = serial_in(up, UART_LSR); in wait_for_xmitr() 669 unsigned char lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char() 672 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() 463 status = serial_inp(up, UART_LSR); in sunsu_serial_interrupt() 525 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars() 533 unsigned char status = serial_inp(up, UART_LSR); in sunsu_kbd_ms_interrupt() 550 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in sunsu_tx_empty() 654 (void) serial_inp(up, UART_LSR); in sunsu_startup() 665 (serial_inp(up, UART_LSR) == 0xff)) { in sunsu_startup() 715 (void) serial_inp(up, UART_LSR); in sunsu_startup() 990 lsr = serial_in(up, UART_LSR); in sunsu_serio_write() 1261 status = serial_in(up, UART_LSR); in wait_for_xmitr()
|
D | omap-serial.c | 567 lsr = serial_in(up, UART_LSR); in serial_omap_irq() 612 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty() 723 (void) serial_in(up, UART_LSR); in serial_omap_startup() 724 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup() 788 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown() 1113 status = serial_in(up, UART_LSR); in wait_for_xmitr() 1153 status = serial_in(up, UART_LSR); in serial_omap_poll_get_char() 1188 status = omap_serial_early_in(port, UART_LSR); in omap_serial_early_putc() 1728 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset() 1734 serial_in(up, UART_LSR)); in serial_omap_mdr1_errataset()
|
D | serial-tegra.c | 340 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_fifo_reset() 494 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_fill_tx_fifo() 605 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_tx_empty() 650 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_handle_rx_pio() 899 tegra_uart_read(tup, UART_LSR)); in tegra_uart_isr() 949 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit() 971 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() 1457 status = ioread8(up->membase + UART_LSR); in wait_for_xmitr() 1489 u8 lsr = ioread8(priv->membase + UART_LSR); in pch_uart_get_poll_char()
|
/linux-6.1.9/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.1.9/drivers/tty/serial/8250/ |
D | 8250_early.c | 94 status = serial8250_early_in(port, UART_LSR); in serial_putc() 120 status = serial8250_early_in(port, UART_LSR); in early_serial8250_read()
|
D | 8250_port.c | 346 [UART_LSR] = 7, 357 [UART_LSR] = UART_REG_UNMAPPED, 858 for (count = 0; (serial_in(up, UART_LSR) & UART_LSR_DR) && in size_fifo() 1398 serial_in(up, UART_LSR); in autoconfig_irq() 1803 lsr = serial_in(up, UART_LSR); in serial8250_rx_chars() 1850 !uart_lsr_tx_empty(serial_in(up, UART_LSR))) in serial8250_tx_chars() 1854 !(serial_in(up, UART_LSR) & UART_LSR_THRE)) in serial8250_tx_chars() 2134 lsr = serial_port_in(port, UART_LSR); in serial8250_get_poll_char() 2250 serial_port_in(port, UART_LSR); in serial8250_do_startup() 2261 (serial_port_in(port, UART_LSR) == 0xff)) { in serial8250_do_startup() [all …]
|
/linux-6.1.9/arch/mips/kernel/ |
D | early_printk_8250.c | 46 status = serial_in(UART_LSR); in prom_putchar()
|
/linux-6.1.9/arch/mips/boot/compressed/ |
D | uart-16550.c | 48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/linux-6.1.9/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.1.9/arch/sh/include/asm/ |
D | smc37c93x.h | 64 #define UART_LSR 0xa /* Line Status Register */ macro
|
/linux-6.1.9/arch/x86/platform/ce4100/ |
D | ce4100.c | 64 lsr = mem_serial_in(p, UART_LSR); in ce4100_mem_serial_in()
|
/linux-6.1.9/drivers/tty/ |
D | mxser.c | 755 if (inb(info->ioaddr + UART_LSR) == 0xff) { in mxser_activate() 769 (void) inb(info->ioaddr + UART_LSR); in mxser_activate() 793 (void) inb(info->ioaddr + UART_LSR); in mxser_activate() 1090 status = inb(info->ioaddr + UART_LSR); in mxser_get_lsr_info() 1387 lsr = inb(info->ioaddr + UART_LSR); in mxser_tx_empty() 1551 status = inb(port->ioaddr + UART_LSR); in mxser_receive_chars_old() 1616 status = inb(port->ioaddr + UART_LSR); in mxser_port_isr() 1625 status = inb(port->ioaddr + UART_LSR); in mxser_port_isr()
|
/linux-6.1.9/include/uapi/linux/ |
D | serial_reg.h | 133 #define UART_LSR 5 /* In: Line Status Register */ macro
|