Home
last modified time | relevance | path

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

12

/drivers/staging/comedi/drivers/
Dni_tiocmd.c140 else if (cmd->start_src == TRIG_EXT) in ni_tio_input_cmd()
164 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup()
167 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup()
222 sources |= TRIG_EXT; in ni_tio_cmdtest()
226 TRIG_FOLLOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest()
228 TRIG_NOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest()
257 case TRIG_EXT: in ni_tio_cmdtest()
262 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest()
265 if (cmd->convert_src != TRIG_EXT) in ni_tio_cmdtest()
Dadl_pci9118.c930 if (cmd->start_src == TRIG_EXT) in pci9118_ai_cmd()
932 if (cmd->stop_src == TRIG_EXT) { in pci9118_ai_cmd()
1035 if (cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmd()
1052 if (cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmd()
1064 cmd->convert_src != TRIG_EXT) { in pci9118_ai_cmd()
1091 cmd->convert_src == TRIG_EXT) { in pci9118_ai_cmd()
1135 if (cmd->start_src == TRIG_EXT || cmd->stop_src == TRIG_EXT) in pci9118_ai_cmd()
1153 TRIG_NOW | TRIG_EXT | TRIG_INT); in pci9118_ai_cmdtest()
1157 flags |= TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest()
1160 flags = TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest()
[all …]
Dme4000.c722 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test()
724 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test()
726 TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test()
752 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
756 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
760 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
761 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test()
764 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
765 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test()
766 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test()
[all …]
Damplc_pci224.c496 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start()
673 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest()
675 TRIG_EXT | TRIG_TIMER); in pci224_ao_cmdtest()
679 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest()
697 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest()
699 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest()
701 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest()
715 case TRIG_EXT: in pci224_ao_cmdtest()
741 case TRIG_EXT: in pci224_ao_cmdtest()
767 case TRIG_EXT: in pci224_ao_cmdtest()
[all …]
Dni_labpc_common.c517 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest()
519 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in labpc_ai_cmdtest()
521 TRIG_TIMER | TRIG_EXT); in labpc_ai_cmdtest()
526 stop_mask |= TRIG_EXT; in labpc_ai_cmdtest()
542 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
554 case TRIG_EXT: in labpc_ai_cmdtest()
646 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd()
684 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd()
738 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd()
746 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd()
[all …]
Ds626.c1076 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1080 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt()
1084 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1088 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1100 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1222 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt()
1736 case TRIG_EXT: in s626_ai_cmd()
1738 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd()
1757 case TRIG_EXT: in s626_ai_cmd()
1759 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd()
[all …]
Ddas1800.c652 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest()
654 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest()
656 TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest()
659 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in das1800_ai_cmdtest()
679 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
875 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
877 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd()
916 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
Dcb_pcidas.c694 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
696 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in cb_pcidas_ai_cmdtest()
698 TRIG_TIMER | TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
718 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest()
719 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest()
731 case TRIG_EXT: in cb_pcidas_ai_cmdtest()
823 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd()
910 TRIG_TIMER | TRIG_EXT); in cb_pcidas_ao_cmdtest()
1079 case TRIG_EXT: in cb_pcidas_ao_cmd()
Ddt2811.c409 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest()
412 TRIG_TIMER | TRIG_EXT); in dt2811_ai_cmdtest()
427 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
Ddas16m1.c184 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest()
187 TRIG_TIMER | TRIG_EXT); in das16m1_ai_cmdtest()
291 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
Dusbduxfast.c368 TRIG_NOW | TRIG_EXT | TRIG_INT); in usbduxfast_ai_cmdtest()
395 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest()
506 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
689 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
739 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
Dcb_pcidas64.c2125 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest()
2138 triggers |= TRIG_EXT; in ai_cmdtest()
2142 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in ai_cmdtest()
2156 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest()
2168 case TRIG_EXT: in ai_cmdtest()
2201 case TRIG_EXT: in ai_cmdtest()
2602 if (cmd->convert_src == TRIG_EXT) in ai_cmd()
2652 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd()
2654 if (cmd->stop_src == TRIG_EXT && CR_CHAN(cmd->stop_arg)) in ai_cmd()
2666 if (cmd->start_src == TRIG_EXT) { in ai_cmd()
[all …]
Damplc_pci230.c916 tmp |= TRIG_EXT; in pci230_ao_cmdtest()
955 case TRIG_EXT: in pci230_ao_cmdtest()
1243 case TRIG_EXT: in pci230_ao_start()
1533 tmp |= TRIG_EXT; in pci230_ai_cmdtest()
1537 TRIG_TIMER | TRIG_INT | TRIG_EXT); in pci230_ai_cmdtest()
1605 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest()
1654 if (cmd->scan_begin_src == TRIG_EXT) { in pci230_ai_cmdtest()
1895 case TRIG_EXT: in pci230_ai_start()
1957 case TRIG_EXT: in pci230_ai_start()
Ddas800.c311 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest()
314 TRIG_TIMER | TRIG_EXT); in das800_ai_do_cmdtest()
406 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
Drtd520.c707 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest()
709 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest()
946 case TRIG_EXT: in rtd_ai_cmd()
965 case TRIG_EXT: /* external */ in rtd_ai_cmd()
Dpcl711.c291 TRIG_TIMER | TRIG_EXT); in pcl711_ai_cmdtest()
313 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest()
Dni_mio_common.c2022 TRIG_NOW | TRIG_INT | TRIG_EXT); in ni_ai_cmdtest()
2024 TRIG_TIMER | TRIG_EXT); in ni_ai_cmdtest()
2026 sources = TRIG_TIMER | TRIG_EXT; in ni_ai_cmdtest()
2056 case TRIG_EXT: in ni_ai_cmdtest()
2072 } else if (cmd->scan_begin_src == TRIG_EXT) { in ni_ai_cmdtest()
2095 } else if (cmd->convert_src == TRIG_EXT) { in ni_ai_cmdtest()
2215 case TRIG_EXT: in ni_ai_cmd()
2318 case TRIG_EXT: in ni_ai_cmd()
2355 case TRIG_EXT: in ni_ai_cmd()
2438 case TRIG_EXT: in ni_ai_cmd()
[all …]
Damplc_pc236_common.c85 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
Daio_iiro_16.c118 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in aio_iiro_16_cos_cmdtest()
Dadv_pci1710.c540 if (cmd->start_src == TRIG_EXT) { in pci1710_ai_cmd()
570 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in pci1710_ai_cmdtest()
573 TRIG_TIMER | TRIG_EXT); in pci1710_ai_cmdtest()
Ddas16.c608 trig_mask |= TRIG_TIMER | TRIG_EXT; in das16_cmd_test()
611 trig_mask = TRIG_TIMER | TRIG_EXT; in das16_cmd_test()
757 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
Dcomedi_parport.c163 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in parport_intr_cmdtest()
Dadl_pci9111.c256 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in pci9111_ai_do_cmd_test()
258 TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test()
Dni_at_a2150.c412 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest()
555 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
Daddi_apci_1032.c199 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in apci1032_cos_cmdtest()

12