Lines Matching refs:ucr4

411 	u32 ucr1, ucr4, usr2;  in imx_uart_stop_tx()  local
426 ucr4 = imx_uart_readl(sport, UCR4); in imx_uart_stop_tx()
428 if ((!(usr2 & USR2_TXDC)) && (ucr4 & UCR4_TCEN)) { in imx_uart_stop_tx()
433 ucr4 &= ~UCR4_TCEN; in imx_uart_stop_tx()
434 imx_uart_writel(sport, ucr4, UCR4); in imx_uart_stop_tx()
476 u32 ucr1, ucr2, ucr4, uts; in imx_uart_stop_rx_with_loopback_ctrl() local
480 ucr4 = imx_uart_readl(sport, UCR4); in imx_uart_stop_rx_with_loopback_ctrl()
487 ucr4 &= ~UCR4_OREN; in imx_uart_stop_rx_with_loopback_ctrl()
490 imx_uart_writel(sport, ucr4, UCR4); in imx_uart_stop_rx_with_loopback_ctrl()
609 u32 ucr4 = imx_uart_readl(sport, UCR4); in imx_uart_dma_tx_callback() local
610 ucr4 |= UCR4_TCEN; in imx_uart_dma_tx_callback()
611 imx_uart_writel(sport, ucr4, UCR4); in imx_uart_dma_tx_callback()
625 u32 ucr1, ucr4; in imx_uart_dma_tx() local
631 ucr4 = imx_uart_readl(sport, UCR4); in imx_uart_dma_tx()
632 ucr4 &= ~UCR4_TCEN; in imx_uart_dma_tx()
633 imx_uart_writel(sport, ucr4, UCR4); in imx_uart_dma_tx()
733 u32 ucr4 = imx_uart_readl(sport, UCR4); in imx_uart_start_tx() local
734 ucr4 |= UCR4_TCEN; in imx_uart_start_tx()
735 imx_uart_writel(sport, ucr4, UCR4); in imx_uart_start_tx()
993 unsigned int usr1, usr2, ucr1, ucr2, ucr3, ucr4; in imx_uart_int() local
1003 ucr4 = imx_uart_readl(sport, UCR4); in imx_uart_int()
1019 if ((ucr4 & UCR4_TCEN) == 0) in imx_uart_int()
1027 if ((ucr4 & UCR4_OREN) == 0) in imx_uart_int()
1466 u32 ucr1, ucr2, ucr3, ucr4; in imx_uart_startup() local
1482 ucr4 = imx_uart_readl(sport, UCR4); in imx_uart_startup()
1485 ucr4 &= ~(UCR4_CTSTL_MASK << UCR4_CTSTL_SHF); in imx_uart_startup()
1486 ucr4 |= CTSTL << UCR4_CTSTL_SHF; in imx_uart_startup()
1488 imx_uart_writel(sport, ucr4 & ~UCR4_DREN, UCR4); in imx_uart_startup()
1512 ucr4 = imx_uart_readl(sport, UCR4) & ~(UCR4_OREN | UCR4_INVR); in imx_uart_startup()
1514 ucr4 |= UCR4_OREN; in imx_uart_startup()
1516 ucr4 |= UCR4_INVR; in imx_uart_startup()
1517 imx_uart_writel(sport, ucr4, UCR4); in imx_uart_startup()
1576 u32 ucr1, ucr2, ucr4, uts; in imx_uart_shutdown() local
1635 ucr4 = imx_uart_readl(sport, UCR4); in imx_uart_shutdown()
1636 ucr4 &= ~UCR4_TCEN; in imx_uart_shutdown()
1637 imx_uart_writel(sport, ucr4, UCR4); in imx_uart_shutdown()