Lines Matching refs:UCR2

42 #define UCR2  0x84 /* Control Register 2 */  macro
302 ucr->ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_ucrs_save()
311 imx_uart_writel(sport, ucr->ucr2, UCR2); in imx_uart_ucrs_restore()
359 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_soft_reset()
360 imx_uart_writel(sport, ucr2 & ~UCR2_SRST, UCR2); in imx_uart_soft_reset()
362 while (!(imx_uart_readl(sport, UCR2) & UCR2_SRST) && (--i > 0)) in imx_uart_soft_reset()
390 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_start_rx()
402 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_start_rx()
456 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_stop_tx()
461 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_stop_tx()
479 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_stop_rx_with_loopback_ctrl()
504 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_stop_rx_with_loopback_ctrl()
686 u32 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_start_tx()
691 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_start_tx()
992 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_int()
1103 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_set_mctrl()
1115 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_set_mctrl()
1533 ucr2 = imx_uart_readl(sport, UCR2) & ~UCR2_ATEN; in imx_uart_startup()
1543 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_startup()
1558 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_startup()
1560 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_startup()
1602 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_shutdown()
1604 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_shutdown()
1678 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_shutdown()
1683 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_shutdown()
1757 old_ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_set_termios()
1874 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_set_termios()
1951 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_poll_init()
1963 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_poll_init()
1967 imx_uart_writel(sport, ucr2 | UCR2_ATEN, UCR2); in imx_uart_poll_init()
2017 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_rs485_config()
2022 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_rs485_config()
2106 imx_uart_writel(sport, old_ucr.ucr2 | UCR2_TXEN, UCR2); in imx_uart_console_write()
2137 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_console_get_options()
2433 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_probe()
2435 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_probe()
2457 ucr2 = imx_uart_readl(sport, UCR2); in imx_uart_probe()
2459 imx_uart_writel(sport, ucr2, UCR2); in imx_uart_probe()
2571 imx_uart_writel(sport, sport->saved_reg[1] | UCR2_SRST, UCR2); in imx_uart_restore_context()
2585 sport->saved_reg[1] = imx_uart_readl(sport, UCR2); in imx_uart_save_context()