Lines Matching refs:REG

99 	    GETREG(bas, REG(UCR1)), GETREG(bas, REG(UCR2)), 
100 GETREG(bas, REG(UCR3)), GETREG(bas, REG(UCR4)),
101 GETREG(bas, REG(USR1)), GETREG(bas, REG(USR2)));
131 i = (GETREG(bas, REG(UFCR)) & IMXUART_UFCR_RFDIV_MASK) >> in imx_uart_getbaud()
134 ubir = GETREG(bas, REG(UBIR)) + 1; in imx_uart_getbaud()
135 ubmr = GETREG(bas, REG(UBMR)) + 1; in imx_uart_getbaud()
158 SET(bas, REG(UCR1), FLD(UCR1, UARTEN)); in imx_uart_init()
159 SET(bas, REG(UCR2), FLD(UCR2, RXEN) | FLD(UCR2, TXEN)); in imx_uart_init()
203 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
205 SETREG(bas, REG(UFCR), reg); in imx_uart_init()
206 SETREG(bas, REG(UBIR), 15); in imx_uart_init()
207 SETREG(bas, REG(UBMR), (baseclk / baudrate) - 1); in imx_uart_init()
215 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
219 SETREG(bas, REG(UFCR), reg); in imx_uart_init()
234 SETREG(bas, REG(UTXD), c); in imx_uart_putc()
253 c = GETREG(bas, REG(URXD)); in imx_uart_getc()
394 SETREG(bas, REG(USR1), 0xffff); in imx_uart_bus_attach()
395 SETREG(bas, REG(USR2), 0xffff); in imx_uart_bus_attach()
432 SETREG(&sc->sc_bas, REG(UCR4), 0); in imx_uart_bus_detach()
455 bes = GETREG(&sc->sc_bas, REG(USR2)); in imx_uart_bus_getsig()
504 usr1 = GETREG(bas, REG(USR1)); in imx_uart_bus_ipend()
505 usr2 = GETREG(bas, REG(USR2)); in imx_uart_bus_ipend()
507 SETREG(bas, REG(USR1), usr1); in imx_uart_bus_ipend()
508 SETREG(bas, REG(USR2), usr2); in imx_uart_bus_ipend()
510 ucr1 = GETREG(bas, REG(UCR1)); in imx_uart_bus_ipend()
511 ucr2 = GETREG(bas, REG(UCR2)); in imx_uart_bus_ipend()
512 ucr4 = GETREG(bas, REG(UCR4)); in imx_uart_bus_ipend()
595 xc = GETREG(bas, REG(URXD)); in imx_uart_bus_receive()
638 SETREG(bas, REG(UTXD), sc->sc_txbuf[i] & 0xff); in imx_uart_bus_transmit()