/linux-6.3-rc2/arch/powerpc/boot/ |
A 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.3-rc2/arch/arm/include/debug/ |
A D | palmchip.S | 5 #undef UART_LSR 9 #define UART_LSR 7 macro
|
A D | omap2plus.S | 47 mov \rp, #(UART_LSR << ZOOM_PORT_SHIFT) 72 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address
|
A D | 8250.S | 42 1002: load \rd, [\rx, #UART_LSR << UART_SHIFT]
|
/linux-6.3-rc2/drivers/accessibility/speakup/ |
A 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()
|
A D | serialio.h | 38 (!uart_lsr_tx_empty(inb(speakup_info.port_tts + UART_LSR)))
|
/linux-6.3-rc2/arch/mips/ath25/ |
A 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.3-rc2/arch/powerpc/platforms/embedded6xx/ |
A 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.3-rc2/arch/powerpc/kernel/ |
A 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.3-rc2/arch/mips/ath79/ |
A 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.3-rc2/drivers/tty/serial/ |
A 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()
|
A 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()
|
A D | omap-serial.c | 545 lsr = serial_in(up, UART_LSR); in serial_omap_irq() 590 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_omap_tx_empty() 701 (void) serial_in(up, UART_LSR); in serial_omap_startup() 702 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_startup() 766 if (serial_in(up, UART_LSR) & UART_LSR_DR) in serial_omap_shutdown() 1091 status = serial_in(up, UART_LSR); in wait_for_xmitr() 1131 status = serial_in(up, UART_LSR); in serial_omap_poll_get_char() 1166 status = omap_serial_early_in(port, UART_LSR); in omap_serial_early_putc() 1706 while (UART_LSR_THRE != (serial_in(up, UART_LSR) & in serial_omap_mdr1_errataset() 1712 serial_in(up, UART_LSR)); in serial_omap_mdr1_errataset()
|
A 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() 604 unsigned long lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_tx_empty() 649 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_handle_rx_pio() 898 tegra_uart_read(tup, UART_LSR)); in tegra_uart_isr() 948 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit() 970 lsr = tegra_uart_read(tup, UART_LSR); in tegra_uart_hw_deinit()
|
A 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.3-rc2/drivers/media/rc/ |
A 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.3-rc2/drivers/tty/serial/8250/ |
A 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()
|
A D | 8250_port.c | 354 [UART_LSR] = 7, 365 [UART_LSR] = UART_REG_UNMAPPED, 1407 serial_in(up, UART_LSR); in autoconfig_irq() 1810 lsr = serial_in(up, UART_LSR); in serial8250_rx_chars() 1856 !uart_lsr_tx_empty(serial_in(up, UART_LSR))) in serial8250_tx_chars() 1860 !(serial_in(up, UART_LSR) & UART_LSR_THRE)) in serial8250_tx_chars() 2140 lsr = serial_port_in(port, UART_LSR); in serial8250_get_poll_char() 2256 serial_port_in(port, UART_LSR); in serial8250_do_startup() 2267 (serial_port_in(port, UART_LSR) == 0xff)) { in serial8250_do_startup() 2399 lsr = serial_port_in(port, UART_LSR); in serial8250_do_startup() [all …]
|
A D | 8250_em.c | 55 case UART_LSR: /* LSR @ 0x18 (+1) */ in serial8250_em_serial_in()
|
/linux-6.3-rc2/arch/mips/kernel/ |
A D | early_printk_8250.c | 46 status = serial_in(UART_LSR); in prom_putchar()
|
/linux-6.3-rc2/arch/mips/boot/compressed/ |
A D | uart-16550.c | 48 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/linux-6.3-rc2/drivers/bluetooth/ |
A 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.3-rc2/arch/sh/include/asm/ |
A D | smc37c93x.h | 64 #define UART_LSR 0xa /* Line Status Register */ macro
|
/linux-6.3-rc2/arch/x86/platform/ce4100/ |
A D | ce4100.c | 64 lsr = mem_serial_in(p, UART_LSR); in ce4100_mem_serial_in()
|
/linux-6.3-rc2/drivers/tty/ |
A 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()
|