Home
last modified time | relevance | path

Searched refs:UART_LSR (Results 1 – 25 of 55) sorted by relevance

123

/kernel/linux/linux-5.10/arch/powerpc/boot/
Dns16550.c25 #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/
Dpalmchip.S5 #undef UART_LSR
9 #define UART_LSR 7 macro
Domap2plus.S47 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/
Duncompress.h10 #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/
Duncompress.h20 v = base[UART_LSR << 2]; in putc()
32 v = base[UART_LSR << 2]; in flush()
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dserialio.c99 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()
Dserialio.h39 ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
/kernel/linux/linux-5.10/arch/mips/ath25/
Dearly_printk.c40 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/
Dudbg_16550.c22 #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/
Dls_uart.c36 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/
Duncompress.h38 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/
Dearly_printk.c38 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/
Dpxa.c159 *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()
Dvr41xx_siu.c179 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()
Dsunsu.c389 *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/
Duncompress.h16 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/kernel/linux/linux-5.10/arch/mips/netlogic/common/
Dearlycons.c60 while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
/kernel/linux/linux-5.10/drivers/media/rc/
Dsir_ir.c172 (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()
Dserial_ir.c196 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/
Duncompress.h24 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_early.c96 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/
Duncompress.h41 while (!(uart_read(UART_LSR) & UART_LSR_THRE)) in putc()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dearly_printk_8250.c46 status = serial_in(UART_LSR); in prom_putchar()
/kernel/linux/linux-5.10/arch/mips/boot/compressed/
Duart-16550.c60 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/kernel/linux/linux-5.10/drivers/bluetooth/
Ddtl1_cs.c115 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()

123