Searched refs:uart_base (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/kernel/dev/uart/pl011/
H A Duart.c43 static vaddr_t uart_base = 0; variable
63 UARTREG(uart_base, UART_IMSC) &= ~(1<<5);
68 UARTREG(uart_base, UART_IMSC) |= (1<<5);
74 uint32_t isr = UARTREG(uart_base, UART_TMIS);
78 while ((UARTREG(uart_base, UART_FR) & (1<<4)) == 0) {
81 UARTREG(uart_base, UART_IMSC) &= ~((1<<4)|(1<<6)); // !rxim
85 char c = UARTREG(uart_base, UART_DR);
111 UARTREG(uart_base, UART_ICR) = 0x3ff;
114 UARTREG(uart_base, UART_IFLS) = 0; // 1/8 rxfifo, 1/8 txfifo
117 UARTREG(uart_base, UART_IMS
[all...]
/fuchsia/zircon/kernel/dev/uart/mt8167/
H A Duart.cpp92 static vaddr_t uart_base = 0; variable
103 #define UARTREG(reg) (*(volatile uint32_t*)((uart_base) + (reg)))
125 if (!uart_base) {
138 if (!uart_base) {
149 if (!uart_base) {
170 if (!uart_base) {
246 uart_base = periph_paddr_to_vaddr(driver->mmio_phys);
247 ASSERT(uart_base);
/fuchsia/zircon/kernel/dev/uart/nxp-imx/
H A Duart.c65 static vaddr_t uart_base = 0; variable
77 #define UARTREG(reg) (*(volatile uint32_t*)((uart_base) + (reg)))
106 if (!uart_base) {
120 if (!uart_base) {
133 if (!uart_base) {
156 if (!uart_base) {
251 uart_base = periph_paddr_to_vaddr(driver->mmio_phys);
252 ASSERT(uart_base);

Completed in 23 milliseconds