Home
last modified time | relevance | path

Searched refs:TRIG_EXT (Results 1 – 25 of 43) sorted by relevance

12

/drivers/staging/comedi/drivers/
Dni_tiocmd.c157 case TRIG_EXT: in ni_tio_input_cmd()
192 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup()
195 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup()
248 sources |= TRIG_EXT; in ni_tio_cmdtest()
254 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_EXT | TRIG_OTHER; in ni_tio_cmdtest()
259 sources = TRIG_NOW | TRIG_EXT | TRIG_OTHER; in ni_tio_cmdtest()
281 cmd->start_src != TRIG_EXT && cmd->start_src != TRIG_OTHER) in ni_tio_cmdtest()
284 cmd->scan_begin_src != TRIG_EXT && in ni_tio_cmdtest()
288 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) in ni_tio_cmdtest()
300 if (cmd->start_src != TRIG_EXT) { in ni_tio_cmdtest()
[all …]
Dme4000.c1277 if ((cmd->start_src == TRIG_EXT && in ai_prepare()
1280 (cmd->start_src == TRIG_EXT && in ai_prepare()
1286 } else if (cmd->start_src == TRIG_EXT && in ai_prepare()
1287 cmd->scan_begin_src == TRIG_EXT && in ai_prepare()
1292 } else if (cmd->start_src == TRIG_EXT && in ai_prepare()
1293 cmd->scan_begin_src == TRIG_EXT && in ai_prepare()
1294 cmd->convert_src == TRIG_EXT) { in ai_prepare()
1460 case TRIG_EXT: in me4000_ai_do_cmd_test()
1463 cmd->start_src &= TRIG_NOW | TRIG_EXT; in me4000_ai_do_cmd_test()
1476 case TRIG_EXT: in me4000_ai_do_cmd_test()
[all …]
Dadl_pci9118.c966 cmd->start_src &= TRIG_NOW | TRIG_EXT | TRIG_INT; in pci9118_ai_cmdtest()
972 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT | TRIG_FOLLOW; in pci9118_ai_cmdtest()
981 cmd->convert_src &= TRIG_TIMER | TRIG_EXT | TRIG_NOW; in pci9118_ai_cmdtest()
983 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest()
994 cmd->stop_src &= TRIG_COUNT | TRIG_NONE | TRIG_EXT; in pci9118_ai_cmdtest()
1008 cmd->start_src != TRIG_INT && cmd->start_src != TRIG_EXT) { in pci9118_ai_cmdtest()
1014 cmd->scan_begin_src != TRIG_EXT && in pci9118_ai_cmdtest()
1022 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) { in pci9118_ai_cmdtest()
1034 cmd->stop_src != TRIG_INT && cmd->stop_src != TRIG_EXT) { in pci9118_ai_cmdtest()
1039 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmdtest()
[all …]
Damplc_pci224.c635 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start()
804 cmd->start_src &= TRIG_INT | TRIG_EXT; in pci224_ao_cmdtest()
809 cmd->scan_begin_src &= TRIG_EXT | TRIG_TIMER; in pci224_ao_cmdtest()
824 cmd->stop_src &= TRIG_COUNT | TRIG_EXT | TRIG_NONE; in pci224_ao_cmdtest()
849 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest()
851 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest()
853 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest()
870 case TRIG_EXT: in pci224_ao_cmdtest()
901 case TRIG_EXT: in pci224_ao_cmdtest()
936 case TRIG_EXT: in pci224_ao_cmdtest()
[all …]
Dusbduxfast.c575 cmd->start_src &= TRIG_NOW | TRIG_EXT | TRIG_INT; in usbduxfast_ai_cmdtest()
580 cmd->scan_begin_src &= TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT; in usbduxfast_ai_cmdtest()
585 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in usbduxfast_ai_cmdtest()
608 cmd->start_src != TRIG_EXT && cmd->start_src != TRIG_INT) in usbduxfast_ai_cmdtest()
612 cmd->scan_begin_src != TRIG_EXT) in usbduxfast_ai_cmdtest()
614 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in usbduxfast_ai_cmdtest()
617 cmd->stop_src != TRIG_EXT && cmd->stop_src != TRIG_NONE) in usbduxfast_ai_cmdtest()
621 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in usbduxfast_ai_cmdtest()
836 if ((cmd->start_src == TRIG_EXT) && (cmd->chanlist_len != 1) in usbduxfast_ai_cmd()
865 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
[all …]
Dcb_pcidas.c1088 cmd->start_src &= TRIG_NOW | TRIG_EXT; in cb_pcidas_ai_cmdtest()
1093 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT; in cb_pcidas_ai_cmdtest()
1098 cmd->convert_src &= TRIG_TIMER | TRIG_NOW | TRIG_EXT; in cb_pcidas_ai_cmdtest()
1117 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in cb_pcidas_ai_cmdtest()
1121 cmd->scan_begin_src != TRIG_EXT) in cb_pcidas_ai_cmdtest()
1124 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) in cb_pcidas_ai_cmdtest()
1134 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest()
1135 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest()
1144 case TRIG_EXT: in cb_pcidas_ai_cmdtest()
1273 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd()
[all …]
Dni_labpc.c1022 cmd->start_src &= TRIG_NOW | TRIG_EXT; in labpc_ai_cmdtest()
1027 cmd->scan_begin_src &= TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT; in labpc_ai_cmdtest()
1032 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in labpc_ai_cmdtest()
1044 stop_mask |= TRIG_EXT; in labpc_ai_cmdtest()
1054 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in labpc_ai_cmdtest()
1058 cmd->scan_begin_src != TRIG_EXT) in labpc_ai_cmdtest()
1060 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in labpc_ai_cmdtest()
1063 cmd->stop_src != TRIG_EXT && cmd->stop_src != TRIG_NONE) in labpc_ai_cmdtest()
1067 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
1186 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd()
[all …]
Ddas1800.c1196 cmd->start_src &= TRIG_NOW | TRIG_EXT; in das1800_ai_do_cmdtest()
1201 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT; in das1800_ai_do_cmdtest()
1206 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in das1800_ai_do_cmdtest()
1216 cmd->stop_src &= TRIG_COUNT | TRIG_EXT | TRIG_NONE; in das1800_ai_do_cmdtest()
1226 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in das1800_ai_do_cmdtest()
1230 cmd->scan_begin_src != TRIG_EXT) in das1800_ai_do_cmdtest()
1232 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in das1800_ai_do_cmdtest()
1235 cmd->stop_src != TRIG_NONE && cmd->stop_src != TRIG_EXT) in das1800_ai_do_cmdtest()
1371 if (cmd.stop_src == TRIG_EXT) in control_a_bits()
1374 case TRIG_EXT: in control_a_bits()
[all …]
Ds626.c1123 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) { in s626_irq_handler()
1166 == 1 && cmd->start_src == TRIG_EXT) { in s626_irq_handler()
1178 TRIG_EXT) { in s626_irq_handler()
1195 TRIG_EXT) { in s626_irq_handler()
1207 TRIG_EXT) { in s626_irq_handler()
1237 && cmd->convert_src == TRIG_EXT) { in s626_irq_handler()
1838 case TRIG_EXT: in s626_ai_cmd()
1840 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd()
1865 case TRIG_EXT: in s626_ai_cmd()
1867 if (cmd->scan_begin_src != TRIG_EXT in s626_ai_cmd()
[all …]
Dadl_pci9111.c634 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in pci9111_ai_do_cmd_test()
635 pci9111_check_trigger_src(cmd->convert_src, TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test()
650 (cmd->scan_begin_src != TRIG_EXT)) in pci9111_ai_do_cmd_test()
653 if ((cmd->convert_src != TRIG_TIMER) && (cmd->convert_src != TRIG_EXT)) in pci9111_ai_do_cmd_test()
659 if ((cmd->convert_src == TRIG_EXT) && in pci9111_ai_do_cmd_test()
660 !((cmd->scan_begin_src == TRIG_EXT) || in pci9111_ai_do_cmd_test()
695 if ((cmd->convert_src == TRIG_EXT) && (cmd->convert_arg != 0)) { in pci9111_ai_do_cmd_test()
710 if ((cmd->scan_begin_src == TRIG_EXT) && (cmd->scan_begin_arg != 0)) { in pci9111_ai_do_cmd_test()
902 case TRIG_EXT: in pci9111_ai_do_cmd()
Ddas16m1.c226 cmd->start_src &= TRIG_NOW | TRIG_EXT; in das16m1_cmd_test()
236 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in das16m1_cmd_test()
256 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in das16m1_cmd_test()
258 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in das16m1_cmd_test()
387 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_cmd_exec()
Dskel.c378 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; in skel_ai_cmdtest()
383 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in skel_ai_cmdtest()
405 cmd->scan_begin_src != TRIG_EXT) in skel_ai_cmdtest()
407 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in skel_ai_cmdtest()
Ddas800.c616 cmd->start_src &= TRIG_NOW | TRIG_EXT; in das800_ai_do_cmdtest()
626 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in das800_ai_do_cmdtest()
645 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in das800_ai_do_cmdtest()
647 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in das800_ai_do_cmdtest()
782 if (async->cmd.start_src == TRIG_EXT) in das800_ai_do_cmd()
798 case TRIG_EXT: in das800_ai_do_cmd()
Dcb_pcidda.c465 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT;
470 cmd->convert_src &= TRIG_TIMER | TRIG_EXT;
491 && cmd->scan_begin_src != TRIG_EXT)
493 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT)
495 if (cmd->stop_src != TRIG_TIMER && cmd->stop_src != TRIG_EXT)
Dcb_pcidas64.c2206 cmd->start_src &= TRIG_NOW | TRIG_EXT; in ai_cmdtest()
2225 triggers |= TRIG_EXT; in ai_cmdtest()
2236 cmd->stop_src &= TRIG_COUNT | TRIG_EXT | TRIG_NONE; in ai_cmdtest()
2246 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in ai_cmdtest()
2253 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) in ai_cmdtest()
2256 cmd->stop_src != TRIG_NONE && cmd->stop_src != TRIG_EXT) in ai_cmdtest()
2260 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest()
2263 cmd->stop_src != TRIG_NONE && cmd->stop_src != TRIG_EXT) in ai_cmdtest()
2305 case TRIG_EXT: in ai_cmdtest()
2788 if (cmd->convert_src == TRIG_EXT) in ai_cmd()
[all …]
Dcb_das16_cs.c349 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; in das16cs_ai_cmdtest()
354 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in das16cs_ai_cmdtest()
376 cmd->scan_begin_src != TRIG_EXT) in das16cs_ai_cmdtest()
378 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in das16cs_ai_cmdtest()
Dpcl711.c309 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; in pcl711_ai_cmdtest()
334 cmd->scan_begin_src != TRIG_EXT) in pcl711_ai_cmdtest()
348 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest()
Dni_mio_common.c2177 cmd->start_src &= TRIG_NOW | TRIG_INT | TRIG_EXT; in ni_ai_cmdtest()
2182 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; in ni_ai_cmdtest()
2187 sources = TRIG_TIMER | TRIG_EXT; in ni_ai_cmdtest()
2212 cmd->start_src != TRIG_INT && cmd->start_src != TRIG_EXT) in ni_ai_cmdtest()
2215 cmd->scan_begin_src != TRIG_EXT && in ni_ai_cmdtest()
2219 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) in ni_ai_cmdtest()
2229 if (cmd->start_src == TRIG_EXT) { in ni_ai_cmdtest()
2260 } else if (cmd->scan_begin_src == TRIG_EXT) { in ni_ai_cmdtest()
2294 } else if (cmd->convert_src == TRIG_EXT) { in ni_ai_cmdtest()
2417 case TRIG_EXT: in ni_ai_cmd()
[all …]
Damplc_pci230.c1300 cmd->scan_begin_src &= TRIG_TIMER | TRIG_INT | TRIG_EXT; in pci230_ao_cmdtest()
1369 case TRIG_EXT: in pci230_ao_cmdtest()
1538 case TRIG_EXT: in pci230_ao_start()
1739 | TRIG_EXT; in pci230_ai_cmdtest()
1747 cmd->convert_src &= TRIG_TIMER | TRIG_INT | TRIG_EXT; in pci230_ai_cmdtest()
1835 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest()
1890 if (cmd->scan_begin_src == TRIG_EXT) { in pci230_ai_cmdtest()
2235 case TRIG_EXT: in pci230_ai_start()
2290 case TRIG_EXT: in pci230_ai_start()
Dadv_pci1710.c957 cmd->start_src &= TRIG_NOW | TRIG_EXT; in pci171x_ai_cmdtest()
967 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in pci171x_ai_cmdtest()
993 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) { in pci171x_ai_cmdtest()
1003 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in pci171x_ai_cmdtest()
1132 TRIG_EXT ? 2 : 1, dev, in pci171x_ai_cmd()
1135 if (cmd->convert_src == TRIG_EXT) { /* mode 3 */ in pci171x_ai_cmd()
Dpcm_common.c22 cmd->scan_begin_src &= TRIG_EXT; in comedi_pcm_cmdtest()
Dni_at_a2150.c515 cmd->start_src &= TRIG_NOW | TRIG_EXT; in a2150_ai_cmdtest()
544 if (cmd->start_src != TRIG_NOW && cmd->start_src != TRIG_EXT) in a2150_ai_cmdtest()
724 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
Drtd520.c1742 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT;
1748 cmd->convert_src &= TRIG_TIMER | TRIG_EXT;
1772 cmd->scan_begin_src != TRIG_EXT) {
1775 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT)
2055 case TRIG_EXT:
2077 case TRIG_EXT: /* external */
Ddas16.c785 mask |= TRIG_TIMER | TRIG_EXT; in das16_cmd_test()
791 mask = TRIG_TIMER | TRIG_EXT; in das16_cmd_test()
817 cmd->scan_begin_src != TRIG_EXT && in das16_cmd_test()
821 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) in das16_cmd_test()
1020 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
Dpcl812.c669 cmd->convert_src &= TRIG_EXT; in pcl812_ai_cmdtest()
712 if (cmd->convert_src != TRIG_EXT) { in pcl812_ai_cmdtest()
713 cmd->convert_src = TRIG_EXT; in pcl812_ai_cmdtest()
841 if (cmd->convert_src != TRIG_EXT) in pcl812_ai_cmd()

12