Lines Matching refs:control_state
93 unsigned long control_state; member
123 priv->control_state = 0; in belkin_sa_port_probe()
207 priv->control_state |= TIOCM_DSR; in belkin_sa_read_int_callback()
209 priv->control_state &= ~TIOCM_DSR; in belkin_sa_read_int_callback()
212 priv->control_state |= TIOCM_CTS; in belkin_sa_read_int_callback()
214 priv->control_state &= ~TIOCM_CTS; in belkin_sa_read_int_callback()
217 priv->control_state |= TIOCM_RI; in belkin_sa_read_int_callback()
219 priv->control_state &= ~TIOCM_RI; in belkin_sa_read_int_callback()
222 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback()
224 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback()
288 unsigned long control_state; in belkin_sa_set_termios() local
300 control_state = priv->control_state; in belkin_sa_set_termios()
311 control_state |= (TIOCM_DTR|TIOCM_RTS); in belkin_sa_set_termios()
341 control_state &= ~(TIOCM_DTR | TIOCM_RTS); in belkin_sa_set_termios()
398 priv->control_state = control_state; in belkin_sa_set_termios()
415 unsigned long control_state; in belkin_sa_tiocmget() local
419 control_state = priv->control_state; in belkin_sa_tiocmget()
422 return control_state; in belkin_sa_tiocmget()
431 unsigned long control_state; in belkin_sa_tiocmset() local
438 control_state = priv->control_state; in belkin_sa_tiocmset()
441 control_state |= TIOCM_RTS; in belkin_sa_tiocmset()
445 control_state |= TIOCM_DTR; in belkin_sa_tiocmset()
449 control_state &= ~TIOCM_RTS; in belkin_sa_tiocmset()
453 control_state &= ~TIOCM_DTR; in belkin_sa_tiocmset()
457 priv->control_state = control_state; in belkin_sa_tiocmset()