Lines Matching refs:__UART0
27 #define __UART0(X) (*(volatile uint8_t *)(UART0_BASE + (UART_##X))) macro
31 } while (!(__UART0(LSR) & UART_LSR_##STATE))
33 #define FLOWCTL_QUERY0(LINE) ({ __UART0(MSR) & UART_MSR_##LINE; })
34 #define FLOWCTL_CLEAR0(LINE) do { __UART0(MCR) &= ~UART_MCR_##LINE; } while (0)
35 #define FLOWCTL_SET0(LINE) do { __UART0(MCR) |= UART_MCR_##LINE; } while (0)
166 __UART0(TX) = 0x0d; in debug_to_serial()
171 __UART0(TX) = ch; in debug_to_serial()
217 lcr = __UART0(LCR); in console_set_baud()
218 __UART0(LCR) |= UART_LCR_DLAB; in console_set_baud()
220 __UART0(DLL) = value & 0xff; in console_set_baud()
221 __UART0(DLM) = (value >> 8) & 0xff; in console_set_baud()
223 __UART0(LCR) = lcr; in console_set_baud()
237 lcr = __UART0(LCR); in console_get_baud()
238 __UART0(LCR) |= UART_LCR_DLAB; in console_get_baud()
240 value = __UART0(DLM) << 8; in console_get_baud()
241 value |= __UART0(DLL); in console_get_baud()
242 __UART0(LCR) = lcr; in console_get_baud()