Lines Matching refs:mcr
1752 unsigned int mcr ; in mos7720_tiocmget() local
1755 mcr = mos7720_port->shadowMCR; in mos7720_tiocmget()
1758 result = ((mcr & UART_MCR_DTR) ? TIOCM_DTR : 0) /* 0x002 */ in mos7720_tiocmget()
1759 | ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) /* 0x004 */ in mos7720_tiocmget()
1773 unsigned int mcr ; in mos7720_tiocmset() local
1775 mcr = mos7720_port->shadowMCR; in mos7720_tiocmset()
1778 mcr |= UART_MCR_RTS; in mos7720_tiocmset()
1780 mcr |= UART_MCR_DTR; in mos7720_tiocmset()
1782 mcr |= UART_MCR_LOOP; in mos7720_tiocmset()
1785 mcr &= ~UART_MCR_RTS; in mos7720_tiocmset()
1787 mcr &= ~UART_MCR_DTR; in mos7720_tiocmset()
1789 mcr &= ~UART_MCR_LOOP; in mos7720_tiocmset()
1791 mos7720_port->shadowMCR = mcr; in mos7720_tiocmset()
1801 unsigned int mcr; in set_modem_info() local
1810 mcr = mos7720_port->shadowMCR; in set_modem_info()
1818 mcr |= UART_MCR_RTS; in set_modem_info()
1820 mcr |= UART_MCR_RTS; in set_modem_info()
1822 mcr |= UART_MCR_LOOP; in set_modem_info()
1827 mcr &= ~UART_MCR_RTS; in set_modem_info()
1829 mcr &= ~UART_MCR_RTS; in set_modem_info()
1831 mcr &= ~UART_MCR_LOOP; in set_modem_info()
1836 mos7720_port->shadowMCR = mcr; in set_modem_info()