Home
last modified time | relevance | path

Searched refs:convert_src (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.1.9/drivers/comedi/drivers/
Dme4000.c715 err |= comedi_check_trigger_src(&cmd->convert_src, in me4000_ai_do_cmd_test()
728 err |= comedi_check_trigger_is_unique(cmd->convert_src); in me4000_ai_do_cmd_test()
736 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
740 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
744 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
748 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
752 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
756 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test()
804 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
826 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
[all …]
Ddt2811.c273 if (cmd->convert_src == TRIG_TIMER) { in dt2811_ai_cmd()
401 err |= comedi_check_trigger_src(&cmd->convert_src, in dt2811_ai_cmdtest()
412 err |= comedi_check_trigger_is_unique(cmd->convert_src); in dt2811_ai_cmdtest()
417 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
427 if (cmd->convert_src == TRIG_TIMER) in dt2811_ai_cmdtest()
441 if (cmd->convert_src == TRIG_TIMER) { in dt2811_ai_cmdtest()
Dadl_pci9118.c546 if (cmd->convert_src == TRIG_NOW && !chnsshfront) { in pci9118_calc_divisors()
951 if (cmd->convert_src == TRIG_NOW) in pci9118_ai_cmd()
953 if (cmd->convert_src == TRIG_TIMER) { in pci9118_ai_cmd()
984 if (cmd->convert_src == TRIG_NOW && devpriv->softsshdelay) { in pci9118_ai_cmd()
1033 cmd->convert_src == TRIG_TIMER) { in pci9118_ai_cmd()
1064 cmd->convert_src != TRIG_EXT) { in pci9118_ai_cmd()
1084 if (cmd->convert_src == TRIG_NOW && !devpriv->softsshdelay) in pci9118_ai_cmd()
1091 cmd->convert_src == TRIG_EXT) { in pci9118_ai_cmd()
1163 err |= comedi_check_trigger_src(&cmd->convert_src, flags); in pci9118_ai_cmdtest()
1176 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci9118_ai_cmdtest()
[all …]
Dcomedi_test.c257 err |= comedi_check_trigger_src(&cmd->convert_src, in waveform_ai_cmdtest()
267 err |= comedi_check_trigger_is_unique(cmd->convert_src); in waveform_ai_cmdtest()
272 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in waveform_ai_cmdtest()
282 if (cmd->convert_src == TRIG_NOW) { in waveform_ai_cmdtest()
312 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest()
333 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest()
360 if (cmd->convert_src == TRIG_NOW) in waveform_ai_cmd()
536 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in waveform_ao_cmdtest()
Dni_tiocmd.c174 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup()
253 err |= comedi_check_trigger_src(&cmd->convert_src, in ni_tio_cmdtest()
265 err |= comedi_check_trigger_is_unique(cmd->convert_src); in ni_tio_cmdtest()
269 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest()
311 if (cmd->convert_src != TRIG_EXT) in ni_tio_cmdtest()
Ddas16m1.c176 err |= comedi_check_trigger_src(&cmd->convert_src, in das16m1_ai_cmdtest()
187 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das16m1_ai_cmdtest()
202 if (cmd->convert_src == TRIG_TIMER) in das16m1_ai_cmdtest()
218 if (cmd->convert_src == TRIG_TIMER) { in das16m1_ai_cmdtest()
267 if (cmd->convert_src == TRIG_TIMER) { in das16m1_ai_cmd()
281 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
Dquatech_daqp_cs.c383 err |= comedi_check_trigger_src(&cmd->convert_src, in daqp_ai_cmdtest()
394 err |= comedi_check_trigger_is_unique(cmd->convert_src); in daqp_ai_cmdtest()
400 if (cmd->scan_begin_src != TRIG_TIMER && cmd->convert_src != TRIG_TIMER) in daqp_ai_cmdtest()
418 if (cmd->convert_src == TRIG_TIMER) { in daqp_ai_cmdtest()
445 if (cmd->convert_src == TRIG_TIMER) { in daqp_ai_cmdtest()
492 if (cmd->convert_src == TRIG_TIMER) in daqp_ai_cmd()
Dadl_pci9111.c247 err |= comedi_check_trigger_src(&cmd->convert_src, in pci9111_ai_do_cmd_test()
259 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci9111_ai_do_cmd_test()
265 if (cmd->scan_begin_src != cmd->convert_src) in pci9111_ai_do_cmd_test()
276 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
303 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
358 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd()
Dcb_pcidas.c687 err |= comedi_check_trigger_src(&cmd->convert_src, in cb_pcidas_ai_cmdtest()
699 err |= comedi_check_trigger_is_unique(cmd->convert_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()
742 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
765 if (cmd->convert_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()
821 cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmd()
831 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) { in cb_pcidas_ai_cmd()
[all …]
Dni_labpc_common.c283 if (cmd->convert_src != TRIG_TIMER) in labpc_ai_convert_period()
295 if (cmd->convert_src != TRIG_TIMER) in labpc_set_ai_convert_period()
314 if (mode == MODE_SINGLE_CHAN && cmd->convert_src == TRIG_TIMER) in labpc_ai_scan_period()
326 if (mode == MODE_SINGLE_CHAN && cmd->convert_src == TRIG_TIMER) in labpc_set_ai_scan_period()
510 err |= comedi_check_trigger_src(&cmd->convert_src, in labpc_ai_cmdtest()
526 err |= comedi_check_trigger_is_unique(cmd->convert_src); in labpc_ai_cmdtest()
554 if (cmd->convert_src == TRIG_TIMER) { in labpc_ai_cmdtest()
561 if (cmd->convert_src == TRIG_TIMER) { in labpc_ai_cmdtest()
691 if (cmd->convert_src == TRIG_TIMER || in labpc_ai_cmd()
727 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd()
Ddas16.c604 err |= comedi_check_trigger_src(&cmd->convert_src, trig_mask); in das16_cmd_test()
615 err |= comedi_check_trigger_is_unique(cmd->convert_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()
646 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
665 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
723 if (cmd->convert_src == TRIG_NOW) { in das16_cmd_exec()
747 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
Ddas800.c302 err |= comedi_check_trigger_src(&cmd->convert_src, in das800_ai_do_cmdtest()
313 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das800_ai_do_cmdtest()
325 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest()
344 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest()
397 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmd()
Dpcl816.c342 err |= comedi_check_trigger_src(&cmd->convert_src, in pcl816_ai_cmdtest()
352 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pcl816_ai_cmdtest()
365 if (cmd->convert_src == TRIG_TIMER) in pcl816_ai_cmdtest()
382 if (cmd->convert_src == TRIG_TIMER) { in pcl816_ai_cmdtest()
436 if (cmd->convert_src == TRIG_TIMER) in pcl816_ai_cmd()
Ddas1800.c644 err |= comedi_check_trigger_src(&cmd->convert_src, in das1800_ai_cmdtest()
657 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das1800_ai_cmdtest()
664 cmd->convert_src != TRIG_TIMER) in das1800_ai_cmdtest()
680 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmdtest()
705 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmdtest()
757 if (cmd->convert_src == TRIG_TIMER) in das1800_ai_transfer_size()
879 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmd()
899 cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmd()
Damplc_pci230.c911 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in pci230_ao_cmdtest()
1527 err |= comedi_check_trigger_src(&cmd->convert_src, in pci230_ai_cmdtest()
1539 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci230_ai_cmdtest()
1549 cmd->convert_src != TRIG_TIMER) in pci230_ai_cmdtest()
1568 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_cmdtest()
1596 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest()
1676 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_cmdtest()
1824 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_stop()
1878 switch (cmd->convert_src) { in pci230_ai_start()
1916 if (cmd->convert_src == TRIG_INT) in pci230_ai_start()
[all …]
Ds626.c1087 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1093 if (cmd->convert_src == TRIG_TIMER) { in s626_handle_dio_interrupt()
1099 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1164 if (cmd->convert_src == TRIG_TIMER) { in s626_check_counter_interrupts()
1180 if (cmd->convert_src == TRIG_TIMER) { in s626_check_counter_interrupts()
1384 if (cmd->convert_src != TRIG_NOW) { in s626_reset_adc()
1741 switch (cmd->convert_src) { in s626_ai_cmd()
1802 err |= comedi_check_trigger_src(&cmd->convert_src, in s626_ai_cmdtest()
1814 err |= comedi_check_trigger_is_unique(cmd->convert_src); in s626_ai_cmdtest()
1836 if (cmd->convert_src == TRIG_EXT) in s626_ai_cmdtest()
[all …]
Dpcl818.c642 err |= comedi_check_trigger_src(&cmd->convert_src, in ai_cmdtest()
652 err |= comedi_check_trigger_is_unique(cmd->convert_src); in ai_cmdtest()
665 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
685 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
727 if (cmd->convert_src == TRIG_TIMER) in pcl818_ai_cmd()
749 if (cmd->convert_src == TRIG_TIMER) { in pcl818_ai_cmd()
Ddt3000.c387 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_TIMER); in dt3k_ai_cmdtest()
408 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
434 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
470 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmd()
Dadv_pci1710.c536 if (cmd->convert_src == TRIG_TIMER) { in pci1710_ai_cmd()
572 err |= comedi_check_trigger_src(&cmd->convert_src, in pci1710_ai_cmdtest()
583 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci1710_ai_cmdtest()
596 if (cmd->convert_src == TRIG_TIMER) in pci1710_ai_cmdtest()
614 if (cmd->convert_src == TRIG_TIMER) { in pci1710_ai_cmdtest()
Drtd520.c698 err |= comedi_check_trigger_src(&cmd->convert_src, in rtd_ai_cmdtest()
709 err |= comedi_check_trigger_is_unique(cmd->convert_src); in rtd_ai_cmdtest()
757 if (cmd->convert_src == TRIG_TIMER) { in rtd_ai_cmdtest()
810 if (cmd->convert_src == TRIG_TIMER) { in rtd_ai_cmdtest()
942 switch (cmd->convert_src) { in rtd_ai_cmd()
Dpcl812.c646 err |= comedi_check_trigger_src(&cmd->convert_src, flags); in pcl812_ai_cmdtest()
668 if (cmd->convert_src == TRIG_TIMER) { in pcl812_ai_cmdtest()
689 if (cmd->convert_src == TRIG_TIMER) { in pcl812_ai_cmdtest()
741 switch (cmd->convert_src) { in pcl812_ai_cmd()
Dni_labpc_isadma.c33 if (cmd->convert_src == TRIG_TIMER) in labpc_suggest_transfer_size()
Damplc_pc236_common.c76 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in pc236_intr_cmdtest()
Daio_iiro_16.c109 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in aio_iiro_16_cos_cmdtest()
Dcb_pcidas64.c2022 if (cmd->convert_src == TRIG_TIMER) { in check_adc_timing()
2034 } else if (cmd->convert_src == TRIG_NOW) { in check_adc_timing()
2040 if (cmd->convert_src == TRIG_TIMER) { in check_adc_timing()
2121 err |= comedi_check_trigger_src(&cmd->convert_src, triggers); in ai_cmdtest()
2133 err |= comedi_check_trigger_is_unique(cmd->convert_src); in ai_cmdtest()
2138 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest()
2158 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
2200 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
2585 if (cmd->convert_src == TRIG_EXT) in ai_cmd()
3345 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in ao_cmdtest()
[all …]

123