Lines Matching defs:uart
45 volatile u8 *uart = (volatile u8 *)DEBUG_UART_BASE;
48 if (uart == NULL)
51 while (!(uart[UART_LSR << shift] & UART_LSR_THRE))
53 uart[UART_TX << shift] = c;
62 volatile u8 *uart = (volatile u8 *)DEBUG_UART_BASE;
65 if (uart == NULL)
68 uart[UART_LCR << shift] |= UART_LCR_DLAB;
69 uart[UART_DLL << shift] = 0x75;
70 uart[UART_DLM << shift] = 0x0;
71 uart[UART_LCR << shift] = 3;