Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/staging/comedi/drivers/
Dni_tiocmd.c131 else if (cmd->start_src == TRIG_EXT) in ni_tio_input_cmd()
155 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup()
158 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup()
213 sources |= TRIG_EXT; in ni_tio_cmdtest()
217 TRIG_FOLLOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest()
219 TRIG_NOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest()
248 case TRIG_EXT: in ni_tio_cmdtest()
253 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest()
256 if (cmd->convert_src != TRIG_EXT) in ni_tio_cmdtest()
Dme4000.c713 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test()
715 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test()
717 TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test()
743 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
747 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
751 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
752 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test()
755 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
756 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test()
757 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test()
[all …]
Dadl_pci9118.c931 if (cmd->start_src == TRIG_EXT) in pci9118_ai_cmd()
933 if (cmd->stop_src == TRIG_EXT) { in pci9118_ai_cmd()
1036 if (cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmd()
1053 if (cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmd()
1065 cmd->convert_src != TRIG_EXT) { in pci9118_ai_cmd()
1092 cmd->convert_src == TRIG_EXT) { in pci9118_ai_cmd()
1136 if (cmd->start_src == TRIG_EXT || cmd->stop_src == TRIG_EXT) in pci9118_ai_cmd()
1154 TRIG_NOW | TRIG_EXT | TRIG_INT); in pci9118_ai_cmdtest()
1158 flags |= TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest()
1161 flags = TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest()
[all …]
Damplc_pci224.c493 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start()
670 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest()
672 TRIG_EXT | TRIG_TIMER); in pci224_ao_cmdtest()
676 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest()
694 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest()
696 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest()
698 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest()
712 case TRIG_EXT: in pci224_ao_cmdtest()
738 case TRIG_EXT: in pci224_ao_cmdtest()
764 case TRIG_EXT: in pci224_ao_cmdtest()
[all …]
Dni_labpc_common.c508 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest()
510 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in labpc_ai_cmdtest()
512 TRIG_TIMER | TRIG_EXT); in labpc_ai_cmdtest()
517 stop_mask |= TRIG_EXT; in labpc_ai_cmdtest()
533 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
545 case TRIG_EXT: in labpc_ai_cmdtest()
637 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd()
675 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd()
729 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd()
737 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd()
[all …]
Ds626.c1078 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1082 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt()
1086 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1090 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1102 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1224 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt()
1737 case TRIG_EXT: in s626_ai_cmd()
1739 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd()
1758 case TRIG_EXT: in s626_ai_cmd()
1760 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd()
[all …]
Ddas1800.c643 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest()
645 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest()
647 TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest()
650 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in das1800_ai_cmdtest()
670 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
866 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
868 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd()
907 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
Dcb_pcidas.c685 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
687 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in cb_pcidas_ai_cmdtest()
689 TRIG_TIMER | TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
709 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest()
710 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest()
722 case TRIG_EXT: in cb_pcidas_ai_cmdtest()
814 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd()
901 TRIG_TIMER | TRIG_EXT); in cb_pcidas_ao_cmdtest()
1070 case TRIG_EXT: in cb_pcidas_ao_cmd()
Ddt2811.c400 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest()
403 TRIG_TIMER | TRIG_EXT); in dt2811_ai_cmdtest()
418 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
Ddas16m1.c175 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest()
178 TRIG_TIMER | TRIG_EXT); in das16m1_ai_cmdtest()
282 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
Dusbduxfast.c359 TRIG_NOW | TRIG_EXT | TRIG_INT); in usbduxfast_ai_cmdtest()
386 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest()
497 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
680 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
730 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
Dcb_pcidas64.c2113 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest()
2126 triggers |= TRIG_EXT; in ai_cmdtest()
2130 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in ai_cmdtest()
2144 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest()
2156 case TRIG_EXT: in ai_cmdtest()
2189 case TRIG_EXT: in ai_cmdtest()
2591 if (cmd->convert_src == TRIG_EXT) in ai_cmd()
2641 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd()
2643 if (cmd->stop_src == TRIG_EXT && CR_CHAN(cmd->stop_arg)) in ai_cmd()
2655 if (cmd->start_src == TRIG_EXT) { in ai_cmd()
[all …]
Damplc_pci230.c909 tmp |= TRIG_EXT; in pci230_ao_cmdtest()
948 case TRIG_EXT: in pci230_ao_cmdtest()
1236 case TRIG_EXT: in pci230_ao_start()
1526 tmp |= TRIG_EXT; in pci230_ai_cmdtest()
1530 TRIG_TIMER | TRIG_INT | TRIG_EXT); in pci230_ai_cmdtest()
1598 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest()
1647 if (cmd->scan_begin_src == TRIG_EXT) { in pci230_ai_cmdtest()
1888 case TRIG_EXT: in pci230_ai_start()
1950 case TRIG_EXT: in pci230_ai_start()
Ddas800.c302 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest()
305 TRIG_TIMER | TRIG_EXT); in das800_ai_do_cmdtest()
397 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
Damplc_pc236_common.c76 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
Dpcl711.c282 TRIG_TIMER | TRIG_EXT); in pcl711_ai_cmdtest()
304 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest()
Drtd520.c698 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest()
700 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest()
937 case TRIG_EXT: in rtd_ai_cmd()
956 case TRIG_EXT: /* external */ in rtd_ai_cmd()
Daio_iiro_16.c109 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in aio_iiro_16_cos_cmdtest()
Dadv_pci1710.c541 if (cmd->start_src == TRIG_EXT) { in pci1710_ai_cmd()
571 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in pci1710_ai_cmdtest()
574 TRIG_TIMER | TRIG_EXT); in pci1710_ai_cmdtest()
Dni_mio_common.c2015 TRIG_NOW | TRIG_INT | TRIG_EXT); in ni_ai_cmdtest()
2017 TRIG_TIMER | TRIG_EXT); in ni_ai_cmdtest()
2019 sources = TRIG_TIMER | TRIG_EXT; in ni_ai_cmdtest()
2049 case TRIG_EXT: in ni_ai_cmdtest()
2065 } else if (cmd->scan_begin_src == TRIG_EXT) { in ni_ai_cmdtest()
2088 } else if (cmd->convert_src == TRIG_EXT) { in ni_ai_cmdtest()
2208 case TRIG_EXT: in ni_ai_cmd()
2311 case TRIG_EXT: in ni_ai_cmd()
2348 case TRIG_EXT: in ni_ai_cmd()
2431 case TRIG_EXT: in ni_ai_cmd()
[all …]
Dcomedi_parport.c154 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in parport_intr_cmdtest()
Dadl_pci9111.c247 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in pci9111_ai_do_cmd_test()
249 TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test()
Dni_at_a2150.c403 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest()
546 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
Ddas16.c600 trig_mask |= TRIG_TIMER | TRIG_EXT; in das16_cmd_test()
603 trig_mask = TRIG_TIMER | TRIG_EXT; in das16_cmd_test()
749 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
Daddi_apci_1032.c190 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in apci1032_cos_cmdtest()

12