Lines Matching refs:base
20 #define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00))
21 #define AMBA_UART_LCRH(base) (*(volatile unsigned char *)((base) + 0x2c))
22 #define AMBA_UART_CR(base) (*(volatile unsigned char *)((base) + 0x30))
23 #define AMBA_UART_FR(base) (*(volatile unsigned char *)((base) + 0x18))
32 unsigned long base = get_uart_base();
34 while (AMBA_UART_FR(base) & (1 << 5))
37 AMBA_UART_DR(base) = c;
42 unsigned long base = get_uart_base();
44 while (AMBA_UART_FR(base) & (1 << 3))