Searched refs:UART_LSR (Results 1 - 25 of 43) sorted by relevance

12

/linux-master/arch/arm/include/debug/
H A Dpalmchip.S5 #undef UART_LSR
9 #define UART_LSR 7 define
H A Domap2plus.S47 mov \rp, #(UART_LSR << ZOOM_PORT_SHIFT)
57 100: /* Pass the UART_LSR reg address */
72 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address
H A D8250.S42 1002: load \rd, [\rx, #UART_LSR << UART_SHIFT]
/linux-master/arch/mips/ath25/
H A Dearly_printk.c40 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0)
43 while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0)
/linux-master/arch/powerpc/boot/
H A 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);
48 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) == 0);
54 return ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) != 0);
/linux-master/drivers/accessibility/speakup/
H A Dserialio.h38 (!uart_lsr_tx_empty(inb(speakup_info.port_tts + UART_LSR)))
H A Dserialio.c99 if (inb(ser->port + UART_LSR) == 0xff) {
120 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) {
146 inb(speakup_info.port_tts + UART_LSR);
258 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) {
272 lsr = inb_p(speakup_info.port_tts + UART_LSR);
/linux-master/arch/powerpc/platforms/embedded6xx/
H A Dls_uart.c37 char lsr = in_8(avr_addr + UART_LSR);
47 while (in_8(avr_addr + UART_LSR) & UART_LSR_DR)
105 (void) in_8(avr_addr + UART_LSR);
/linux-master/arch/mips/kernel/
H A Dearly_printk_8250.c46 status = serial_in(UART_LSR);
H A Dcps-vec-ns16550.S15 #define UART_LSR_OFS (UART_LSR << CONFIG_MIPS_CPS_NS16550_SHIFT)
/linux-master/arch/mips/boot/compressed/
H A Duart-16550.c45 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0))
/linux-master/arch/mips/ath79/
H A Dearly_printk.c37 prom_putchar_wait(base + UART_LSR * 4, UART_LSR_BOTH_EMPTY);
39 prom_putchar_wait(base + UART_LSR * 4, UART_LSR_BOTH_EMPTY);
/linux-master/drivers/tty/serial/8250/
H A D8250_rt288x.c24 [UART_LSR] = 7,
109 status = au_serial_in(port, UART_LSR);
H A D8250_early.c86 status = serial8250_early_in(port, UART_LSR);
112 status = serial8250_early_in(port, UART_LSR);
H A D8250_fsl.c62 lsr = orig_lsr = up->port.serial_in(&up->port, UART_LSR);
H A D8250_tegra.c31 status = p->serial_in(p, UART_LSR);
/linux-master/arch/powerpc/kernel/
H A Dudbg_16550.c22 #define UART_LSR 5 macro
51 while ((udbg_uart_in(UART_LSR) & LSR_THRE) == 0)
71 if (!(udbg_uart_in(UART_LSR) & LSR_DR))
82 while (!(udbg_uart_in(UART_LSR) & LSR_DR))
/linux-master/arch/x86/platform/ce4100/
H A Dce4100.c64 lsr = mem_serial_in(p, UART_LSR);
/linux-master/drivers/tty/serial/
H A Dpxa.c160 *status = serial_in(up, UART_LSR);
229 lsr = serial_in(up, UART_LSR);
246 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0;
339 (void) serial_in(up, UART_LSR);
365 (void) serial_in(up, UART_LSR);
565 status = serial_in(up, UART_LSR);
641 unsigned char lsr = serial_in(up, UART_LSR);
644 lsr = serial_in(up, UART_LSR);
H A Dsunsu.c390 *status = serial_inp(up, UART_LSR);
462 status = serial_inp(up, UART_LSR);
524 } while (serial_in(up, UART_LSR) & UART_LSR_DR);
532 unsigned char status = serial_inp(up, UART_LSR);
549 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0;
653 (void) serial_inp(up, UART_LSR);
664 (serial_inp(up, UART_LSR) == 0xff)) {
714 (void) serial_inp(up, UART_LSR);
989 lsr = serial_in(up, UART_LSR);
1260 status = serial_in(up, UART_LSR);
[all...]
H A Domap-serial.c538 lsr = serial_in(up, UART_LSR);
583 ret = serial_in(up, UART_LSR) & UART_LSR_TEMT ? TIOCSER_TEMT : 0;
694 (void) serial_in(up, UART_LSR);
695 if (serial_in(up, UART_LSR) & UART_LSR_DR)
759 if (serial_in(up, UART_LSR) & UART_LSR_DR)
1084 status = serial_in(up, UART_LSR);
1124 status = serial_in(up, UART_LSR);
1159 status = omap_serial_early_in(port, UART_LSR);
1693 while (UART_LSR_THRE != (serial_in(up, UART_LSR) &
1699 serial_in(up, UART_LSR));
[all...]
/linux-master/drivers/media/rc/
H A Dserial_ir.c196 while (!(sinp(UART_LSR) & UART_LSR_THRE))
204 while (!(sinp(UART_LSR) & UART_LSR_TEMT))
429 sinp(UART_LSR);
438 sinp(UART_LSR);
696 sinp(UART_LSR);
/linux-master/drivers/bluetooth/
H A Ddtl1_cs.c115 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE))
285 } while (inb(iobase + UART_LSR) & UART_LSR_DR);
311 lsr = inb(iobase + UART_LSR);
/linux-master/arch/sh/include/asm/
H A Dsmc37c93x.h64 #define UART_LSR 0xa /* Line Status Register */ macro
/linux-master/drivers/tty/
H A Dmxser.c756 if (inb(info->ioaddr + UART_LSR) == 0xff) {
770 (void) inb(info->ioaddr + UART_LSR);
794 (void) inb(info->ioaddr + UART_LSR);
1091 status = inb(info->ioaddr + UART_LSR);
1388 lsr = inb(info->ioaddr + UART_LSR);
1552 status = inb(port->ioaddr + UART_LSR);
1617 status = inb(port->ioaddr + UART_LSR);
1626 status = inb(port->ioaddr + UART_LSR);

Completed in 305 milliseconds

12