Lines Matching refs:msr
664 unsigned long msr; in tegra_uart_handle_modem_signal_change() local
666 msr = tegra_uart_read(tup, UART_MSR); in tegra_uart_handle_modem_signal_change()
667 if (!(msr & UART_MSR_ANY_DELTA)) in tegra_uart_handle_modem_signal_change()
670 if (msr & UART_MSR_TERI) in tegra_uart_handle_modem_signal_change()
672 if (msr & UART_MSR_DDSR) in tegra_uart_handle_modem_signal_change()
675 if (msr & UART_MSR_DDCD) in tegra_uart_handle_modem_signal_change()
676 uart_handle_dcd_change(&tup->uport, msr & UART_MSR_DCD); in tegra_uart_handle_modem_signal_change()
678 if (msr & UART_MSR_DCTS) in tegra_uart_handle_modem_signal_change()
679 uart_handle_cts_change(&tup->uport, msr & UART_MSR_CTS); in tegra_uart_handle_modem_signal_change()
780 unsigned long msr; in tegra_uart_hw_deinit() local
788 msr = tegra_uart_read(tup, UART_MSR); in tegra_uart_hw_deinit()
790 if ((mcr & TEGRA_UART_MCR_CTS_EN) && (msr & UART_MSR_CTS)) in tegra_uart_hw_deinit()
800 msr = tegra_uart_read(tup, UART_MSR); in tegra_uart_hw_deinit()
803 (msr & UART_MSR_CTS)) in tegra_uart_hw_deinit()