/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/arch/arm/mach-dove/include/mach/ |
D | uncompress.h | 10 #define UART_LSR ((volatile unsigned char *)(UART0_PHYS_BASE + 0x14)) macro 20 if (*UART_LSR & LSR_THRE) in putc()
|
/kernel/linux/linux-5.10/arch/arm/mach-ebsa110/include/mach/ |
D | uncompress.h | 20 v = base[UART_LSR << 2]; in putc() 32 v = base[UART_LSR << 2]; in flush()
|
/kernel/linux/linux-5.10/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 | 39 ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | udbg_16550.c | 22 #define UART_LSR 5 macro 51 while ((udbg_uart_in(UART_LSR) & LSR_THRE) == 0) in udbg_uart_flush() 71 if (!(udbg_uart_in(UART_LSR) & LSR_DR)) in udbg_uart_getc_poll() 82 while (!(udbg_uart_in(UART_LSR) & LSR_DR)) in udbg_uart_getc()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/mips/ath79/ |
D | early_printk.c | 38 prom_putchar_wait(base + UART_LSR * 4, BOTH_EMPTY, BOTH_EMPTY); in prom_putchar_ar71xx() 40 prom_putchar_wait(base + UART_LSR * 4, BOTH_EMPTY, BOTH_EMPTY); in prom_putchar_ar71xx()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | pxa.c | 159 *status = serial_in(up, UART_LSR); in receive_chars() 251 lsr = serial_in(up, UART_LSR); in serial_pxa_irq() 268 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in serial_pxa_tx_empty() 361 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 387 (void) serial_in(up, UART_LSR); in serial_pxa_startup() 603 status = serial_in(up, UART_LSR); in wait_for_xmitr() 684 unsigned char lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char() 687 lsr = serial_in(up, UART_LSR); in serial_pxa_get_poll_char()
|
D | vr41xx_siu.c | 179 lsr = siu_read(port, UART_LSR); in siu_tx_empty() 346 lsr = siu_read(port, UART_LSR); in receive_chars() 418 lsr = siu_read(port, UART_LSR); in siu_interrupt() 439 (void)siu_read(port, UART_LSR); in siu_startup() 444 if (siu_read(port, UART_LSR) == 0xff) in siu_startup() 462 (void)siu_read(port, UART_LSR); in siu_startup() 727 lsr = siu_read(port, UART_LSR); in wait_for_xmitr()
|
D | sunsu.c | 389 *status = serial_inp(up, UART_LSR); in receive_chars() 462 status = serial_inp(up, UART_LSR); in sunsu_serial_interrupt() 528 } while (serial_in(up, UART_LSR) & UART_LSR_DR); in receive_kbd_ms_chars() 536 unsigned char status = serial_inp(up, UART_LSR); in sunsu_kbd_ms_interrupt() 553 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0; in sunsu_tx_empty() 657 (void) serial_inp(up, UART_LSR); in sunsu_startup() 668 (serial_inp(up, UART_LSR) == 0xff)) { in sunsu_startup() 718 (void) serial_inp(up, UART_LSR); in sunsu_startup() 995 lsr = serial_in(up, UART_LSR); in sunsu_serio_write() 1268 status = serial_in(up, UART_LSR); in wait_for_xmitr()
|
/kernel/linux/linux-5.10/arch/arm/mach-iop32x/include/mach/ |
D | uncompress.h | 16 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
|
/kernel/linux/linux-5.10/arch/mips/netlogic/common/ |
D | earlycons.c | 60 while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | sir_ir.c | 172 (void)inb(io + UART_LSR); in sir_interrupt() 230 lsr = inb(io + UART_LSR); in sir_interrupt() 257 while (!(inb(io + UART_LSR) & UART_LSR_THRE)) in send_pulse()
|
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()
|
/kernel/linux/linux-5.10/arch/arm/mach-ixp4xx/include/mach/ |
D | uncompress.h | 24 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
D | 8250_early.c | 96 status = serial8250_early_in(port, UART_LSR); in serial_putc() 122 status = serial8250_early_in(port, UART_LSR); in early_serial8250_read()
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/ |
D | uncompress.h | 41 while (!(uart_read(UART_LSR) & UART_LSR_THRE)) in putc()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | early_printk_8250.c | 46 status = serial_in(UART_LSR); in prom_putchar()
|
/kernel/linux/linux-5.10/arch/mips/boot/compressed/ |
D | uart-16550.c | 60 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
|
/kernel/linux/linux-5.10/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()
|