Searched refs:mxc_base (Results 1 – 1 of 1) sorted by relevance
188 #define mxc_base ((struct mxc_uart *)CONFIG_MXC_UART_BASE) macro197 _mxc_serial_setbrg(mxc_base, clk, gd->baudrate, false); in mxc_serial_setbrg()202 while (readl(&mxc_base->ts) & UTS_RXEMPTY) in mxc_serial_getc()204 return (readl(&mxc_base->rxd) & URXD_RX_DATA); /* mask out status from upper word */ in mxc_serial_getc()213 writel(c, &mxc_base->txd); in mxc_serial_putc()216 while (!(readl(&mxc_base->ts) & UTS_TXEMPTY)) in mxc_serial_putc()224 if (readl(&mxc_base->ts) & UTS_RXEMPTY) in mxc_serial_tstc()235 _mxc_serial_init(mxc_base, false); in mxc_serial_init()
Completed in 5 milliseconds