Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/acpi/acpica/
Ddscontrol.c72 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()
108 control_state = acpi_ut_create_control_state(); in acpi_ds_exec_begin_control_op()
109 if (!control_state) { in acpi_ds_exec_begin_control_op()
117 control_state->control.aml_predicate_start = in acpi_ds_exec_begin_control_op()
119 control_state->control.package_end = in acpi_ds_exec_begin_control_op()
121 control_state->control.opcode = op->common.aml_opcode; in acpi_ds_exec_begin_control_op()
125 acpi_ut_push_generic_state(&walk_state->control_state, in acpi_ds_exec_begin_control_op()
[all …]
Ddswexec.c98 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()
716 (walk_state->control_state) && in acpi_ds_exec_end_op()
[all …]
Ddswstate.c726 while (walk_state->control_state) { in acpi_ds_delete_walk_state()
727 state = walk_state->control_state; in acpi_ds_delete_walk_state()
728 walk_state->control_state = state->common.next; in acpi_ds_delete_walk_state()
Dpsloop.c583 if (walk_state->control_state) { in acpi_ps_get_arguments()
584 walk_state->control_state->control.package_end = in acpi_ps_get_arguments()
792 (&walk_state->control_state)); in acpi_ps_complete_op()
1006 && (walk_state->control_state) in acpi_ps_parse_loop()
1007 && (walk_state->control_state->common.state == in acpi_ps_parse_loop()
Ddswload2.c86 if ((walk_state->control_state) && in acpi_ds_load2_begin_op()
87 (walk_state->control_state->common.state == in acpi_ds_load2_begin_op()
Dpsparse.c347 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
391 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
Dacstruct.h109 union acpi_generic_state *control_state; /* List of control states (nested IFs) */ member
Ddsutils.c248 if ((walk_state->control_state->common.state == in acpi_ds_is_result_used()
250 && (walk_state->control_state->control. in acpi_ds_is_result_used()
/linux-3.4.99/drivers/usb/serial/
Dmct_u232.c123 unsigned int control_state; /* Modem Line Setting (TIOCM) */ member
296 unsigned int control_state) in mct_u232_set_modem_ctrl() argument
307 if (control_state & TIOCM_DTR) in mct_u232_set_modem_ctrl()
309 if (control_state & TIOCM_RTS) in mct_u232_set_modem_ctrl()
320 dbg("set_modem_ctrl: state=0x%x ==> mcr=0x%x", control_state, mcr); in mct_u232_set_modem_ctrl()
372 static void mct_u232_msr_to_state(unsigned int *control_state, in mct_u232_msr_to_state() argument
377 *control_state |= TIOCM_DSR; in mct_u232_msr_to_state()
379 *control_state &= ~TIOCM_DSR; in mct_u232_msr_to_state()
381 *control_state |= TIOCM_CTS; in mct_u232_msr_to_state()
383 *control_state &= ~TIOCM_CTS; in mct_u232_msr_to_state()
[all …]
Dbelkin_sa.c110 unsigned long control_state; member
142 priv->control_state = 0; in belkin_sa_startup()
234 priv->control_state |= TIOCM_DSR; in belkin_sa_read_int_callback()
236 priv->control_state &= ~TIOCM_DSR; in belkin_sa_read_int_callback()
239 priv->control_state |= TIOCM_CTS; in belkin_sa_read_int_callback()
241 priv->control_state &= ~TIOCM_CTS; in belkin_sa_read_int_callback()
244 priv->control_state |= TIOCM_RI; in belkin_sa_read_int_callback()
246 priv->control_state &= ~TIOCM_RI; in belkin_sa_read_int_callback()
249 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback()
251 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback()
[all …]
Dmetro-usb.c45 unsigned long control_state; member
170 metro_priv->control_state = 0; in metrousb_open()
197 static int metrousb_set_modem_ctrl(struct usb_serial *serial, unsigned int control_state) in metrousb_set_modem_ctrl() argument
203 __func__, control_state); in metrousb_set_modem_ctrl()
206 if (control_state & TIOCM_DTR) in metrousb_set_modem_ctrl()
208 if (control_state & TIOCM_RTS) in metrousb_set_modem_ctrl()
214 control_state, 0, NULL, 0, WDR_TIMEOUT); in metrousb_set_modem_ctrl()
288 unsigned long control_state = 0; in metrousb_tiocmget() local
296 control_state = metro_priv->control_state; in metrousb_tiocmget()
299 return control_state; in metrousb_tiocmget()
[all …]
Dkl5kusb105.c489 priv->control_state |= TIOCM_DTR; in klsi_105_set_termios()
492 priv->control_state |= TIOCM_RTS; in klsi_105_set_termios()
493 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios()
539 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in klsi_105_set_termios()
540 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios()
607 priv->control_state |= TIOCM_DTR | TIOCM_RTS; in klsi_105_set_termios()
609 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in klsi_105_set_termios()
610 mct_u232_set_modem_ctrl(serial, priv->control_state); in klsi_105_set_termios()
/linux-3.4.99/drivers/isdn/gigaset/
Dinterface.c39 cs->control_state = TIOCM_DTR | TIOCM_RTS; in if_lock()
276 retval = cs->control_state & (TIOCM_RTS | TIOCM_DTR); in if_tiocmget()
300 mc = (cs->control_state | set) & ~clear & (TIOCM_RTS | TIOCM_DTR); in if_tiocmset()
301 retval = cs->ops->set_modem_ctrl(cs, cs->control_state, mc); in if_tiocmset()
302 cs->control_state = mc; in if_tiocmset()
438 unsigned int control_state, new_state; in if_set_termios() local
456 control_state = cs->control_state; in if_set_termios()
467 new_state = control_state | TIOCM_DTR; in if_set_termios()
474 cs->ops->set_modem_ctrl(cs, control_state, new_state); in if_set_termios()
475 control_state = new_state; in if_set_termios()
[all …]
Dcommon.c93 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()
916 cs->control_state = TIOCM_DTR | TIOCM_RTS; in gigaset_start()
Dgigaset.h438 unsigned control_state; member
/linux-3.4.99/sound/usb/caiaq/
Ddevice.c195 if (urb->actual_length > sizeof(dev->control_state)) in usb_ep1_command_reply_dispatch()
196 urb->actual_length = sizeof(dev->control_state); in usb_ep1_command_reply_dispatch()
197 memcpy(dev->control_state, buf + 1, urb->actual_length); in usb_ep1_command_reply_dispatch()
321 dev->control_state[0] = 0xff; in setup_card()
326 dev->control_state[0] != 0xff, HZ)) in setup_card()
330 if ((dev->control_state[1] != 2) || in setup_card()
331 (dev->control_state[2] != 3) || in setup_card()
332 (dev->control_state[4] != 2)) { in setup_card()
333 dev->control_state[1] = 2; in setup_card()
334 dev->control_state[2] = 3; in setup_card()
[all …]
Dcontrol.c86 = dev->control_state[pos & ~CNT_INTVAL]; in control_get()
89 = !!(dev->control_state[pos / 8] & (1 << pos % 8)); in control_get()
110 dev->control_state[i] = v; in control_put()
125 dev->control_state, sizeof(dev->control_state)); in control_put()
129 dev->control_state[pos / 8] |= 1 << (pos % 8); in control_put()
131 dev->control_state[pos / 8] &= ~(1 << (pos % 8)); in control_put()
134 dev->control_state, sizeof(dev->control_state)); in control_put()
Ddevice.h106 unsigned char control_state[256]; member
/linux-3.4.99/drivers/staging/comedi/drivers/
Ddas16m1.c187 unsigned int control_state; member
356 devpriv->control_state &= ~INTE & ~PACER_MASK; in das16m1_cmd_exec()
357 outb(devpriv->control_state, dev->iobase + DAS16M1_INTR_CONTROL); in das16m1_cmd_exec()
395 devpriv->control_state &= ~PACER_MASK; in das16m1_cmd_exec()
397 devpriv->control_state |= INT_PACER; in das16m1_cmd_exec()
399 devpriv->control_state |= EXT_PACER; in das16m1_cmd_exec()
401 devpriv->control_state |= INTE; in das16m1_cmd_exec()
402 outb(devpriv->control_state, dev->iobase + DAS16M1_INTR_CONTROL); in das16m1_cmd_exec()
409 devpriv->control_state &= ~INTE & ~PACER_MASK; in das16m1_cancel()
410 outb(devpriv->control_state, dev->iobase + DAS16M1_INTR_CONTROL); in das16m1_cancel()
[all …]
Ddas16.c743 volatile unsigned int control_state; /* dma, interrupt and trigger control bits */ member
1011 devpriv->control_state &= ~DAS16_INTE; in das16_cmd_exec()
1016 devpriv->control_state |= DAS16_INTE; in das16_cmd_exec()
1018 devpriv->control_state |= DMA_ENABLE; in das16_cmd_exec()
1019 devpriv->control_state &= ~PACING_MASK; in das16_cmd_exec()
1021 devpriv->control_state |= EXT_PACER; in das16_cmd_exec()
1023 devpriv->control_state |= INT_PACER; in das16_cmd_exec()
1024 outb(devpriv->control_state, dev->iobase + DAS16_CONTROL); in das16_cmd_exec()
1040 devpriv->control_state &= ~DAS16_INTE & ~PACING_MASK & ~DMA_ENABLE; in das16_cancel()
1041 outb(devpriv->control_state, dev->iobase + DAS16_CONTROL); in das16_cancel()
[all …]