Lines Matching refs:control_state
139 unsigned long control_state; member
171 priv->control_state = 0; in belkin_sa_startup()
274 priv->control_state |= TIOCM_DSR; in belkin_sa_read_int_callback()
276 priv->control_state &= ~TIOCM_DSR; in belkin_sa_read_int_callback()
279 priv->control_state |= TIOCM_CTS; in belkin_sa_read_int_callback()
281 priv->control_state &= ~TIOCM_CTS; in belkin_sa_read_int_callback()
284 priv->control_state |= TIOCM_RI; in belkin_sa_read_int_callback()
286 priv->control_state &= ~TIOCM_RI; in belkin_sa_read_int_callback()
289 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback()
291 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback()
354 priv->control_state |= (TIOCM_DTR|TIOCM_RTS); in belkin_sa_set_termios()
388 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in belkin_sa_set_termios()
471 return put_user(priv->control_state, (unsigned long *) arg); in belkin_sa_ioctl()
484 priv->control_state |= TIOCM_RTS; in belkin_sa_ioctl()
486 priv->control_state &= ~TIOCM_RTS; in belkin_sa_ioctl()
498 priv->control_state |= TIOCM_DTR; in belkin_sa_ioctl()
500 priv->control_state &= ~TIOCM_DTR; in belkin_sa_ioctl()