Lines Matching refs:mcr
1745 unsigned int mcr ; in mos7720_tiocmget() local
1748 mcr = mos7720_port->shadowMCR; in mos7720_tiocmget()
1751 result = ((mcr & UART_MCR_DTR) ? TIOCM_DTR : 0) /* 0x002 */ in mos7720_tiocmget()
1752 | ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) /* 0x004 */ in mos7720_tiocmget()
1766 unsigned int mcr ; in mos7720_tiocmset() local
1768 mcr = mos7720_port->shadowMCR; in mos7720_tiocmset()
1771 mcr |= UART_MCR_RTS; in mos7720_tiocmset()
1773 mcr |= UART_MCR_DTR; in mos7720_tiocmset()
1775 mcr |= UART_MCR_LOOP; 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()
1784 mos7720_port->shadowMCR = mcr; in mos7720_tiocmset()
1794 unsigned int mcr; in set_modem_info() local
1803 mcr = mos7720_port->shadowMCR; in set_modem_info()
1811 mcr |= UART_MCR_RTS; in set_modem_info()
1813 mcr |= UART_MCR_RTS; in set_modem_info()
1815 mcr |= UART_MCR_LOOP; in set_modem_info()
1820 mcr &= ~UART_MCR_RTS; in set_modem_info()
1822 mcr &= ~UART_MCR_RTS; in set_modem_info()
1824 mcr &= ~UART_MCR_LOOP; in set_modem_info()
1829 mos7720_port->shadowMCR = mcr; in set_modem_info()