Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/comedi/drivers/
Dni_tiocmd.c134 else if (cmd->start_src == TRIG_EXT) { in ni_tio_input_cmd()
171 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup()
174 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup()
248 sources |= TRIG_EXT; in ni_tio_cmdtest()
252 TRIG_FOLLOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest()
254 TRIG_NOW | TRIG_EXT | TRIG_OTHER); in ni_tio_cmdtest()
283 case TRIG_EXT: in ni_tio_cmdtest()
305 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest()
311 if (cmd->convert_src != TRIG_EXT) in ni_tio_cmdtest()
Dme4000.c712 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test()
714 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test()
716 TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test()
742 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
746 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
750 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
751 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test()
754 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
755 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test()
756 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test()
[all …]
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 …]
Damplc_pci224.c491 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start()
668 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest()
670 TRIG_EXT | TRIG_TIMER); in pci224_ao_cmdtest()
674 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest()
692 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest()
694 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest()
696 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest()
710 case TRIG_EXT: in pci224_ao_cmdtest()
736 case TRIG_EXT: in pci224_ao_cmdtest()
762 case TRIG_EXT: in pci224_ao_cmdtest()
[all …]
Dni_labpc_common.c507 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest()
509 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in labpc_ai_cmdtest()
511 TRIG_TIMER | TRIG_EXT); in labpc_ai_cmdtest()
516 stop_mask |= TRIG_EXT; in labpc_ai_cmdtest()
532 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
544 case TRIG_EXT: in labpc_ai_cmdtest()
635 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd()
673 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd()
727 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd()
735 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd()
[all …]
Ds626.c1075 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1079 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt()
1083 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1087 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1099 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1221 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt()
1734 case TRIG_EXT: in s626_ai_cmd()
1736 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd()
1755 case TRIG_EXT: in s626_ai_cmd()
1757 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd()
[all …]
Ddas1800.c641 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest()
643 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest()
645 TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest()
648 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in das1800_ai_cmdtest()
668 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
864 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
866 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd()
905 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
Dcb_pcidas.c684 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
686 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in cb_pcidas_ai_cmdtest()
688 TRIG_TIMER | TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
708 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest()
709 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest()
721 case TRIG_EXT: in cb_pcidas_ai_cmdtest()
813 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd()
900 TRIG_TIMER | TRIG_EXT); in cb_pcidas_ao_cmdtest()
1069 case TRIG_EXT: in cb_pcidas_ao_cmd()
Ddt2811.c399 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest()
402 TRIG_TIMER | TRIG_EXT); in dt2811_ai_cmdtest()
417 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
Ddas16m1.c174 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest()
177 TRIG_TIMER | TRIG_EXT); in das16m1_ai_cmdtest()
281 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
Dusbduxfast.c361 TRIG_NOW | TRIG_EXT | TRIG_INT); in usbduxfast_ai_cmdtest()
388 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest()
504 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
687 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
737 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
Dcb_pcidas64.c2107 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest()
2120 triggers |= TRIG_EXT; in ai_cmdtest()
2124 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in ai_cmdtest()
2138 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest()
2150 case TRIG_EXT: in ai_cmdtest()
2183 case TRIG_EXT: in ai_cmdtest()
2585 if (cmd->convert_src == TRIG_EXT) in ai_cmd()
2635 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd()
2637 if (cmd->stop_src == TRIG_EXT && CR_CHAN(cmd->stop_arg)) in ai_cmd()
2649 if (cmd->start_src == TRIG_EXT) { in ai_cmd()
[all …]
Damplc_pci230.c907 tmp |= TRIG_EXT; in pci230_ao_cmdtest()
946 case TRIG_EXT: in pci230_ao_cmdtest()
1234 case TRIG_EXT: in pci230_ao_start()
1524 tmp |= TRIG_EXT; in pci230_ai_cmdtest()
1528 TRIG_TIMER | TRIG_INT | TRIG_EXT); in pci230_ai_cmdtest()
1596 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest()
1645 if (cmd->scan_begin_src == TRIG_EXT) { in pci230_ai_cmdtest()
1886 case TRIG_EXT: in pci230_ai_start()
1948 case TRIG_EXT: in pci230_ai_start()
Ddas800.c300 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest()
303 TRIG_TIMER | TRIG_EXT); in das800_ai_do_cmdtest()
395 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
Damplc_pc236_common.c75 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
Dpcl711.c280 TRIG_TIMER | TRIG_EXT); in pcl711_ai_cmdtest()
302 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest()
Drtd520.c697 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest()
699 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest()
935 case TRIG_EXT: in rtd_ai_cmd()
954 case TRIG_EXT: /* external */ in rtd_ai_cmd()
Daio_iiro_16.c108 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()
Dni_mio_common.c2013 TRIG_NOW | TRIG_INT | TRIG_EXT); in ni_ai_cmdtest()
2015 TRIG_TIMER | TRIG_EXT); in ni_ai_cmdtest()
2017 sources = TRIG_TIMER | TRIG_EXT; in ni_ai_cmdtest()
2047 case TRIG_EXT: in ni_ai_cmdtest()
2060 } else if (cmd->scan_begin_src == TRIG_EXT) { in ni_ai_cmdtest()
2080 } else if (cmd->convert_src == TRIG_EXT) { in ni_ai_cmdtest()
2199 case TRIG_EXT: in ni_ai_cmd()
2305 case TRIG_EXT: in ni_ai_cmd()
2346 case TRIG_EXT: in ni_ai_cmd()
2432 case TRIG_EXT: in ni_ai_cmd()
[all …]
Dcomedi_parport.c153 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in parport_intr_cmdtest()
Dni_at_a2150.c401 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest()
544 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
Dadl_pci9111.c246 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in pci9111_ai_do_cmd_test()
248 TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test()
Ddas16.c598 trig_mask |= TRIG_TIMER | TRIG_EXT; in das16_cmd_test()
601 trig_mask = TRIG_TIMER | TRIG_EXT; in das16_cmd_test()
747 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
Daddi_apci_1032.c198 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in apci1032_cos_cmdtest()

12