Home
last modified time | relevance | path

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

123

/linux-2.6.39/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-2.6.39/drivers/staging/speakup/
Dserialio.c62 if (inb(ser->port + UART_LSR) == 0xff) { in spk_serial_init()
84 while (inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR) { in synth_readbuf_handler()
113 inb(speakup_info.port_tts+UART_LSR); in start_serial_interrupt()
175 while (!(inb_p(speakup_info.port_tts + UART_LSR) & UART_LSR_DR)) { in spk_serial_in()
190 lsr = inb_p(speakup_info.port_tts + UART_LSR); in spk_serial_in_nowait()
/linux-2.6.39/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-2.6.39/arch/arm/mach-ebsa110/include/mach/
Duncompress.h23 v = base[UART_LSR << 2]; in putc()
35 v = base[UART_LSR << 2]; in flush()
/linux-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/arch/arm/mach-loki/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-2.6.39/arch/frv/kernel/
Dgdb-io.h26 #undef UART_LSR
39 #define UART_LSR 5*8 /* In: Line Status Register */ macro
/linux-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/arch/arm/mach-davinci/include/mach/
Duncompress.h34 while (!(uart[UART_LSR] & UART_LSR_THRE)) in putc()
41 while (!(uart[UART_LSR] & UART_LSR_THRE)) in flush()
/linux-2.6.39/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-2.6.39/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-2.6.39/arch/mips/cobalt/
Dconsole.c16 while (!(readb(UART_BASE + UART_LSR) & UART_LSR_THRE)) in prom_putchar()
/linux-2.6.39/arch/arm/mach-gemini/include/mach/
Duncompress.h28 while (!(UART[UART_LSR] & UART_LSR_THRE)) in putc()
/linux-2.6.39/arch/arm/mach-omap1/include/mach/
Ddebug-macro.S95 1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)]
99 ldrb \rd, [\rx, #(UART_LSR << OMAP7XX_PORT_SHIFT)]
/linux-2.6.39/arch/mips/mipssim/
Dsim_console.c36 while ((serial_in(UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
/linux-2.6.39/arch/arm/mach-iop13xx/include/mach/
Duncompress.h10 while ((UART_BASE[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/linux-2.6.39/arch/arm/mach-w90x900/include/mach/
Duncompress.h36 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/linux-2.6.39/arch/arm/mach-nuc93x/include/mach/
Duncompress.h36 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/linux-2.6.39/arch/arm/mach-ixp23xx/include/mach/
Duncompress.h24 if (UART_BASE[UART_LSR] & UART_LSR_THRE) in putc()
/linux-2.6.39/arch/arm/plat-tcc/include/mach/
Duncompress.h18 u32 *uart_lsr = (u32 *)(UART_BASE_PHYS + (UART_LSR << 2)); in putc()
/linux-2.6.39/arch/mips/mti-malta/
Dmalta-console.c41 while ((serial_in(UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()

123