Home
last modified time | relevance | path

Searched refs:control_state (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/usb/serial/
Dmct_u232.c155 unsigned int control_state; /* Modem Line Setting (TIOCM) */ member
275 unsigned int control_state) in mct_u232_set_modem_ctrl() argument
280 if (control_state & TIOCM_DTR) in mct_u232_set_modem_ctrl()
282 if (control_state & TIOCM_RTS) in mct_u232_set_modem_ctrl()
292 dbg("set_modem_ctrl: state=0x%x ==> mcr=0x%x", control_state, mcr); in mct_u232_set_modem_ctrl()
313 static void mct_u232_msr_to_state(unsigned int *control_state, unsigned char msr) in mct_u232_msr_to_state() argument
317 *control_state |= TIOCM_DSR; in mct_u232_msr_to_state()
319 *control_state &= ~TIOCM_DSR; in mct_u232_msr_to_state()
321 *control_state |= TIOCM_CTS; in mct_u232_msr_to_state()
323 *control_state &= ~TIOCM_CTS; in mct_u232_msr_to_state()
[all …]
Dbelkin_sa.c139 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()
[all …]
Dkl5kusb105.c731 priv->control_state |= TIOCM_DTR; in klsi_105_set_termios()
734 priv->control_state |= TIOCM_RTS; in klsi_105_set_termios()
736 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios()
774 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in klsi_105_set_termios()
775 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios()
838 priv->control_state |= TIOCM_DTR | TIOCM_RTS; in klsi_105_set_termios()
840 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in klsi_105_set_termios()
841 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios()
/linux-2.4.37.9/drivers/acpi/dispatcher/
Ddsopcode.c870 union acpi_generic_state *control_state; in acpi_ds_exec_begin_control_op() local
888 control_state = acpi_ut_create_control_state (); in acpi_ds_exec_begin_control_op()
889 if (!control_state) { in acpi_ds_exec_begin_control_op()
897 control_state->control.aml_predicate_start = walk_state->parser_state.aml - 1; in acpi_ds_exec_begin_control_op()
898 control_state->control.package_end = walk_state->parser_state.pkg_end; in acpi_ds_exec_begin_control_op()
899 control_state->control.opcode = op->common.aml_opcode; in acpi_ds_exec_begin_control_op()
904 acpi_ut_push_generic_state (&walk_state->control_state, control_state); in acpi_ds_exec_begin_control_op()
950 union acpi_generic_state *control_state; in acpi_ds_exec_end_control_op() local
966 (u8) walk_state->control_state->common.value; in acpi_ds_exec_end_control_op()
972 control_state = acpi_ut_pop_generic_state (&walk_state->control_state); in acpi_ds_exec_end_control_op()
[all …]
Ddswexec.c98 walk_state->control_state->common.state = 0; in acpi_ds_get_predicate_value()
153 walk_state->control_state->common.value = TRUE; in acpi_ds_get_predicate_value()
160 walk_state->control_state->common.value = FALSE; in acpi_ds_get_predicate_value()
168 walk_state->control_state->common.value, walk_state->op)); in acpi_ds_get_predicate_value()
180 walk_state->control_state->common.state = ACPI_CONTROL_NORMAL; in acpi_ds_get_predicate_value()
249 if ((walk_state->control_state) && in acpi_ds_exec_begin_op()
250 (walk_state->control_state->common.state == in acpi_ds_exec_begin_op()
255 walk_state->control_state->common.state = ACPI_CONTROL_PREDICATE_EXECUTING; in acpi_ds_exec_begin_op()
259 walk_state->control_state->control.predicate_op = op; in acpi_ds_exec_begin_op()
642 if ((walk_state->control_state) && in acpi_ds_exec_end_op()
[all …]
Ddsutils.c133 if ((walk_state->control_state->common.state == ACPI_CONTROL_PREDICATE_EXECUTING) && in acpi_ds_is_result_used()
134 (walk_state->control_state->control.predicate_op == op)) { in acpi_ds_is_result_used()
Ddswstate.c1029 while (walk_state->control_state) { in acpi_ds_delete_walk_state()
1030 state = walk_state->control_state; in acpi_ds_delete_walk_state()
1031 walk_state->control_state = state->common.next; in acpi_ds_delete_walk_state()
/linux-2.4.37.9/drivers/acpi/parser/
Dpsparse.c329 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
376 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
455 (walk_state->control_state) && in acpi_ps_parse_loop()
456 (walk_state->control_state->common.state == in acpi_ps_parse_loop()
782 if (walk_state->control_state) { in acpi_ps_parse_loop()
783 walk_state->control_state->control.package_end = parser_state->pkg_end; in acpi_ps_parse_loop()
/linux-2.4.37.9/include/acpi/
Dacstruct.h93 …union acpi_generic_state *control_state; /* List of control states … member