Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/serial/
H A Dserial_mxc.c50 #define UCR2_SRST (1<<0) /* SW reset */ macro
146 while (!(readl(&base->cr2) & UCR2_SRST)); in _mxc_serial_init()
176 writel(UCR2_WS | UCR2_IRTS | UCR2_RXEN | UCR2_TXEN | UCR2_SRST, in _mxc_serial_setbrg()
/openbmc/qemu/hw/char/
H A Dimx_serial.c158 s->ucr2 = UCR2_SRST; in imx_serial_reset()
296 if (!(value & UCR2_SRST)) { in imx_serial_write()
299 value |= UCR2_SRST; in imx_serial_write()
/openbmc/qemu/include/hw/char/
H A Dimx_serial.h75 #define UCR2_SRST (1<<0) /* Reset complete */ macro
/openbmc/linux/drivers/tty/serial/
H A Dimx.c94 #define UCR2_SRST (1<<0) /* SW reset */ macro
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()
1711 ucr2 |= UCR2_SRST | UCR2_IRTS; in imx_uart_set_termios()
2524 imx_uart_writel(sport, sport->saved_reg[1] | UCR2_SRST, UCR2); in imx_uart_restore_context()
/openbmc/u-boot/arch/arm/include/asm/arch-imx/
H A Dimx-regs.h553 #define UCR2_SRST (1<<0) /* SW reset */ macro