Lines Matching refs:mcr
178 unsigned long mcr; in set_rts() local
180 mcr = tup->mcr_shadow; in set_rts()
182 mcr |= TEGRA_UART_MCR_RTS_EN; in set_rts()
184 mcr &= ~TEGRA_UART_MCR_RTS_EN; in set_rts()
185 if (mcr != tup->mcr_shadow) { in set_rts()
186 tegra_uart_write(tup, mcr, UART_MCR); in set_rts()
187 tup->mcr_shadow = mcr; in set_rts()
193 unsigned long mcr; in set_dtr() local
195 mcr = tup->mcr_shadow; in set_dtr()
197 mcr |= UART_MCR_DTR; in set_dtr()
199 mcr &= ~UART_MCR_DTR; in set_dtr()
200 if (mcr != tup->mcr_shadow) { in set_dtr()
201 tegra_uart_write(tup, mcr, UART_MCR); in set_dtr()
202 tup->mcr_shadow = mcr; in set_dtr()
781 unsigned long mcr; in tegra_uart_hw_deinit() local
789 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
790 if ((mcr & TEGRA_UART_MCR_CTS_EN) && (msr & UART_MSR_CTS)) in tegra_uart_hw_deinit()
801 mcr = tegra_uart_read(tup, UART_MCR); in tegra_uart_hw_deinit()
802 if ((mcr & TEGRA_UART_MCR_CTS_EN) && in tegra_uart_hw_deinit()