/drivers/staging/comedi/drivers/ |
D | me4000.c | 716 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 …]
|
D | adl_pci9118.c | 547 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 …]
|
D | dt2811.c | 274 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()
|
D | comedi_test.c | 259 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()
|
D | ni_tiocmd.c | 174 } 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()
|
D | das16m1.c | 177 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()
|
D | cb_pcidas.c | 688 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 …]
|
D | adl_pci9111.c | 248 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()
|
D | quatech_daqp_cs.c | 384 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()
|
D | ni_labpc_common.c | 284 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()
|
D | das16.c | 606 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()
|
D | das800.c | 304 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()
|
D | amplc_pci230.c | 913 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 …]
|
D | das1800.c | 646 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()
|
D | pcl816.c | 344 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()
|
D | s626.c | 1088 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 …]
|
D | pcl818.c | 644 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()
|
D | dt3000.c | 388 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()
|
D | adv_pci1710.c | 537 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()
|
D | rtd520.c | 699 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()
|
D | pcl812.c | 648 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()
|
D | amplc_pc236_common.c | 77 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in pc236_intr_cmdtest()
|
D | ni_labpc_isadma.c | 34 if (cmd->convert_src == TRIG_TIMER) in labpc_suggest_transfer_size()
|
D | cb_pcidas64.c | 2028 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 …]
|
D | aio_iiro_16.c | 110 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in aio_iiro_16_cos_cmdtest()
|