Lines Matching refs:__UART0
28 #define __UART0(X) (*(volatile uint8_t *)(UART0_BASE + (UART_##X)))
32 } while (!(__UART0(LSR) & UART_LSR_##STATE))
34 #define FLOWCTL_QUERY0(LINE) ({ __UART0(MSR) & UART_MSR_##LINE; })
35 #define FLOWCTL_CLEAR0(LINE) do { __UART0(MCR) &= ~UART_MCR_##LINE; } while (0)
36 #define FLOWCTL_SET0(LINE) do { __UART0(MCR) |= UART_MCR_##LINE; } while (0)
167 __UART0(TX) = 0x0d;
172 __UART0(TX) = ch;
218 lcr = __UART0(LCR);
219 __UART0(LCR) |= UART_LCR_DLAB;
221 __UART0(DLL) = value & 0xff;
222 __UART0(DLM) = (value >> 8) & 0xff;
224 __UART0(LCR) = lcr;
238 lcr = __UART0(LCR);
239 __UART0(LCR) |= UART_LCR_DLAB;
241 value = __UART0(DLM) << 8;
242 value |= __UART0(DLL);
243 __UART0(LCR) = lcr;