Lines Matching full:usr1
45 #define USR1 0x94 /* Status Register 1 */ macro
348 * all FIFOs and register USR1, USR2, UBIR, UBMR, UBRC, URXD, UTXD in imx_uart_soft_reset()
351 * We don't need to restore the old values from USR1, USR2, URXD and in imx_uart_soft_reset()
770 u32 usr1; in __imx_uart_rtsint() local
772 imx_uart_writel(sport, USR1_RTSD, USR1); in __imx_uart_rtsint()
773 usr1 = imx_uart_readl(sport, USR1) & USR1_RTSS; in __imx_uart_rtsint()
785 if (usr1 & USR1_RTSS) in __imx_uart_rtsint()
789 uart_handle_cts_change(&sport->port, usr1); in __imx_uart_rtsint()
946 unsigned usr1 = imx_uart_readl(sport, USR1); in imx_uart_get_hwmctrl() local
949 if (usr1 & USR1_RTSS) in imx_uart_get_hwmctrl()
993 unsigned int usr1, usr2, ucr1, ucr2, ucr3, ucr4; in imx_uart_int() local
998 usr1 = imx_uart_readl(sport, USR1); in imx_uart_int()
1014 usr1 &= ~USR1_RRDY; in imx_uart_int()
1016 usr1 &= ~USR1_AGTIM; in imx_uart_int()
1018 usr1 &= ~USR1_TRDY; in imx_uart_int()
1022 usr1 &= ~USR1_DTRD; in imx_uart_int()
1024 usr1 &= ~USR1_RTSD; in imx_uart_int()
1026 usr1 &= ~USR1_AWAKE; in imx_uart_int()
1030 if (usr1 & (USR1_RRDY | USR1_AGTIM)) { in imx_uart_int()
1031 imx_uart_writel(sport, USR1_AGTIM, USR1); in imx_uart_int()
1037 if ((usr1 & USR1_TRDY) || (usr2 & USR2_TXDC)) { in imx_uart_int()
1042 if (usr1 & USR1_DTRD) { in imx_uart_int()
1043 imx_uart_writel(sport, USR1_DTRD, USR1); in imx_uart_int()
1050 if (usr1 & USR1_RTSD) { in imx_uart_int()
1055 if (usr1 & USR1_AWAKE) { in imx_uart_int()
1056 imx_uart_writel(sport, USR1_AWAKE, USR1); in imx_uart_int()
1307 u32 usr1, usr2; in imx_uart_clear_rx_errors() local
1309 usr1 = imx_uart_readl(sport, USR1); in imx_uart_clear_rx_errors()
1320 if (usr1 & USR1_FRAMERR) { in imx_uart_clear_rx_errors()
1322 imx_uart_writel(sport, USR1_FRAMERR, USR1); in imx_uart_clear_rx_errors()
1323 } else if (usr1 & USR1_PARITYERR) { in imx_uart_clear_rx_errors()
1325 imx_uart_writel(sport, USR1_PARITYERR, USR1); in imx_uart_clear_rx_errors()
1502 imx_uart_writel(sport, USR1_RTSD | USR1_DTRD, USR1); in imx_uart_startup()
1941 status = imx_uart_readl(sport, USR1); in imx_uart_poll_put_char()
2557 imx_uart_writel(sport, USR1_AWAKE, USR1); in imx_uart_enable_wakeup()
2567 imx_uart_writel(sport, USR1_RTSD, USR1); in imx_uart_enable_wakeup()