Home
last modified time | relevance | path

Searched refs:scan_begin_src (Results 1 – 25 of 54) sorted by relevance

123

/linux/drivers/comedi/drivers/
H A Damplc_pci230.c909 err |= comedi_check_trigger_src(&cmd->scan_begin_src, tmp); in pci230_ao_cmdtest()
920 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci230_ao_cmdtest()
939 switch (cmd->scan_begin_src) { in pci230_ao_cmdtest()
986 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmdtest()
1022 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_stop()
1230 switch (cmd->scan_begin_src) { in pci230_ao_start()
1256 switch (cmd->scan_begin_src) { in pci230_ao_start()
1308 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd()
1351 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd()
1526 err |= comedi_check_trigger_src(&cmd->scan_begin_src, tmp); in pci230_ai_cmdtest()
[all …]
H A Dadl_pci9118.c964 if (cmd->scan_begin_src == TRIG_FOLLOW) { in pci9118_ai_cmd()
1032 if (cmd->scan_begin_src != TRIG_TIMER && 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()
1063 if (cmd->scan_begin_src == TRIG_TIMER && in pci9118_ai_cmd()
1090 if (cmd->scan_begin_src == TRIG_FOLLOW && in pci9118_ai_cmd()
1158 err |= comedi_check_trigger_src(&cmd->scan_begin_src, flags); in pci9118_ai_cmdtest()
1175 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci9118_ai_cmdtest()
1181 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmdtest()
1184 if ((cmd->scan_begin_src & (TRIG_TIMER | TRIG_EXT)) && in pci9118_ai_cmdtest()
[all …]
H A Dme4000.c713 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in me4000_ai_do_cmd_test()
727 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in me4000_ai_do_cmd_test()
735 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test()
739 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test()
743 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test()
747 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test()
751 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test()
755 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test()
803 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test()
825 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test()
[all …]
H A Dcb_pcidas.c685 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in cb_pcidas_ai_cmdtest()
698 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in cb_pcidas_ai_cmdtest()
704 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in cb_pcidas_ai_cmdtest()
706 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in cb_pcidas_ai_cmdtest()
709 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest()
736 if (cmd->scan_begin_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
760 if (cmd->scan_begin_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
813 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd()
820 if (cmd->scan_begin_src == TRIG_TIMER || in cb_pcidas_ai_cmd()
899 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in cb_pcidas_ao_cmdtest()
[all …]
H A Dni_tiocmd.c171 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup()
251 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in ni_tio_cmdtest()
264 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ni_tio_cmdtest()
269 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest()
305 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest()
H A Dadl_pci9111.c245 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pci9111_ai_do_cmd_test()
258 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci9111_ai_do_cmd_test()
264 if (cmd->scan_begin_src != TRIG_FOLLOW) { in pci9111_ai_do_cmd_test()
265 if (cmd->scan_begin_src != cmd->convert_src) in pci9111_ai_do_cmd_test()
283 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
313 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
368 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd()
H A Dcomedi_test.c263 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in waveform_ai_cmdtest()
280 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in waveform_ai_cmdtest()
293 if (cmd->scan_begin_src == TRIG_FOLLOW) { in waveform_ai_cmdtest()
299 if (cmd->scan_begin_src == TRIG_FOLLOW) { in waveform_ai_cmdtest()
335 if (cmd->scan_begin_src == TRIG_TIMER) { in waveform_ai_cmdtest()
373 if (cmd->scan_begin_src == TRIG_FOLLOW) { in waveform_ai_cmd()
388 if (cmd->scan_begin_src == TRIG_TIMER) in waveform_ai_cmd()
556 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in waveform_ao_cmdtest()
H A Dpcl711.c279 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pcl711_ai_cmdtest()
290 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pcl711_ai_cmdtest()
302 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest()
324 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmdtest()
343 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmd()
H A Ddas1800.c599 if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_fixup_burst_timing()
642 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in das1800_ai_cmdtest()
656 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in das1800_ai_cmdtest()
663 if (cmd->scan_begin_src != TRIG_FOLLOW && in das1800_ai_cmdtest()
706 if (cmd->scan_begin_src == TRIG_FOLLOW) in das1800_ai_cmdtest()
755 switch (cmd->scan_begin_src) { in das1800_ai_transfer_size()
877 if (cmd->scan_begin_src == TRIG_FOLLOW) { in das1800_ai_cmd()
886 } else if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_cmd()
897 if ((cmd->scan_begin_src == TRIG_FOLLOW || in das1800_ai_cmd()
898 cmd->scan_begin_src == TRIG_TIMER) && in das1800_ai_cmd()
H A Dquatech_daqp_cs.c381 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in daqp_ai_cmdtest()
393 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in daqp_ai_cmdtest()
400 if (cmd->scan_begin_src != TRIG_TIMER && cmd->convert_src != TRIG_TIMER) in daqp_ai_cmdtest()
414 if (cmd->scan_begin_src == TRIG_TIMER) in daqp_ai_cmdtest()
422 if (cmd->scan_begin_src == TRIG_TIMER) { in daqp_ai_cmdtest()
449 } else if (cmd->scan_begin_src == TRIG_TIMER) { in daqp_ai_cmdtest()
H A Dni_labpc_common.c279 if (mode == MODE_SINGLE_CHAN || cmd->scan_begin_src == TRIG_FOLLOW) in labpc_use_continuous_mode()
291 if (mode == MODE_SINGLE_CHAN && cmd->scan_begin_src == TRIG_TIMER) in labpc_ai_convert_period()
304 cmd->scan_begin_src == TRIG_TIMER) { in labpc_set_ai_convert_period()
316 if (cmd->scan_begin_src != TRIG_TIMER) in labpc_ai_scan_period()
328 if (cmd->scan_begin_src != TRIG_TIMER) in labpc_set_ai_scan_period()
513 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in labpc_ai_cmdtest()
530 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in labpc_ai_cmdtest()
565 if (cmd->scan_begin_src == TRIG_TIMER) { in labpc_ai_cmdtest()
697 cmd->scan_begin_src == TRIG_TIMER) { in labpc_ai_cmd()
740 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd()
H A Damplc_pci224.c587 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_handle_fifo()
669 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pci224_ao_cmdtest()
682 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci224_ao_cmdtest()
694 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest()
726 switch (cmd->scan_begin_src) { in pci224_ao_cmdtest()
785 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmdtest()
881 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmd()
H A Ds626.c1079 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt()
1083 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1175 if (cmd->scan_begin_src == TRIG_TIMER) { in s626_check_counter_interrupts()
1221 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt()
1296 if (cmd->scan_begin_src != TRIG_FOLLOW) { in s626_reset_adc()
1720 switch (cmd->scan_begin_src) { in s626_ai_cmd()
1757 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd()
1800 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in s626_ai_cmdtest()
1813 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in s626_ai_cmdtest()
1834 if (cmd->scan_begin_src == TRIG_EXT) in s626_ai_cmdtest()
[all …]
H A Ddt3000.c386 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in dt3k_ai_cmdtest()
401 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
428 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
439 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
476 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmd()
H A Drtd520.c696 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in rtd_ai_cmdtest()
708 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in rtd_ai_cmdtest()
721 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest()
804 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest()
815 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest()
863 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmd()
926 switch (cmd->scan_begin_src) { in rtd_ai_cmd()
H A Ddas16.c599 err |= comedi_check_trigger_src(&cmd->scan_begin_src, trig_mask); in das16_cmd_test()
614 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in das16_cmd_test()
621 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in das16_cmd_test()
623 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in das16_cmd_test()
633 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in das16_cmd_test()
640 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test()
660 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test()
H A Daddi_apci_3120.c558 if (cmd->scan_begin_src == TRIG_TIMER) { in apci3120_ai_cmd()
585 if (cmd->scan_begin_src == TRIG_TIMER) in apci3120_ai_cmd()
602 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in apci3120_ai_cmdtest()
614 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in apci3120_ai_cmdtest()
626 if (cmd->scan_begin_src == TRIG_TIMER) { /* Test Delay timing */ in apci3120_ai_cmdtest()
648 if (cmd->scan_begin_src == TRIG_TIMER) { in apci3120_ai_cmdtest()
H A Dni_pcidio.c536 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in ni_pcidio_cmdtest()
548 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ni_pcidio_cmdtest()
562 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmdtest()
589 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmdtest()
639 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmd()
H A Ddt282x.c640 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in dt282x_ai_cmdtest()
651 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in dt282x_ai_cmdtest()
700 if (cmd->scan_begin_src == TRIG_FOLLOW) in dt282x_ai_cmd()
736 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmd()
806 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in dt282x_ao_cmdtest()
H A Dusbdux.c515 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in usbdux_ai_cmdtest()
537 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in usbdux_ai_cmdtest()
540 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ai_cmdtest()
883 err |= comedi_check_trigger_src(&cmd->scan_begin_src, flags); in usbdux_ao_cmdtest()
920 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in usbdux_ao_cmdtest()
923 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ao_cmdtest()
H A Dni_atmio16d.c242 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in atmio16d_ai_cmdtest()
253 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in atmio16d_ai_cmdtest()
265 if (cmd->scan_begin_src == TRIG_FOLLOW) { in atmio16d_ai_cmdtest()
H A Damplc_pc236_common.c75 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
H A Daio_iiro_16.c108 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in aio_iiro_16_cos_cmdtest()
H A Ddas16m1.c175 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_FOLLOW); in das16m1_ai_cmdtest()
199 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in das16m1_ai_cmdtest()
H A Dni_mio_common.c2029 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in ni_ai_cmdtest()
2046 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ni_ai_cmdtest()
2069 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_ai_cmdtest()
2075 } else if (cmd->scan_begin_src == TRIG_EXT) { in ni_ai_cmdtest()
2124 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_ai_cmdtest()
2144 if (cmd->scan_begin_src == TRIG_TIMER && in ni_ai_cmdtest()
2290 switch (cmd->scan_begin_src) { in ni_ai_cmd()
2325 if (cmd->scan_begin_src != cmd->convert_src || in ni_ai_cmd()
2439 switch (cmd->scan_begin_src) { in ni_ai_cmd()
3107 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_ao_cmd_set_update()
[all …]

123