Home
last modified time | relevance | path

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

/drivers/acpi/acpica/
Ddscontrol.c39 union acpi_generic_state *control_state; in acpi_ds_exec_begin_control_op() local
52 if (walk_state->control_state) { in acpi_ds_exec_begin_control_op()
53 if (walk_state->control_state->control. in acpi_ds_exec_begin_control_op()
59 walk_state->control_state->common.state = in acpi_ds_exec_begin_control_op()
73 control_state = acpi_ut_create_control_state(); in acpi_ds_exec_begin_control_op()
74 if (!control_state) { in acpi_ds_exec_begin_control_op()
82 control_state->control.aml_predicate_start = in acpi_ds_exec_begin_control_op()
84 control_state->control.package_end = in acpi_ds_exec_begin_control_op()
86 control_state->control.opcode = op->common.aml_opcode; in acpi_ds_exec_begin_control_op()
87 control_state->control.loop_timeout = acpi_os_get_timer() + in acpi_ds_exec_begin_control_op()
[all …]
Ddswexec.c67 walk_state->control_state->common.state = 0; in acpi_ds_get_predicate_value()
129 walk_state->control_state->common.value = TRUE; in acpi_ds_get_predicate_value()
135 walk_state->control_state->common.value = FALSE; in acpi_ds_get_predicate_value()
147 walk_state->control_state->common.value, in acpi_ds_get_predicate_value()
163 walk_state->control_state->common.state = ACPI_CONTROL_NORMAL; in acpi_ds_get_predicate_value()
233 if ((walk_state->control_state) && in acpi_ds_exec_begin_op()
234 (walk_state->control_state->common.state == in acpi_ds_exec_begin_op()
240 walk_state->control_state->common.state = in acpi_ds_exec_begin_op()
245 walk_state->control_state->control.predicate_op = op; in acpi_ds_exec_begin_op()
716 (walk_state->control_state) && in acpi_ds_exec_end_op()
[all …]
Dpsloop.c189 if (walk_state->control_state) { in acpi_ps_get_arguments()
190 walk_state->control_state->control.package_end = in acpi_ps_get_arguments()
254 && (walk_state->control_state) in acpi_ps_parse_loop()
255 && (walk_state->control_state->common.state == in acpi_ps_parse_loop()
410 if ((walk_state->control_state) && in acpi_ps_parse_loop()
411 ((walk_state->control_state->control. in acpi_ps_parse_loop()
413 || (walk_state->control_state->control. in acpi_ps_parse_loop()
420 walk_state->control_state->control. in acpi_ps_parse_loop()
441 (&walk_state->control_state)); in acpi_ps_parse_loop()
Ddbxface.c148 if ((walk_state->control_state) && in acpi_db_get_display_op()
149 (walk_state->control_state->common.state == in acpi_db_get_display_op()
311 if (walk_state->control_state->common.value) { in acpi_db_single_step()
Ddswstate.c701 while (walk_state->control_state) { in acpi_ds_delete_walk_state()
702 state = walk_state->control_state; in acpi_ds_delete_walk_state()
703 walk_state->control_state = state->common.next; in acpi_ds_delete_walk_state()
Dpsparse.c319 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
363 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
Ddswload2.c55 if ((walk_state->control_state) && in acpi_ds_load2_begin_op()
56 (walk_state->control_state->common.state == in acpi_ds_load2_begin_op()
Ddsutils.c210 if ((walk_state->control_state->common.state == in acpi_ds_is_result_used()
212 (walk_state->control_state->control.predicate_op == in acpi_ds_is_result_used()
Dacstruct.h73 union acpi_generic_state *control_state; /* List of control states (nested IFs) */ member
Dpsobject.c535 (&walk_state->control_state)); in acpi_ps_complete_op()
/drivers/usb/serial/
Dmct_u232.c100 unsigned int control_state; /* Modem Line Setting (TIOCM) */ member
272 unsigned int control_state) in mct_u232_set_modem_ctrl() argument
283 if (control_state & TIOCM_DTR) in mct_u232_set_modem_ctrl()
285 if (control_state & TIOCM_RTS) in mct_u232_set_modem_ctrl()
296 dev_dbg(&port->dev, "set_modem_ctrl: state=0x%x ==> mcr=0x%x\n", control_state, mcr); in mct_u232_set_modem_ctrl()
351 unsigned int *control_state, unsigned char msr) in mct_u232_msr_to_state() argument
355 *control_state |= TIOCM_DSR; in mct_u232_msr_to_state()
357 *control_state &= ~TIOCM_DSR; in mct_u232_msr_to_state()
359 *control_state |= TIOCM_CTS; in mct_u232_msr_to_state()
361 *control_state &= ~TIOCM_CTS; in mct_u232_msr_to_state()
[all …]
Dbelkin_sa.c92 unsigned long control_state; member
122 priv->control_state = 0; in belkin_sa_port_probe()
208 priv->control_state |= TIOCM_DSR; in belkin_sa_read_int_callback()
210 priv->control_state &= ~TIOCM_DSR; in belkin_sa_read_int_callback()
213 priv->control_state |= TIOCM_CTS; in belkin_sa_read_int_callback()
215 priv->control_state &= ~TIOCM_CTS; in belkin_sa_read_int_callback()
218 priv->control_state |= TIOCM_RI; in belkin_sa_read_int_callback()
220 priv->control_state &= ~TIOCM_RI; in belkin_sa_read_int_callback()
223 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback()
225 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback()
[all …]
Dmetro-usb.c42 unsigned long control_state; member
179 metro_priv->control_state = 0; in metrousb_open()
218 static int metrousb_set_modem_ctrl(struct usb_serial *serial, unsigned int control_state) in metrousb_set_modem_ctrl() argument
224 __func__, control_state); in metrousb_set_modem_ctrl()
227 if (control_state & TIOCM_DTR) in metrousb_set_modem_ctrl()
229 if (control_state & TIOCM_RTS) in metrousb_set_modem_ctrl()
235 control_state, 0, NULL, 0, WDR_TIMEOUT); in metrousb_set_modem_ctrl()
283 unsigned long control_state = 0; in metrousb_tiocmget() local
289 control_state = metro_priv->control_state; in metrousb_tiocmget()
292 return control_state; in metrousb_tiocmget()
[all …]
/drivers/hsi/clients/
Dcmt_speech.c85 unsigned int control_state; member
228 hi->control_state &= in cs_cmd_destructor()
231 hi->control_state & SSI_CHANNEL_STATE_WRITING) in cs_cmd_destructor()
232 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_cmd_destructor()
394 __cs_hsi_error_pre(hi, msg, "control read", &hi->control_state); in cs_hsi_control_read_error()
396 __cs_hsi_error_read_bits(&hi->control_state); in cs_hsi_control_read_error()
403 __cs_hsi_error_pre(hi, msg, "control write", &hi->control_state); in cs_hsi_control_write_error()
405 __cs_hsi_error_write_bits(&hi->control_state); in cs_hsi_control_write_error()
431 hi->control_state &= ~SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_control_complete()
469 WARN_ON(!(hi->control_state & SSI_CHANNEL_STATE_READING)); in cs_hsi_peek_on_control_complete()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c392 u8 *control_state) in mlx5_reg_mcc_query() argument
409 *control_state = MLX5_GET(mcc_reg, out, control_state); in mlx5_reg_mcc_query()
519 u8 control_state, error_code; in mlx5_fsm_lock() local
523 err = mlx5_reg_mcc_query(dev, fwhandle, &error_code, &control_state); in mlx5_fsm_lock()
527 if (control_state != MLXFW_FSM_STATE_IDLE) in mlx5_fsm_lock()
583 u8 control_state, error_code; in mlx5_fsm_query_state() local
586 err = mlx5_reg_mcc_query(dev, &fwhandle, &error_code, &control_state); in mlx5_fsm_query_state()
590 *fsm_state = control_state; in mlx5_fsm_query_state()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c916 u8 control_state; in mlxsw_core_fw_fsm_lock() local
924 mlxsw_reg_mcc_unpack(mcc_pl, fwhandle, NULL, &control_state); in mlxsw_core_fw_fsm_lock()
925 if (control_state != MLXFW_FSM_STATE_IDLE) in mlxsw_core_fw_fsm_lock()
989 u8 control_state; in mlxsw_core_fw_fsm_query_state() local
998 mlxsw_reg_mcc_unpack(mcc_pl, NULL, &error_code, &control_state); in mlxsw_core_fw_fsm_query_state()
999 *fsm_state = control_state; in mlxsw_core_fw_fsm_query_state()
Dreg.h9415 MLXSW_ITEM32(reg, mcc, control_state, 0x0C, 0, 4);