Home
last modified time | relevance | path

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

123

/linux-3.4.99/arch/powerpc/boot/
Dns16550.c23 #define UART_LSR 5 /* In: Line Status Register */ macro
40 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_THRE) == 0); in ns16550_putc()
46 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) == 0); in ns16550_getc()
52 return ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) != 0); in ns16550_tstc()
/linux-3.4.99/drivers/staging/speakup/
Dserialio.c61 if (inb(ser->port + UART_LSR) == 0xff) { in spk_serial_init()
83 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler()
112 inb(speakup_info.port_tts+UART_LSR); in start_serial_interrupt()
174 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in()
189 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait()
/linux-3.4.99/arch/arm/mach-dove/include/mach/
Duncompress.h12 #define UART_LSR ((volatile unsigned char *)(DOVE_UART0_PHYS_BASE + 0x14)) macro
22 if (*UART_LSR & LSR_THRE) in putc()
/linux-3.4.99/arch/arm/mach-ebsa110/include/mach/
Duncompress.h23 v = base[UART_LSR << 2]; in putc()
35 v = base[UART_LSR << 2]; in flush()
/linux-3.4.99/arch/arm/mach-orion5x/include/mach/
Duncompress.h22 if (base[UART_LSR << 2] & UART_LSR_THRE) in putc()
39 if ((base[UART_LSR << 2] & mask) == mask) in flush()
/linux-3.4.99/arch/arm/mach-kirkwood/include/mach/
Duncompress.h20 if (base[UART_LSR << 2] & UART_LSR_THRE) in putc()
37 if ((base[UART_LSR << 2] & mask) == mask) in flush()
/linux-3.4.99/arch/arm/mach-mv78xx0/include/mach/
Duncompress.h20 if (base[UART_LSR << 2] & UART_LSR_THRE) in putc()
37 if ((base[UART_LSR << 2] & mask) == mask) in flush()
/linux-3.4.99/arch/frv/kernel/
Dgdb-io.h26 #undef UART_LSR
39 #define UART_LSR 5*8 /* In: Line Status Register */ macro
/linux-3.4.99/arch/frv/include/asm/
Dserial-regs.h27 #define __get_UART0_LSR() ({ __get_UART0(UART_LSR); })
28 #define __get_UART1_LSR() ({ __get_UART1(UART_LSR); })
/linux-3.4.99/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()
/linux-3.4.99/drivers/tty/serial/
Dm32r_sio_reg.h54 #define UART_LSR ((unsigned long) PLD_ESIO0STS) macro
94 #define UART_LSR M32R_SIO0_STS_PORTL /* In: Line Status Register */ macro
/linux-3.4.99/arch/mips/ath79/
Dearly_printk.c38 prom_putchar_wait(base + UART_LSR * 4, UART_LSR_THRE, UART_LSR_THRE); in prom_putchar_ar71xx()
40 prom_putchar_wait(base + UART_LSR * 4, UART_LSR_THRE, UART_LSR_THRE); in prom_putchar_ar71xx()
/linux-3.4.99/arch/arm/mach-davinci/include/mach/
Duncompress.h35 while (!(uart[UART_LSR] & UART_LSR_THRE)) in putc()
42 while (!(uart[UART_LSR] & UART_LSR_THRE)) in flush()
/linux-3.4.99/arch/mn10300/unit-asb2305/include/unit/
Dserial.h65 #define GDBPORT_SERIAL_LSR __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_LSR * 4, u8)
78 #define TTYS0_LSR __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_LSR * 4, u8)
/linux-3.4.99/arch/mn10300/unit-asb2303/include/unit/
Dserial.h74 #define GDBPORT_SERIAL_LSR __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_LSR * 4, u8)
89 #define GDBPORT_SERIAL_LSR __SYSREG(SERIAL_PORT1_BASE_ADDRESS + UART_LSR * 4, u8)
/linux-3.4.99/arch/arm/mach-omap2/include/mach/
Ddebug-macro.S108 mov \rp, #(UART_LSR << ZOOM_PORT_SHIFT)
118 mov \rp, #(UART_LSR << OMAP_PORT_SHIFT)
143 1001: ldrb \rd, [\rx] @ rx contains UART_LSR address
/linux-3.4.99/arch/arm/mach-omap1/include/mach/
Ddebug-macro.S89 1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)]
93 ldrb \rd, [\rx, #(UART_LSR << OMAP7XX_PORT_SHIFT)]
/linux-3.4.99/arch/mips/cobalt/
Dconsole.c16 while (!(readb(UART_BASE + UART_LSR) & UART_LSR_THRE)) in prom_putchar()
/linux-3.4.99/arch/arm/mach-gemini/include/mach/
Duncompress.h28 while (!(UART[UART_LSR] & UART_LSR_THRE)) in putc()
/linux-3.4.99/arch/mips/mipssim/
Dsim_console.c36 while ((serial_in(UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
/linux-3.4.99/arch/arm/mach-iop13xx/include/mach/
Duncompress.h10 while ((UART_BASE[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/linux-3.4.99/arch/arm/mach-w90x900/include/mach/
Duncompress.h36 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/linux-3.4.99/arch/arm/mach-ixp23xx/include/mach/
Duncompress.h24 if (UART_BASE[UART_LSR] & UART_LSR_THRE) in putc()
/linux-3.4.99/arch/mips/netlogic/common/
Dearlycons.c57 while (nlm_read_reg(uartbase, UART_LSR) == 0) in prom_putchar()
/linux-3.4.99/arch/mips/mti-malta/
Dmalta-console.c41 while ((serial_in(UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()

123