Home
last modified time | relevance | path

Searched refs:UCR2_SRST (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/serial/
H A Dserial_mxc.c51 #define UCR2_SRST (1<<0) /* SW reset */ macro
147 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()
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Dimx.c95 #define UCR2_SRST (1<<0) /* SW reset */ macro
331 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()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-imx/
H A Dimx-regs.h553 #define UCR2_SRST (1<<0) /* SW reset */ macro