Lines Matching refs:mctrl
99 static void bcm_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in bcm_uart_set_mctrl() argument
106 if (!(mctrl & TIOCM_DTR)) in bcm_uart_set_mctrl()
108 if (!(mctrl & TIOCM_RTS)) in bcm_uart_set_mctrl()
113 if (mctrl & TIOCM_LOOP) in bcm_uart_set_mctrl()
125 unsigned int val, mctrl; in bcm_uart_get_mctrl() local
127 mctrl = 0; in bcm_uart_get_mctrl()
130 mctrl |= TIOCM_RI; in bcm_uart_get_mctrl()
132 mctrl |= TIOCM_CTS; in bcm_uart_get_mctrl()
134 mctrl |= TIOCM_CD; in bcm_uart_get_mctrl()
136 mctrl |= TIOCM_DSR; in bcm_uart_get_mctrl()
137 return mctrl; in bcm_uart_get_mctrl()