Lines Matching refs:base
14 #define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00))
15 #define AMBA_UART_LCRH(base) (*(volatile unsigned char *)((base) + 0x2c))
16 #define AMBA_UART_CR(base) (*(volatile unsigned char *)((base) + 0x30))
17 #define AMBA_UART_FR(base) (*(volatile unsigned char *)((base) + 0x18))
20 * Return the UART base address
35 unsigned long base = get_uart_base();
37 while (AMBA_UART_FR(base) & (1 << 5))
40 AMBA_UART_DR(base) = c;
45 unsigned long base = get_uart_base();
47 while (AMBA_UART_FR(base) & (1 << 3))