Lines Matching refs:usr2
411 u32 ucr1, ucr4, usr2; in imx_uart_stop_tx() local
427 usr2 = imx_uart_readl(sport, USR2); in imx_uart_stop_tx()
428 if ((!(usr2 & USR2_TXDC)) && (ucr4 & UCR4_TCEN)) { in imx_uart_stop_tx()
831 static void imx_uart_check_flood(struct imx_port *sport, u32 usr2) in imx_uart_check_flood() argument
856 if (usr2 & USR2_WAKE) { in imx_uart_check_flood()
869 u32 usr2, rx; in __imx_uart_rxint() local
872 usr2 = imx_uart_readl(sport, USR2); in __imx_uart_rxint()
873 if (usr2 & USR2_RDR) in __imx_uart_rxint()
874 imx_uart_check_flood(sport, usr2); in __imx_uart_rxint()
947 unsigned usr2 = imx_uart_readl(sport, USR2); in imx_uart_get_hwmctrl() local
953 if (!(usr2 & USR2_DCDIN)) in imx_uart_get_hwmctrl()
993 unsigned int usr1, usr2, ucr1, ucr2, ucr3, ucr4; in imx_uart_int() local
999 usr2 = imx_uart_readl(sport, USR2); in imx_uart_int()
1020 usr2 &= ~USR2_TXDC; in imx_uart_int()
1028 usr2 &= ~USR2_ORE; in imx_uart_int()
1037 if ((usr1 & USR1_TRDY) || (usr2 & USR2_TXDC)) { in imx_uart_int()
1060 if (usr2 & USR2_ORE) { in imx_uart_int()
1307 u32 usr1, usr2; in imx_uart_clear_rx_errors() local
1310 usr2 = imx_uart_readl(sport, USR2); in imx_uart_clear_rx_errors()
1312 if (usr2 & USR2_BRCD) { in imx_uart_clear_rx_errors()
1329 if (usr2 & USR2_ORE) { in imx_uart_clear_rx_errors()
2034 unsigned int ucr1, usr2; in imx_uart_console_write() local
2065 read_poll_timeout_atomic(imx_uart_readl, usr2, usr2 & USR2_TXDC, in imx_uart_console_write()