Home
last modified time | relevance | path

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

123

/drivers/staging/comedi/drivers/
Dme4000.c725 err |= comedi_check_trigger_src(&cmd->convert_src, in me4000_ai_do_cmd_test()
738 err |= comedi_check_trigger_is_unique(cmd->convert_src); in me4000_ai_do_cmd_test()
746 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
750 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
754 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
758 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
762 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
766 cmd->convert_src == TRIG_EXT) { in me4000_ai_do_cmd_test()
814 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
836 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
[all …]
Dcomedi_test.c240 err |= comedi_check_trigger_src(&cmd->convert_src, in waveform_ai_cmdtest()
250 err |= comedi_check_trigger_is_unique(cmd->convert_src); in waveform_ai_cmdtest()
255 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in waveform_ai_cmdtest()
265 if (cmd->convert_src == TRIG_NOW) { in waveform_ai_cmdtest()
295 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest()
316 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest()
343 if (cmd->convert_src == TRIG_NOW) in waveform_ai_cmd()
519 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in waveform_ao_cmdtest()
Dadl_pci9118.c546 if (cmd->convert_src == TRIG_NOW && !chnsshfront) { in pci9118_calc_divisors()
950 if (cmd->convert_src == TRIG_NOW) in pci9118_ai_cmd()
952 if (cmd->convert_src == TRIG_TIMER) { in pci9118_ai_cmd()
983 if (cmd->convert_src == TRIG_NOW && devpriv->softsshdelay) { in pci9118_ai_cmd()
1032 cmd->convert_src == TRIG_TIMER) { in pci9118_ai_cmd()
1063 cmd->convert_src != TRIG_EXT) { in pci9118_ai_cmd()
1083 if (cmd->convert_src == TRIG_NOW && !devpriv->softsshdelay) in pci9118_ai_cmd()
1090 cmd->convert_src == TRIG_EXT) { in pci9118_ai_cmd()
1162 err |= comedi_check_trigger_src(&cmd->convert_src, flags); in pci9118_ai_cmdtest()
1175 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci9118_ai_cmdtest()
[all …]
Dni_tiocmd.c174 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup()
234 err |= comedi_check_trigger_src(&cmd->convert_src, in ni_tio_cmdtest()
246 err |= comedi_check_trigger_is_unique(cmd->convert_src); in ni_tio_cmdtest()
250 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest()
272 if (cmd->convert_src != TRIG_EXT) in ni_tio_cmdtest()
Ddas16m1.c186 err |= comedi_check_trigger_src(&cmd->convert_src, in das16m1_cmd_test()
197 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das16m1_cmd_test()
212 if (cmd->convert_src == TRIG_TIMER) in das16m1_cmd_test()
228 if (cmd->convert_src == TRIG_TIMER) { in das16m1_cmd_test()
288 if (cmd->convert_src == TRIG_TIMER) { in das16m1_cmd_exec()
300 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_cmd_exec()
Dcb_pcidas.c697 err |= comedi_check_trigger_src(&cmd->convert_src, in cb_pcidas_ai_cmdtest()
709 err |= comedi_check_trigger_is_unique(cmd->convert_src); in cb_pcidas_ai_cmdtest()
714 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in cb_pcidas_ai_cmdtest()
716 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in cb_pcidas_ai_cmdtest()
719 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest()
752 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
775 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
823 if (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT) in cb_pcidas_ai_cmd()
831 cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmd()
841 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) { in cb_pcidas_ai_cmd()
[all …]
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.c257 err |= comedi_check_trigger_src(&cmd->convert_src, in pci9111_ai_do_cmd_test()
269 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci9111_ai_do_cmd_test()
275 if (cmd->scan_begin_src != cmd->convert_src) in pci9111_ai_do_cmd_test()
286 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
313 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
368 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd()
Ddas16.c611 err |= comedi_check_trigger_src(&cmd->convert_src, trig_mask); in das16_cmd_test()
622 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das16_cmd_test()
628 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in das16_cmd_test()
630 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in das16_cmd_test()
653 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
672 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
730 if (cmd->convert_src == TRIG_NOW) { in das16_cmd_exec()
754 if (cmd->convert_src == TRIG_EXT) in das16_cmd_exec()
Dni_labpc_common.c291 if (cmd->convert_src != TRIG_TIMER) in labpc_ai_convert_period()
303 if (cmd->convert_src != TRIG_TIMER) in labpc_set_ai_convert_period()
322 if (mode == MODE_SINGLE_CHAN && cmd->convert_src == TRIG_TIMER) in labpc_ai_scan_period()
334 if (mode == MODE_SINGLE_CHAN && cmd->convert_src == TRIG_TIMER) in labpc_set_ai_scan_period()
518 err |= comedi_check_trigger_src(&cmd->convert_src, in labpc_ai_cmdtest()
534 err |= comedi_check_trigger_is_unique(cmd->convert_src); in labpc_ai_cmdtest()
562 if (cmd->convert_src == TRIG_TIMER) { in labpc_ai_cmdtest()
569 if (cmd->convert_src == TRIG_TIMER) { in labpc_ai_cmdtest()
693 if (cmd->convert_src == TRIG_TIMER || in labpc_ai_cmd()
729 if (cmd->convert_src != TRIG_EXT) in labpc_ai_cmd()
Damplc_pci230.c909 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in pci230_ao_cmdtest()
1523 err |= comedi_check_trigger_src(&cmd->convert_src, in pci230_ai_cmdtest()
1535 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci230_ai_cmdtest()
1545 cmd->convert_src != TRIG_TIMER) in pci230_ai_cmdtest()
1564 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_cmdtest()
1592 } else if (cmd->convert_src == TRIG_EXT) { in pci230_ai_cmdtest()
1672 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_cmdtest()
1820 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_stop()
1874 switch (cmd->convert_src) { in pci230_ai_start()
1912 if (cmd->convert_src == TRIG_INT) in pci230_ai_start()
[all …]
Ddas1800.c740 err |= comedi_check_trigger_src(&cmd->convert_src, in das1800_ai_do_cmdtest()
753 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das1800_ai_do_cmdtest()
759 cmd->convert_src != TRIG_TIMER) in das1800_ai_do_cmdtest()
769 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_do_cmdtest()
795 cmd->convert_src == TRIG_TIMER) { in das1800_ai_do_cmdtest()
800 } else if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_do_cmdtest()
874 switch (cmd->convert_src) { in control_c_bits()
916 if (cmd->convert_src == TRIG_TIMER) in das1800_ai_transfer_size()
1025 cmd->convert_src == TRIG_TIMER) { in das1800_ai_do_cmd()
Ddas800.c313 err |= comedi_check_trigger_src(&cmd->convert_src, in das800_ai_do_cmdtest()
324 err |= comedi_check_trigger_is_unique(cmd->convert_src); in das800_ai_do_cmdtest()
336 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest()
355 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest()
408 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmd()
Dpcl816.c343 err |= comedi_check_trigger_src(&cmd->convert_src, in pcl816_ai_cmdtest()
353 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pcl816_ai_cmdtest()
366 if (cmd->convert_src == TRIG_TIMER) in pcl816_ai_cmdtest()
383 if (cmd->convert_src == TRIG_TIMER) { in pcl816_ai_cmdtest()
437 if (cmd->convert_src == TRIG_TIMER) in pcl816_ai_cmd()
Dpcl818.c643 err |= comedi_check_trigger_src(&cmd->convert_src, in ai_cmdtest()
653 err |= comedi_check_trigger_is_unique(cmd->convert_src); in ai_cmdtest()
666 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
686 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
728 if (cmd->convert_src == TRIG_TIMER) in pcl818_ai_cmd()
750 if (cmd->convert_src == TRIG_TIMER) { in pcl818_ai_cmd()
Ds626.c1368 if (cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1374 if (cmd->convert_src == TRIG_TIMER) { in s626_handle_dio_interrupt()
1380 cmd->convert_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1445 if (cmd->convert_src == TRIG_TIMER) { in s626_check_counter_interrupts()
1461 if (cmd->convert_src == TRIG_TIMER) { in s626_check_counter_interrupts()
1666 if (cmd->convert_src != TRIG_NOW) { in s626_reset_adc()
2060 switch (cmd->convert_src) { in s626_ai_cmd()
2121 err |= comedi_check_trigger_src(&cmd->convert_src, in s626_ai_cmdtest()
2133 err |= comedi_check_trigger_is_unique(cmd->convert_src); in s626_ai_cmdtest()
2155 if (cmd->convert_src == TRIG_EXT) in s626_ai_cmdtest()
[all …]
Ddt3000.c397 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_TIMER); in dt3k_ai_cmdtest()
418 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
444 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmdtest()
481 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmd()
Dadv_pci1710.c658 if (cmd->convert_src == TRIG_TIMER) { in pci171x_ai_cmd()
694 err |= comedi_check_trigger_src(&cmd->convert_src, in pci171x_ai_cmdtest()
705 err |= comedi_check_trigger_is_unique(cmd->convert_src); in pci171x_ai_cmdtest()
718 if (cmd->convert_src == TRIG_TIMER) in pci171x_ai_cmdtest()
736 if (cmd->convert_src == TRIG_TIMER) { in pci171x_ai_cmdtest()
Drtd520.c708 err |= comedi_check_trigger_src(&cmd->convert_src, in rtd_ai_cmdtest()
719 err |= comedi_check_trigger_is_unique(cmd->convert_src); in rtd_ai_cmdtest()
767 if (cmd->convert_src == TRIG_TIMER) { in rtd_ai_cmdtest()
820 if (cmd->convert_src == TRIG_TIMER) { in rtd_ai_cmdtest()
954 switch (cmd->convert_src) { in rtd_ai_cmd()
Dpcl812.c647 err |= comedi_check_trigger_src(&cmd->convert_src, flags); in pcl812_ai_cmdtest()
669 if (cmd->convert_src == TRIG_TIMER) { in pcl812_ai_cmdtest()
690 if (cmd->convert_src == TRIG_TIMER) { in pcl812_ai_cmdtest()
742 switch (cmd->convert_src) { in pcl812_ai_cmd()
Dcb_pcidas64.c2030 if (cmd->convert_src == TRIG_TIMER) { in check_adc_timing()
2042 } else if (cmd->convert_src == TRIG_NOW) { in check_adc_timing()
2048 if (cmd->convert_src == TRIG_TIMER) { in check_adc_timing()
2129 err |= comedi_check_trigger_src(&cmd->convert_src, triggers); in ai_cmdtest()
2141 err |= comedi_check_trigger_is_unique(cmd->convert_src); in ai_cmdtest()
2146 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest()
2166 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
2208 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest()
2602 if (cmd->convert_src == TRIG_EXT) in ai_cmd()
3363 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_NOW); in ao_cmdtest()
[all …]
Damplc_pc236_common.c86 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in pc236_intr_cmdtest()
Dni_labpc_isadma.c43 if (cmd->convert_src == TRIG_TIMER) in labpc_suggest_transfer_size()
Daio_iiro_16.c119 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in aio_iiro_16_cos_cmdtest()
/drivers/staging/comedi/
Dcomedi_compat32.c63 unsigned int convert_src; member
192 err |= __get_user(temp.uint, &cmd32->convert_src); in get_compat_cmd()
193 err |= __put_user(temp.uint, &cmd->convert_src); in get_compat_cmd()
246 err |= __get_user(temp, &cmd->convert_src); in put_compat_cmd()
247 err |= __put_user(temp, &cmd32->convert_src); in put_compat_cmd()

123