Lines Matching refs:mcr_state
156 u8 mcr_state; /* Last MCR state */
158 struct mutex mutex; /* Protects mcr_state */
605 static int mxuport_set_mcr(struct usb_serial_port *port, u8 mcr_state)
610 dev_dbg(&port->dev, "%s - %02x\n", __func__, mcr_state);
613 mcr_state, port->port_number);
632 mxport->mcr_state |= UART_MCR_DTR;
634 mxport->mcr_state &= ~UART_MCR_DTR;
647 u8 mcr_state;
650 mcr_state = mxport->mcr_state;
654 mcr_state &= ~UART_MCR_RTS;
657 mcr_state |= UART_MCR_RTS;
661 * Do not update mxport->mcr_state when doing hardware
676 mxport->mcr_state = mcr_state;
687 u8 mcr_state;
691 mcr_state = mxport->mcr_state;
694 mcr_state |= (UART_MCR_RTS | UART_MCR_DTR);
696 mcr_state &= ~(UART_MCR_RTS | UART_MCR_DTR);
698 err = mxuport_set_mcr(port, mcr_state);
700 mxport->mcr_state = mcr_state;
711 u8 mcr_state;
714 mcr_state = mxport->mcr_state;
717 mcr_state |= UART_MCR_RTS;
720 mcr_state |= UART_MCR_DTR;
723 mcr_state &= ~UART_MCR_RTS;
726 mcr_state &= ~UART_MCR_DTR;
728 err = mxuport_set_mcr(port, mcr_state);
730 mxport->mcr_state = mcr_state;
752 mcr = mxport->mcr_state;