Home
last modified time | relevance | path

Searched refs:mxc_base (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/drivers/serial/
Dserial_mxc.c182 #define mxc_base ((struct mxc_uart *)CONFIG_MXC_UART_BASE) macro
191 _mxc_serial_setbrg(mxc_base, clk, gd->baudrate, false); in mxc_serial_setbrg()
196 while (readl(&mxc_base->ts) & UTS_RXEMPTY) in mxc_serial_getc()
198 return (readl(&mxc_base->rxd) & URXD_RX_DATA); /* mask out status from upper word */ in mxc_serial_getc()
207 writel(c, &mxc_base->txd); in mxc_serial_putc()
210 while (!(readl(&mxc_base->ts) & UTS_TXEMPTY)) in mxc_serial_putc()
218 if (readl(&mxc_base->ts) & UTS_RXEMPTY) in mxc_serial_tstc()
229 _mxc_serial_init(mxc_base); in mxc_serial_init()