Lines Matching refs:REG
101 GETREG(bas, REG(UCR1)), GETREG(bas, REG(UCR2)),
102 GETREG(bas, REG(UCR3)), GETREG(bas, REG(UCR4)),
103 GETREG(bas, REG(USR1)), GETREG(bas, REG(USR2)));
133 i = (GETREG(bas, REG(UFCR)) & IMXUART_UFCR_RFDIV_MASK) >> in imx_uart_getbaud()
136 ubir = GETREG(bas, REG(UBIR)) + 1; in imx_uart_getbaud()
137 ubmr = GETREG(bas, REG(UBMR)) + 1; in imx_uart_getbaud()
160 SET(bas, REG(UCR1), FLD(UCR1, UARTEN)); in imx_uart_init()
161 SET(bas, REG(UCR2), FLD(UCR2, RXEN) | FLD(UCR2, TXEN)); in imx_uart_init()
205 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
207 SETREG(bas, REG(UFCR), reg); in imx_uart_init()
208 SETREG(bas, REG(UBIR), 15); in imx_uart_init()
209 SETREG(bas, REG(UBMR), (baseclk / baudrate) - 1); in imx_uart_init()
217 reg = GETREG(bas, REG(UFCR)); in imx_uart_init()
221 SETREG(bas, REG(UFCR), reg); in imx_uart_init()
236 SETREG(bas, REG(UTXD), c); in imx_uart_putc()
255 c = GETREG(bas, REG(URXD)); in imx_uart_getc()
396 SETREG(bas, REG(USR1), 0xffff); in imx_uart_bus_attach()
397 SETREG(bas, REG(USR2), 0xffff); in imx_uart_bus_attach()
434 SETREG(&sc->sc_bas, REG(UCR4), 0); in imx_uart_bus_detach()
457 bes = GETREG(&sc->sc_bas, REG(USR2)); in imx_uart_bus_getsig()
506 usr1 = GETREG(bas, REG(USR1)); in imx_uart_bus_ipend()
507 usr2 = GETREG(bas, REG(USR2)); in imx_uart_bus_ipend()
509 SETREG(bas, REG(USR1), usr1); in imx_uart_bus_ipend()
510 SETREG(bas, REG(USR2), usr2); in imx_uart_bus_ipend()
512 ucr1 = GETREG(bas, REG(UCR1)); in imx_uart_bus_ipend()
513 ucr2 = GETREG(bas, REG(UCR2)); in imx_uart_bus_ipend()
514 ucr4 = GETREG(bas, REG(UCR4)); in imx_uart_bus_ipend()
597 xc = GETREG(bas, REG(URXD)); in imx_uart_bus_receive()
640 SETREG(bas, REG(UTXD), sc->sc_txbuf[i] & 0xff); in imx_uart_bus_transmit()