Lines Matching refs:uart_base
22 void *uart_base; member
30 struct uart_reg *uart_base; in bm3803_uart_isr() local
34 uart_base = uart->uart_base; in bm3803_uart_isr()
36 if (uart_base->uartstatus & 0x1) in bm3803_uart_isr()
47 struct uart_reg *uart_base; in bm3803_configure() local
52 uart_base = uart->uart_base; in bm3803_configure()
56 uart_base->uartscaler = ((((CPU_FREQ * 10) / (8 * 115200)) - 5) / 10); in bm3803_configure()
60 uart_base->uartscaler = ((((CPU_FREQ * 10) / (8 * 9600)) - 5) / 10); in bm3803_configure()
67 uart_base->uartctrl |= 0x3; in bm3803_configure()
97 struct uart_reg *uart_base; in bm3803_putc() local
101 uart_base = uart->uart_base; in bm3803_putc()
103 while (!(uart_base->uartstatus & 0x4)); in bm3803_putc()
104 uart_base->uartdata = c; in bm3803_putc()
113 struct uart_reg *uart_base; in bm3803_getc() local
117 uart_base = uart->uart_base; in bm3803_getc()
120 if (uart_base->uartstatus & 0x1) in bm3803_getc()
122 ch = uart_base->uartdata; in bm3803_getc()