/* ic3_set_mctrl - set control lines (dtr, rts, etc) @port: Port to operate on @mctrl: Lines to set/unset  */
static void ic3_set_mctrl(struct uart_port *the_port, unsigned int mctrl)
/* ic3_set_mctrl - set control lines (dtr, rts, etc) @port: Port to operate on @mctrl: Lines to set/unset  */
static void ic3_set_mctrl(struct uart_port *the_port, unsigned int mctrl)
{
	unsigned char mcr = 0;
	if (mctrl & TIOCM_RTS)
		mcr |= UART_MCR_RTS;
	if (mctrl & TIOCM_DTR)
		mcr |= UART_MCR_DTR;
	if (mctrl & TIOCM_OUT1)
		mcr |= UART_MCR_OUT1;
	if (mctrl & TIOCM_OUT2)
		mcr |= UART_MCR_OUT2;
	if (mctrl & TIOCM_LOOP)
		mcr |= UART_MCR_LOOP;
	set_mcr(the_port, mcr, SHADOW_DTR);
}