Searched refs:UCR2_SRST (Results 1 – 3 of 3) sorted by relevance
51 #define UCR2_SRST (1<<0) /* SW reset */ macro147 while (!(readl(&base->cr2) & UCR2_SRST)); in _mxc_serial_init()172 writel(UCR2_WS | UCR2_IRTS | UCR2_RXEN | UCR2_TXEN | UCR2_SRST, in _mxc_serial_setbrg()
95 #define UCR2_SRST (1<<0) /* SW reset */ macro331 if (!(sport->ucr2 & UCR2_SRST)) in imx_uart_readl()1451 ucr2 &= ~UCR2_SRST; in imx_uart_startup()1454 while (!(imx_uart_readl(sport, UCR2) & UCR2_SRST) && (--i > 0)) in imx_uart_startup()1629 ucr2 &= ~UCR2_SRST; in imx_uart_flush_buffer()1632 while (!(imx_uart_readl(sport, UCR2) & UCR2_SRST) && (--i > 0)) in imx_uart_flush_buffer()1681 ucr2 |= UCR2_SRST | UCR2_IRTS; in imx_uart_set_termios()2493 imx_uart_writel(sport, sport->saved_reg[1] | UCR2_SRST, UCR2); in imx_uart_restore_context()
553 #define UCR2_SRST (1<<0) /* SW reset */ macro