Lines Matching refs:UCR2
51 #define UCR2 0x84 /* Control Register 2 */ macro
294 ucr->ucr2 = readl(port->membase + UCR2); in imx_port_ucrs_save()
303 writel(ucr->ucr2, port->membase + UCR2); in imx_port_ucrs_restore()
374 temp = readl(port->membase + UCR2); in imx_stop_tx()
379 writel(temp, port->membase + UCR2); in imx_stop_tx()
404 temp = readl(sport->port.membase + UCR2); in imx_stop_rx()
405 writel(temp & ~UCR2_RXEN, sport->port.membase + UCR2); in imx_stop_rx()
580 temp = readl(port->membase + UCR2); in imx_start_tx()
585 writel(temp, port->membase + UCR2); in imx_start_tx()
805 if (readl(sport->port.membase + UCR2) & UCR2_CTS) in imx_get_mctrl()
820 temp = readl(sport->port.membase + UCR2); in imx_set_mctrl()
824 writel(temp, sport->port.membase + UCR2); in imx_set_mctrl()
1082 temp = readl(sport->port.membase + UCR2); in imx_disable_dma()
1084 writel(temp, sport->port.membase + UCR2); in imx_disable_dma()
1128 temp = readl(sport->port.membase + UCR2); in imx_startup()
1130 writel(temp, sport->port.membase + UCR2); in imx_startup()
1132 while (!(readl(sport->port.membase + UCR2) & UCR2_SRST) && (--i > 0)) in imx_startup()
1152 temp = readl(sport->port.membase + UCR2); in imx_startup()
1156 writel(temp, sport->port.membase + UCR2); in imx_startup()
1200 temp = readl(sport->port.membase + UCR2); in imx_shutdown()
1202 writel(temp, sport->port.membase + UCR2); in imx_shutdown()
1257 temp = readl(sport->port.membase + UCR2); in imx_flush_buffer()
1259 writel(temp, sport->port.membase + UCR2); in imx_flush_buffer()
1261 while (!(readl(sport->port.membase + UCR2) & UCR2_SRST) && (--i > 0)) in imx_flush_buffer()
1385 old_txrxen = readl(sport->port.membase + UCR2); in imx_set_termios()
1387 sport->port.membase + UCR2); in imx_set_termios()
1429 writel(ucr2 | old_txrxen, sport->port.membase + UCR2); in imx_set_termios()
1512 temp = readl(sport->port.membase + UCR2); in imx_poll_init()
1514 writel(temp, sport->port.membase + UCR2); in imx_poll_init()
1566 temp = readl(sport->port.membase + UCR2); in imx_rs485_config()
1572 writel(temp, sport->port.membase + UCR2); in imx_rs485_config()
1658 writel(old_ucr.ucr2 | UCR2_TXEN, sport->port.membase + UCR2); in imx_console_write()
1692 ucr2 = readl(sport->port.membase + UCR2); in imx_console_get_options()