Home
last modified time | relevance | path

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

/arch/powerpc/boot/
Dns16550.c24 #define UART_LSR 5 /* In: Line Status Register */ macro
41 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_THRE) == 0); in ns16550_putc()
47 while ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) == 0); in ns16550_getc()
53 return ((in_8(reg_base + (UART_LSR << reg_shift)) & UART_LSR_DR) != 0); in ns16550_tstc()
/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
D8250.S42 1002: load \rd, [\rx, #UART_LSR << UART_SHIFT]
Dbrcmstb.S137 1002: load \rd, [\rx, #UART_LSR << UART_SHIFT]
Dtegra.S174 1001: ldrb \rd, [\rx, #UART_LSR << UART_SHIFT]
/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()
/arch/arm/mach-ebsa110/include/mach/
Duncompress.h20 v = base[UART_LSR << 2]; in putc()
32 v = base[UART_LSR << 2]; in flush()
/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()
/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()
/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()
/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()
/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()
/arch/arm/mach-iop32x/include/mach/
Duncompress.h16 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/arch/mips/netlogic/common/
Dearlycons.c60 while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
/arch/arm/mach-ixp4xx/include/mach/
Duncompress.h24 while ((uart_base[UART_LSR] & TX_DONE) != TX_DONE) in putc()
/arch/mips/loongson64/common/
Dearly_printk.c33 while (((serial_in(uart_base, UART_LSR) & UART_LSR_THRE) == 0) && in prom_putchar()
/arch/arm/mach-pxa/include/mach/
Duncompress.h41 while (!(uart_read(UART_LSR) & UART_LSR_THRE)) in putc()
/arch/mips/kernel/
Dearly_printk_8250.c46 status = serial_in(UART_LSR); in prom_putchar()
Dcps-vec-ns16550.S15 #define UART_LSR_OFS (UART_LSR << CONFIG_MIPS_CPS_NS16550_SHIFT)
/arch/mips/boot/compressed/
Duart-16550.c60 while (((serial_in(UART_LSR) & UART_LSR_THRE) == 0) && (timeout-- > 0)) in putc()
/arch/arm/mach-omap1/include/mach/
Duncompress.h57 while (!(uart_base[UART_LSR << uart_shift] & UART_LSR_THRE)) in putc()
/arch/sh/include/asm/
Dsmc37c93x.h64 #define UART_LSR 0xa /* Line Status Register */ macro
/arch/x86/platform/ce4100/
Dce4100.c64 lsr = mem_serial_in(p, UART_LSR); in ce4100_mem_serial_in()
/arch/mips/ar7/
Dprom.c253 while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0) in prom_putchar()