/drivers/acpi/acpica/ |
D | dscontrol.c | 73 union acpi_generic_state *control_state; in acpi_ds_exec_begin_control_op() local 86 if (walk_state->control_state) { in acpi_ds_exec_begin_control_op() 87 if (walk_state->control_state->control. in acpi_ds_exec_begin_control_op() 93 walk_state->control_state->common.state = in acpi_ds_exec_begin_control_op() 107 control_state = acpi_ut_create_control_state(); in acpi_ds_exec_begin_control_op() 108 if (!control_state) { in acpi_ds_exec_begin_control_op() 116 control_state->control.aml_predicate_start = in acpi_ds_exec_begin_control_op() 118 control_state->control.package_end = in acpi_ds_exec_begin_control_op() 120 control_state->control.opcode = op->common.aml_opcode; in acpi_ds_exec_begin_control_op() 124 acpi_ut_push_generic_state(&walk_state->control_state, in acpi_ds_exec_begin_control_op() [all …]
|
D | dswexec.c | 98 walk_state->control_state->common.state = 0; in acpi_ds_get_predicate_value() 160 walk_state->control_state->common.value = TRUE; in acpi_ds_get_predicate_value() 166 walk_state->control_state->common.value = FALSE; in acpi_ds_get_predicate_value() 178 walk_state->control_state->common.value, in acpi_ds_get_predicate_value() 194 walk_state->control_state->common.state = ACPI_CONTROL_NORMAL; in acpi_ds_get_predicate_value() 264 if ((walk_state->control_state) && in acpi_ds_exec_begin_op() 265 (walk_state->control_state->common.state == in acpi_ds_exec_begin_op() 271 walk_state->control_state->common.state = in acpi_ds_exec_begin_op() 276 walk_state->control_state->control.predicate_op = op; in acpi_ds_exec_begin_op() 715 (walk_state->control_state) && in acpi_ds_exec_end_op() [all …]
|
D | dbxface.c | 263 if ((walk_state->control_state) && in acpi_db_single_step() 264 (walk_state->control_state->common.state == in acpi_db_single_step() 309 if (walk_state->control_state->common.value) { in acpi_db_single_step()
|
D | psloop.c | 309 if (walk_state->control_state) { in acpi_ps_get_arguments() 310 walk_state->control_state->control.package_end = in acpi_ps_get_arguments() 461 && (walk_state->control_state) in acpi_ps_parse_loop() 462 && (walk_state->control_state->common.state == in acpi_ps_parse_loop()
|
D | dswstate.c | 730 while (walk_state->control_state) { in acpi_ds_delete_walk_state() 731 state = walk_state->control_state; in acpi_ds_delete_walk_state() 732 walk_state->control_state = state->common.next; in acpi_ds_delete_walk_state()
|
D | psparse.c | 353 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state() 397 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
|
D | dswload2.c | 86 if ((walk_state->control_state) && in acpi_ds_load2_begin_op() 87 (walk_state->control_state->common.state == in acpi_ds_load2_begin_op()
|
D | dsutils.c | 247 if ((walk_state->control_state->common.state == in acpi_ds_is_result_used() 249 (walk_state->control_state->control.predicate_op == in acpi_ds_is_result_used()
|
D | acstruct.h | 105 union acpi_generic_state *control_state; /* List of control states (nested IFs) */ member
|
D | psobject.c | 575 (&walk_state->control_state)); in acpi_ps_complete_op()
|
/drivers/usb/serial/ |
D | mct_u232.c | 104 unsigned int control_state; /* Modem Line Setting (TIOCM) */ member 276 unsigned int control_state) in mct_u232_set_modem_ctrl() argument 287 if (control_state & TIOCM_DTR) in mct_u232_set_modem_ctrl() 289 if (control_state & TIOCM_RTS) in mct_u232_set_modem_ctrl() 300 dev_dbg(&port->dev, "set_modem_ctrl: state=0x%x ==> mcr=0x%x\n", control_state, mcr); in mct_u232_set_modem_ctrl() 355 unsigned int *control_state, unsigned char msr) in mct_u232_msr_to_state() argument 359 *control_state |= TIOCM_DSR; in mct_u232_msr_to_state() 361 *control_state &= ~TIOCM_DSR; in mct_u232_msr_to_state() 363 *control_state |= TIOCM_CTS; in mct_u232_msr_to_state() 365 *control_state &= ~TIOCM_CTS; in mct_u232_msr_to_state() [all …]
|
D | belkin_sa.c | 96 unsigned long control_state; member 126 priv->control_state = 0; in belkin_sa_port_probe() 212 priv->control_state |= TIOCM_DSR; in belkin_sa_read_int_callback() 214 priv->control_state &= ~TIOCM_DSR; in belkin_sa_read_int_callback() 217 priv->control_state |= TIOCM_CTS; in belkin_sa_read_int_callback() 219 priv->control_state &= ~TIOCM_CTS; in belkin_sa_read_int_callback() 222 priv->control_state |= TIOCM_RI; in belkin_sa_read_int_callback() 224 priv->control_state &= ~TIOCM_RI; in belkin_sa_read_int_callback() 227 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback() 229 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback() [all …]
|
D | metro-usb.c | 41 unsigned long control_state; member 173 metro_priv->control_state = 0; in metrousb_open() 212 static int metrousb_set_modem_ctrl(struct usb_serial *serial, unsigned int control_state) in metrousb_set_modem_ctrl() argument 218 __func__, control_state); in metrousb_set_modem_ctrl() 221 if (control_state & TIOCM_DTR) in metrousb_set_modem_ctrl() 223 if (control_state & TIOCM_RTS) in metrousb_set_modem_ctrl() 229 control_state, 0, NULL, 0, WDR_TIMEOUT); in metrousb_set_modem_ctrl() 277 unsigned long control_state = 0; in metrousb_tiocmget() local 283 control_state = metro_priv->control_state; in metrousb_tiocmget() 286 return control_state; in metrousb_tiocmget() [all …]
|
/drivers/isdn/gigaset/ |
D | interface.c | 39 cs->control_state = TIOCM_DTR | TIOCM_RTS; in if_lock() 246 retval = cs->control_state & (TIOCM_RTS | TIOCM_DTR); in if_tiocmget() 270 mc = (cs->control_state | set) & ~clear & (TIOCM_RTS | TIOCM_DTR); in if_tiocmset() 271 retval = cs->ops->set_modem_ctrl(cs, cs->control_state, mc); in if_tiocmset() 272 cs->control_state = mc; in if_tiocmset() 408 unsigned int control_state, new_state; in if_set_termios() local 426 control_state = cs->control_state; in if_set_termios() 437 new_state = control_state | TIOCM_DTR; in if_set_termios() 444 cs->ops->set_modem_ctrl(cs, control_state, new_state); in if_set_termios() 445 control_state = new_state; in if_set_termios() [all …]
|
D | common.c | 93 r = cs->ops->set_modem_ctrl(cs, cs->control_state, flags); in setflags() 94 cs->control_state = flags; in setflags() 110 cs->control_state = TIOCM_RTS; in gigaset_enterconfigmode() 134 cs->control_state = TIOCM_RTS | TIOCM_DTR; in gigaset_enterconfigmode() 895 cs->control_state = TIOCM_DTR | TIOCM_RTS; in gigaset_start()
|
D | gigaset.h | 441 unsigned control_state; member
|
/drivers/hsi/clients/ |
D | cmt_speech.c | 98 unsigned int control_state; member 241 hi->control_state &= in cs_cmd_destructor() 244 hi->control_state & SSI_CHANNEL_STATE_WRITING) in cs_cmd_destructor() 245 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_cmd_destructor() 407 __cs_hsi_error_pre(hi, msg, "control read", &hi->control_state); in cs_hsi_control_read_error() 409 __cs_hsi_error_read_bits(&hi->control_state); in cs_hsi_control_read_error() 416 __cs_hsi_error_pre(hi, msg, "control write", &hi->control_state); in cs_hsi_control_write_error() 418 __cs_hsi_error_write_bits(&hi->control_state); in cs_hsi_control_write_error() 444 hi->control_state &= ~SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_control_complete() 482 WARN_ON(!(hi->control_state & SSI_CHANNEL_STATE_READING)); in cs_hsi_peek_on_control_complete() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fw.c | 265 u8 *control_state) in mlx5_reg_mcc_query() argument 282 *control_state = MLX5_GET(mcc_reg, out, control_state); in mlx5_reg_mcc_query() 371 u8 control_state, error_code; in mlx5_fsm_lock() local 375 err = mlx5_reg_mcc_query(dev, fwhandle, &error_code, &control_state); in mlx5_fsm_lock() 379 if (control_state != MLXFW_FSM_STATE_IDLE) in mlx5_fsm_lock() 435 u8 control_state, error_code; in mlx5_fsm_query_state() local 438 err = mlx5_reg_mcc_query(dev, &fwhandle, &error_code, &control_state); in mlx5_fsm_query_state() 442 *fsm_state = control_state; in mlx5_fsm_query_state()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 194 u8 control_state; in mlxsw_sp_fsm_lock() local 202 mlxsw_reg_mcc_unpack(mcc_pl, fwhandle, NULL, &control_state); in mlxsw_sp_fsm_lock() 203 if (control_state != MLXFW_FSM_STATE_IDLE) in mlxsw_sp_fsm_lock() 272 u8 control_state; in mlxsw_sp_fsm_query_state() local 281 mlxsw_reg_mcc_unpack(mcc_pl, NULL, &error_code, &control_state); in mlxsw_sp_fsm_query_state() 282 *fsm_state = control_state; in mlxsw_sp_fsm_query_state()
|
D | reg.h | 6270 MLXSW_ITEM32(reg, mcc, control_state, 0x0C, 0, 4);
|