Lines Matching refs:mcr
1768 unsigned int mcr ; in mos7720_tiocmget() local
1771 mcr = mos7720_port->shadowMCR; in mos7720_tiocmget()
1774 result = ((mcr & UART_MCR_DTR) ? TIOCM_DTR : 0) /* 0x002 */ in mos7720_tiocmget()
1775 | ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) /* 0x004 */ in mos7720_tiocmget()
1789 unsigned int mcr ; in mos7720_tiocmset() local
1791 mcr = mos7720_port->shadowMCR; in mos7720_tiocmset()
1794 mcr |= UART_MCR_RTS; in mos7720_tiocmset()
1796 mcr |= UART_MCR_DTR; in mos7720_tiocmset()
1798 mcr |= UART_MCR_LOOP; in mos7720_tiocmset()
1801 mcr &= ~UART_MCR_RTS; in mos7720_tiocmset()
1803 mcr &= ~UART_MCR_DTR; in mos7720_tiocmset()
1805 mcr &= ~UART_MCR_LOOP; in mos7720_tiocmset()
1807 mos7720_port->shadowMCR = mcr; in mos7720_tiocmset()
1817 unsigned int mcr; in set_modem_info() local
1826 mcr = mos7720_port->shadowMCR; in set_modem_info()
1834 mcr |= UART_MCR_RTS; in set_modem_info()
1836 mcr |= UART_MCR_RTS; in set_modem_info()
1838 mcr |= UART_MCR_LOOP; in set_modem_info()
1843 mcr &= ~UART_MCR_RTS; in set_modem_info()
1845 mcr &= ~UART_MCR_RTS; in set_modem_info()
1847 mcr &= ~UART_MCR_LOOP; in set_modem_info()
1852 mos7720_port->shadowMCR = mcr; in set_modem_info()