/drivers/acpi/acpica/ |
D | dscontrol.c | 72 union acpi_generic_state *control_state; in acpi_ds_exec_begin_control_op() local 85 if (walk_state->control_state) { in acpi_ds_exec_begin_control_op() 86 if (walk_state->control_state->control. in acpi_ds_exec_begin_control_op() 92 walk_state->control_state->common.state = in acpi_ds_exec_begin_control_op() 106 control_state = acpi_ut_create_control_state(); in acpi_ds_exec_begin_control_op() 107 if (!control_state) { in acpi_ds_exec_begin_control_op() 115 control_state->control.aml_predicate_start = in acpi_ds_exec_begin_control_op() 117 control_state->control.package_end = in acpi_ds_exec_begin_control_op() 119 control_state->control.opcode = op->common.aml_opcode; in acpi_ds_exec_begin_control_op() 123 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() 159 walk_state->control_state->common.value = TRUE; in acpi_ds_get_predicate_value() 165 walk_state->control_state->common.value = FALSE; in acpi_ds_get_predicate_value() 176 walk_state->control_state->common.value, in acpi_ds_get_predicate_value() 193 walk_state->control_state->common.state = ACPI_CONTROL_NORMAL; in acpi_ds_get_predicate_value() 263 if ((walk_state->control_state) && in acpi_ds_exec_begin_op() 264 (walk_state->control_state->common.state == in acpi_ds_exec_begin_op() 270 walk_state->control_state->common.state = in acpi_ds_exec_begin_op() 275 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 | 252 if ((walk_state->control_state) && in acpi_db_single_step() 253 (walk_state->control_state->common.state == in acpi_db_single_step() 298 if (walk_state->control_state->common.value) { in acpi_db_single_step()
|
D | psloop.c | 279 if (walk_state->control_state) { in acpi_ps_get_arguments() 280 walk_state->control_state->control.package_end = in acpi_ps_get_arguments() 431 && (walk_state->control_state) in acpi_ps_parse_loop() 432 && (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 | 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 | psparse.c | 352 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state() 396 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
|
D | dsutils.c | 247 if ((walk_state->control_state->common.state == in acpi_ds_is_result_used() 249 && (walk_state->control_state->control. 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 | 503 (&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 201 metro_priv->control_state = 0; in metrousb_open() 237 static int metrousb_set_modem_ctrl(struct usb_serial *serial, unsigned int control_state) in metrousb_set_modem_ctrl() argument 243 __func__, control_state); in metrousb_set_modem_ctrl() 246 if (control_state & TIOCM_DTR) in metrousb_set_modem_ctrl() 248 if (control_state & TIOCM_RTS) in metrousb_set_modem_ctrl() 254 control_state, 0, NULL, 0, WDR_TIMEOUT); in metrousb_set_modem_ctrl() 304 unsigned long control_state = 0; in metrousb_tiocmget() local 312 control_state = metro_priv->control_state; in metrousb_tiocmget() 315 return control_state; in metrousb_tiocmget() [all …]
|
D | kl5kusb105.c | 444 priv->control_state |= TIOCM_DTR; in klsi_105_set_termios() 447 priv->control_state |= TIOCM_RTS; in klsi_105_set_termios() 448 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios() 493 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in klsi_105_set_termios() 494 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios() 560 priv->control_state |= TIOCM_DTR | TIOCM_RTS; in klsi_105_set_termios() 562 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in klsi_105_set_termios() 563 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios()
|
/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/staging/comedi/drivers/ |
D | das16m1.c | 126 unsigned int control_state; member 257 devpriv->control_state &= ~INTE & ~PACER_MASK; in das16m1_cmd_exec() 258 outb(devpriv->control_state, dev->iobase + DAS16M1_INTR_CONTROL); in das16m1_cmd_exec() 287 devpriv->control_state &= ~PACER_MASK; in das16m1_cmd_exec() 291 devpriv->control_state |= INT_PACER; in das16m1_cmd_exec() 293 devpriv->control_state |= EXT_PACER; in das16m1_cmd_exec() 307 devpriv->control_state |= INTE; in das16m1_cmd_exec() 308 outb(devpriv->control_state, dev->iobase + DAS16M1_INTR_CONTROL); in das16m1_cmd_exec() 317 devpriv->control_state &= ~INTE & ~PACER_MASK; in das16m1_cancel() 318 outb(devpriv->control_state, dev->iobase + DAS16M1_INTR_CONTROL); in das16m1_cancel() [all …]
|
/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 …]
|