Lines Matching refs:REG
94 GETREG(bas, REG(UCR1)), GETREG(bas, REG(UCR2)),
95 GETREG(bas, REG(UCR3)), GETREG(bas, REG(UCR4)),
96 GETREG(bas, REG(USR1)), GETREG(bas, REG(USR2)));
126 i = (GETREG(bas, REG(UFCR)) & IMXUART_UFCR_RFDIV_MASK) >> in imx_uart_getbaud()
129 ubir = GETREG(bas, REG(UBIR)) + 1; in imx_uart_getbaud()
130 ubmr = GETREG(bas, REG(UBMR)) + 1; in imx_uart_getbaud()
153 SET(bas, REG(UCR1), FLD(UCR1, UARTEN)); in imx_uart_init()
154 SET(bas, REG(UCR2), FLD(UCR2, RXEN) | FLD(UCR2, TXEN)); in imx_uart_init()
198 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
200 SETREG(bas, REG(UFCR), reg); in imx_uart_init()
201 SETREG(bas, REG(UBIR), 15); in imx_uart_init()
202 SETREG(bas, REG(UBMR), (baseclk / baudrate) - 1); in imx_uart_init()
210 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
214 SETREG(bas, REG(UFCR), reg); in imx_uart_init()
229 SETREG(bas, REG(UTXD), c); in imx_uart_putc()
248 c = GETREG(bas, REG(URXD)); in imx_uart_getc()
344 SETREG(bas, REG(USR1), 0xffff); in imx_uart_bus_attach()
345 SETREG(bas, REG(USR2), 0xffff); in imx_uart_bus_attach()
382 SETREG(&sc->sc_bas, REG(UCR4), 0); in imx_uart_bus_detach()
405 bes = GETREG(&sc->sc_bas, REG(USR2)); in imx_uart_bus_getsig()
454 usr1 = GETREG(bas, REG(USR1)); in imx_uart_bus_ipend()
455 usr2 = GETREG(bas, REG(USR2)); in imx_uart_bus_ipend()
457 SETREG(bas, REG(USR1), usr1); in imx_uart_bus_ipend()
458 SETREG(bas, REG(USR2), usr2); in imx_uart_bus_ipend()
460 ucr1 = GETREG(bas, REG(UCR1)); in imx_uart_bus_ipend()
461 ucr2 = GETREG(bas, REG(UCR2)); in imx_uart_bus_ipend()
462 ucr4 = GETREG(bas, REG(UCR4)); in imx_uart_bus_ipend()
545 xc = GETREG(bas, REG(URXD)); in imx_uart_bus_receive()
588 SETREG(bas, REG(UTXD), sc->sc_txbuf[i] & 0xff); in imx_uart_bus_transmit()