Home
last modified time | relevance | path

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

123

/drivers/staging/comedi/drivers/
Dme4000.c716 err |= comedi_check_trigger_src(&cmd->convert_src, in me4000_ai_do_cmd_test()
729 err |= comedi_check_trigger_is_unique(cmd->convert_src); in me4000_ai_do_cmd_test()
737 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
741 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
745 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
749 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
753 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
757 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test()
805 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
827 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
[all …]
Dadl_pci9118.c547 if (cmd->convert_src == TRIG_NOW && !chnsshfront) { in pci9118_calc_divisors()
952 if (cmd->convert_src == TRIG_NOW) in pci9118_ai_cmd()
954 if (cmd->convert_src == TRIG_TIMER) { in pci9118_ai_cmd()
985 if (cmd->convert_src == TRIG_NOW && devpriv->softsshdelay) { in pci9118_ai_cmd()
1034 cmd->convert_src == TRIG_TIMER) { in pci9118_ai_cmd()
1065 cmd->convert_src != TRIG_EXT) { in pci9118_ai_cmd()
1085 if (cmd->convert_src == TRIG_NOW && !devpriv->softsshdelay) in pci9118_ai_cmd()
1092 cmd->convert_src == TRIG_EXT) { in pci9118_ai_cmd()
1164 err |= comedi_check_trigger_src(&cmd->convert_src, flags); in pci9118_ai_cmdtest()
1177 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci9118_ai_cmdtest()
[all …]
Ddt2811.c274 if (cmd->convert_src == TRIG_TIMER) { in dt2811_ai_cmd()
402 err |= comedi_check_trigger_src(&cmd->convert_src, in dt2811_ai_cmdtest()
413 err |= comedi_check_trigger_is_unique(cmd->convert_src); in dt2811_ai_cmdtest()
418 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
428 if (cmd->convert_src == TRIG_TIMER) in dt2811_ai_cmdtest()
442 if (cmd->convert_src == TRIG_TIMER) { in dt2811_ai_cmdtest()
Dcomedi_test.c259 err |= comedi_check_trigger_src(&cmd->convert_src, in waveform_ai_cmdtest()
269 err |= comedi_check_trigger_is_unique(cmd->convert_src); in waveform_ai_cmdtest()
274 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in waveform_ai_cmdtest()
284 if (cmd->convert_src == TRIG_NOW) { in waveform_ai_cmdtest()
314 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest()
335 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest()
362 if (cmd->convert_src == TRIG_NOW) in waveform_ai_cmd()
538 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.c177 err |= comedi_check_trigger_src(&cmd->convert_src, in das16m1_ai_cmdtest()
188 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das16m1_ai_cmdtest()
203 if (cmd->convert_src == TRIG_TIMER) in das16m1_ai_cmdtest()
219 if (cmd->convert_src == TRIG_TIMER) { in das16m1_ai_cmdtest()
268 if (cmd->convert_src == TRIG_TIMER) { in das16m1_ai_cmd()
282 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
Dcb_pcidas.c688 err |= comedi_check_trigger_src(&cmd->convert_src, in cb_pcidas_ai_cmdtest()
700 err |= comedi_check_trigger_is_unique(cmd->convert_src); in cb_pcidas_ai_cmdtest()
705 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in cb_pcidas_ai_cmdtest()
707 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in cb_pcidas_ai_cmdtest()
710 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest()
743 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
766 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
814 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd()
822 cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmd()
832 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) { in cb_pcidas_ai_cmd()
[all …]
Dadl_pci9111.c248 err |= comedi_check_trigger_src(&cmd->convert_src, in pci9111_ai_do_cmd_test()
260 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci9111_ai_do_cmd_test()
266 if (cmd->scan_begin_src != cmd->convert_src) in pci9111_ai_do_cmd_test()
277 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
304 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
359 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd()
Dquatech_daqp_cs.c384 err |= comedi_check_trigger_src(&cmd->convert_src, in daqp_ai_cmdtest()
395 err |= comedi_check_trigger_is_unique(cmd->convert_src); in daqp_ai_cmdtest()
401 if (cmd->scan_begin_src != TRIG_TIMER && cmd->convert_src != TRIG_TIMER) in daqp_ai_cmdtest()
419 if (cmd->convert_src == TRIG_TIMER) { in daqp_ai_cmdtest()
446 if (cmd->convert_src == TRIG_TIMER) { in daqp_ai_cmdtest()
493 if (cmd->convert_src == TRIG_TIMER) in daqp_ai_cmd()
Dni_labpc_common.c284 if (cmd->convert_src != TRIG_TIMER) in labpc_ai_convert_period()
296 if (cmd->convert_src != TRIG_TIMER) in labpc_set_ai_convert_period()
315 if (mode == MODE_SINGLE_CHAN && cmd->convert_src == TRIG_TIMER) in labpc_ai_scan_period()
327 if (mode == MODE_SINGLE_CHAN && cmd->convert_src == TRIG_TIMER) in labpc_set_ai_scan_period()
511 err |= comedi_check_trigger_src(&cmd->convert_src, in labpc_ai_cmdtest()
527 err |= comedi_check_trigger_is_unique(cmd->convert_src); in labpc_ai_cmdtest()
555 if (cmd->convert_src == TRIG_TIMER) { in labpc_ai_cmdtest()
562 if (cmd->convert_src == TRIG_TIMER) { in labpc_ai_cmdtest()
692 if (cmd->convert_src == TRIG_TIMER || in labpc_ai_cmd()
728 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd()
Ddas16.c606 err |= comedi_check_trigger_src(&cmd->convert_src, trig_mask); in das16_cmd_test()
617 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das16_cmd_test()
623 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in das16_cmd_test()
625 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in das16_cmd_test()
648 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
667 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
725 if (cmd->convert_src == TRIG_NOW) { in das16_cmd_exec()
749 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
Ddas800.c304 err |= comedi_check_trigger_src(&cmd->convert_src, in das800_ai_do_cmdtest()
315 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das800_ai_do_cmdtest()
327 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest()
346 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest()
399 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmd()
Damplc_pci230.c913 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in pci230_ao_cmdtest()
1529 err |= comedi_check_trigger_src(&cmd->convert_src, in pci230_ai_cmdtest()
1541 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci230_ai_cmdtest()
1551 cmd->convert_src != TRIG_TIMER) in pci230_ai_cmdtest()
1570 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_cmdtest()
1598 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest()
1678 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_cmdtest()
1826 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_stop()
1880 switch (cmd->convert_src) { in pci230_ai_start()
1918 if (cmd->convert_src == TRIG_INT) in pci230_ai_start()
[all …]
Ddas1800.c646 err |= comedi_check_trigger_src(&cmd->convert_src, in das1800_ai_cmdtest()
659 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das1800_ai_cmdtest()
666 cmd->convert_src != TRIG_TIMER) in das1800_ai_cmdtest()
682 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmdtest()
707 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmdtest()
759 if (cmd->convert_src == TRIG_TIMER) in das1800_ai_transfer_size()
881 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmd()
901 cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmd()
Dpcl816.c344 err |= comedi_check_trigger_src(&cmd->convert_src, in pcl816_ai_cmdtest()
354 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pcl816_ai_cmdtest()
367 if (cmd->convert_src == TRIG_TIMER) in pcl816_ai_cmdtest()
384 if (cmd->convert_src == TRIG_TIMER) { in pcl816_ai_cmdtest()
438 if (cmd->convert_src == TRIG_TIMER) in pcl816_ai_cmd()
Ds626.c1088 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1094 if (cmd->convert_src == TRIG_TIMER) { in s626_handle_dio_interrupt()
1100 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1165 if (cmd->convert_src == TRIG_TIMER) { in s626_check_counter_interrupts()
1181 if (cmd->convert_src == TRIG_TIMER) { in s626_check_counter_interrupts()
1385 if (cmd->convert_src != TRIG_NOW) { in s626_reset_adc()
1742 switch (cmd->convert_src) { in s626_ai_cmd()
1803 err |= comedi_check_trigger_src(&cmd->convert_src, in s626_ai_cmdtest()
1815 err |= comedi_check_trigger_is_unique(cmd->convert_src); in s626_ai_cmdtest()
1837 if (cmd->convert_src == TRIG_EXT) in s626_ai_cmdtest()
[all …]
Dpcl818.c644 err |= comedi_check_trigger_src(&cmd->convert_src, in ai_cmdtest()
654 err |= comedi_check_trigger_is_unique(cmd->convert_src); in ai_cmdtest()
667 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
687 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
729 if (cmd->convert_src == TRIG_TIMER) in pcl818_ai_cmd()
751 if (cmd->convert_src == TRIG_TIMER) { in pcl818_ai_cmd()
Ddt3000.c388 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_TIMER); in dt3k_ai_cmdtest()
409 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
435 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
471 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmd()
Dadv_pci1710.c537 if (cmd->convert_src == TRIG_TIMER) { in pci1710_ai_cmd()
573 err |= comedi_check_trigger_src(&cmd->convert_src, in pci1710_ai_cmdtest()
584 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci1710_ai_cmdtest()
597 if (cmd->convert_src == TRIG_TIMER) in pci1710_ai_cmdtest()
615 if (cmd->convert_src == TRIG_TIMER) { in pci1710_ai_cmdtest()
Drtd520.c699 err |= comedi_check_trigger_src(&cmd->convert_src, in rtd_ai_cmdtest()
710 err |= comedi_check_trigger_is_unique(cmd->convert_src); in rtd_ai_cmdtest()
758 if (cmd->convert_src == TRIG_TIMER) { in rtd_ai_cmdtest()
811 if (cmd->convert_src == TRIG_TIMER) { in rtd_ai_cmdtest()
943 switch (cmd->convert_src) { in rtd_ai_cmd()
Dpcl812.c648 err |= comedi_check_trigger_src(&cmd->convert_src, flags); in pcl812_ai_cmdtest()
670 if (cmd->convert_src == TRIG_TIMER) { in pcl812_ai_cmdtest()
691 if (cmd->convert_src == TRIG_TIMER) { in pcl812_ai_cmdtest()
743 switch (cmd->convert_src) { in pcl812_ai_cmd()
Damplc_pc236_common.c77 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in pc236_intr_cmdtest()
Dni_labpc_isadma.c34 if (cmd->convert_src == TRIG_TIMER) in labpc_suggest_transfer_size()
Dcb_pcidas64.c2028 if (cmd->convert_src == TRIG_TIMER) { in check_adc_timing()
2040 } else if (cmd->convert_src == TRIG_NOW) { in check_adc_timing()
2046 if (cmd->convert_src == TRIG_TIMER) { in check_adc_timing()
2127 err |= comedi_check_trigger_src(&cmd->convert_src, triggers); in ai_cmdtest()
2139 err |= comedi_check_trigger_is_unique(cmd->convert_src); in ai_cmdtest()
2144 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest()
2164 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
2206 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
2591 if (cmd->convert_src == TRIG_EXT) in ai_cmd()
3351 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in ao_cmdtest()
[all …]
Daio_iiro_16.c110 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in aio_iiro_16_cos_cmdtest()

123