/drivers/staging/comedi/drivers/ |
D | quatech_daqp_cs.c | 382 TRIG_TIMER | TRIG_FOLLOW); in daqp_ai_cmdtest() 384 TRIG_TIMER | TRIG_NOW); 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() 418 if (cmd->convert_src == TRIG_TIMER) { in daqp_ai_cmdtest() 422 if (cmd->scan_begin_src == TRIG_TIMER) { in daqp_ai_cmdtest() 445 if (cmd->convert_src == TRIG_TIMER) { in daqp_ai_cmdtest() 449 } else if (cmd->scan_begin_src == TRIG_TIMER) { in daqp_ai_cmdtest() 492 if (cmd->convert_src == TRIG_TIMER) in daqp_ai_cmd()
|
D | me4000.c | 724 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test() 726 TRIG_TIMER | TRIG_EXT); in me4000_ai_do_cmd_test() 745 cmd->scan_begin_src == TRIG_TIMER && 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() 753 cmd->scan_begin_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() 813 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test() [all …]
|
D | amplc_pci230.c | 900 tmp = TRIG_TIMER | TRIG_INT; in pci230_ao_cmdtest() 949 case TRIG_TIMER: in pci230_ao_cmdtest() 995 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmdtest() 1031 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_stop() 1240 case TRIG_TIMER: in pci230_ao_start() 1266 case TRIG_TIMER: in pci230_ao_start() 1317 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd() 1360 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd() 1525 tmp = TRIG_FOLLOW | TRIG_TIMER | TRIG_INT; in pci230_ai_cmdtest() 1537 TRIG_TIMER | TRIG_INT | TRIG_EXT); in pci230_ai_cmdtest() [all …]
|
D | dt3000.c | 396 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in dt3k_ai_cmdtest() 397 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_TIMER); in dt3k_ai_cmdtest() 411 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 418 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 438 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 444 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 449 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 481 if (cmd->convert_src == TRIG_TIMER) { in dt3k_ai_cmd() 487 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmd()
|
D | ni_labpc_common.c | 293 if (cmd->convert_src != TRIG_TIMER) in labpc_ai_convert_period() 296 if (mode == MODE_SINGLE_CHAN && cmd->scan_begin_src == TRIG_TIMER) in labpc_ai_convert_period() 305 if (cmd->convert_src != TRIG_TIMER) in labpc_set_ai_convert_period() 309 cmd->scan_begin_src == TRIG_TIMER) { in labpc_set_ai_convert_period() 321 if (cmd->scan_begin_src != TRIG_TIMER) in labpc_ai_scan_period() 324 if (mode == MODE_SINGLE_CHAN && cmd->convert_src == TRIG_TIMER) in labpc_ai_scan_period() 333 if (cmd->scan_begin_src != TRIG_TIMER) in labpc_set_ai_scan_period() 336 if (mode == MODE_SINGLE_CHAN && cmd->convert_src == TRIG_TIMER) in labpc_set_ai_scan_period() 519 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in labpc_ai_cmdtest() 521 TRIG_TIMER | TRIG_EXT); in labpc_ai_cmdtest() [all …]
|
D | adl_pci9111.c | 256 TRIG_TIMER | TRIG_FOLLOW | TRIG_EXT); in pci9111_ai_do_cmd_test() 258 TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test() 286 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test() 293 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test() 313 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test() 323 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test() 368 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd() 378 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd()
|
D | comedi_test.c | 239 TRIG_FOLLOW | TRIG_TIMER); in waveform_ai_cmdtest() 241 TRIG_NOW | TRIG_TIMER); in waveform_ai_cmdtest() 295 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest() 301 if (cmd->scan_begin_arg == TRIG_TIMER) { in waveform_ai_cmdtest() 310 if (cmd->scan_begin_src == TRIG_TIMER) { in waveform_ai_cmdtest() 316 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest() 363 if (cmd->scan_begin_src == TRIG_TIMER) in waveform_ai_cmd() 518 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in waveform_ao_cmdtest()
|
D | das1800.c | 610 if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_fixup_burst_timing() 654 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest() 656 TRIG_TIMER | TRIG_EXT); in das1800_ai_cmdtest() 675 cmd->convert_src != TRIG_TIMER) in das1800_ai_cmdtest() 691 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmdtest() 716 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmdtest() 768 if (cmd->convert_src == TRIG_TIMER) in das1800_ai_transfer_size() 771 case TRIG_TIMER: in das1800_ai_transfer_size() 890 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_cmd() 897 } else if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_cmd() [all …]
|
D | adl_pci9118.c | 953 if (cmd->convert_src == TRIG_TIMER) { in pci9118_ai_cmd() 1032 if (cmd->scan_begin_src != TRIG_TIMER && in pci9118_ai_cmd() 1033 cmd->convert_src == TRIG_TIMER) { in pci9118_ai_cmd() 1063 if (cmd->scan_begin_src == TRIG_TIMER && in pci9118_ai_cmd() 1157 flags |= TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest() 1160 flags = TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest() 1184 if ((cmd->scan_begin_src & (TRIG_TIMER | TRIG_EXT)) && in pci9118_ai_cmdtest() 1185 (!(cmd->convert_src & (TRIG_TIMER | TRIG_NOW)))) in pci9118_ai_cmdtest() 1189 (!(cmd->convert_src & (TRIG_TIMER | TRIG_EXT)))) in pci9118_ai_cmdtest() 1213 if ((cmd->scan_begin_src == TRIG_TIMER) && in pci9118_ai_cmdtest() [all …]
|
D | rtd520.c | 707 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest() 709 TRIG_TIMER | TRIG_EXT); in rtd_ai_cmdtest() 731 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 767 if (cmd->convert_src == TRIG_TIMER) { in rtd_ai_cmdtest() 814 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 820 if (cmd->convert_src == TRIG_TIMER) { in rtd_ai_cmdtest() 825 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 874 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmd() 938 case TRIG_TIMER: /* periodic scanning */ in rtd_ai_cmd() 954 case TRIG_TIMER: /* periodic */ in rtd_ai_cmd()
|
D | cb_pcidas.c | 696 TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT); in cb_pcidas_ai_cmdtest() 698 TRIG_TIMER | TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest() 746 if (cmd->scan_begin_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest() 752 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest() 770 if (cmd->scan_begin_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest() 775 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest() 830 if (cmd->scan_begin_src == TRIG_TIMER || in cb_pcidas_ai_cmd() 831 cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmd() 910 TRIG_TIMER | TRIG_EXT); in cb_pcidas_ao_cmdtest() 932 if (cmd->scan_begin_src == TRIG_TIMER) { in cb_pcidas_ao_cmdtest() [all …]
|
D | dt2811.c | 283 if (cmd->convert_src == TRIG_TIMER) { in dt2811_ai_cmd() 412 TRIG_TIMER | TRIG_EXT); in dt2811_ai_cmdtest() 437 if (cmd->convert_src == TRIG_TIMER) in dt2811_ai_cmdtest() 451 if (cmd->convert_src == TRIG_TIMER) { in dt2811_ai_cmdtest()
|
D | s626.c | 1094 if (cmd->convert_src == TRIG_TIMER) { in s626_handle_dio_interrupt() 1165 if (cmd->convert_src == TRIG_TIMER) { in s626_check_counter_interrupts() 1176 if (cmd->scan_begin_src == TRIG_TIMER) { in s626_check_counter_interrupts() 1181 if (cmd->convert_src == TRIG_TIMER) { in s626_check_counter_interrupts() 1725 case TRIG_TIMER: in s626_ai_cmd() 1746 case TRIG_TIMER: in s626_ai_cmd() 1803 TRIG_TIMER | TRIG_EXT | TRIG_FOLLOW); in s626_ai_cmdtest() 1805 TRIG_TIMER | TRIG_EXT | TRIG_NOW); in s626_ai_cmdtest() 1844 if (cmd->scan_begin_src == TRIG_TIMER) { in s626_ai_cmdtest() 1857 if (cmd->convert_src == TRIG_TIMER) { in s626_ai_cmdtest() [all …]
|
D | das16m1.c | 187 TRIG_TIMER | TRIG_EXT); in das16m1_ai_cmdtest() 212 if (cmd->convert_src == TRIG_TIMER) in das16m1_ai_cmdtest() 228 if (cmd->convert_src == TRIG_TIMER) { in das16m1_ai_cmdtest() 277 if (cmd->convert_src == TRIG_TIMER) { in das16m1_ai_cmd()
|
D | das800.c | 314 TRIG_TIMER | TRIG_EXT); 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()
|
D | addi_apci_3120.c | 567 if (cmd->scan_begin_src == TRIG_TIMER) { in apci3120_ai_cmd() 594 if (cmd->scan_begin_src == TRIG_TIMER) in apci3120_ai_cmd() 612 TRIG_TIMER | TRIG_FOLLOW); in apci3120_ai_cmdtest() 613 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_TIMER); in apci3120_ai_cmdtest() 635 if (cmd->scan_begin_src == TRIG_TIMER) { /* Test Delay timing */ in apci3120_ai_cmdtest() 657 if (cmd->scan_begin_src == TRIG_TIMER) { in apci3120_ai_cmdtest()
|
D | das16.c | 608 trig_mask |= TRIG_TIMER | TRIG_EXT; in das16_cmd_test() 611 trig_mask = TRIG_TIMER | TRIG_EXT; in das16_cmd_test() 650 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test() 656 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test() 670 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test() 675 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
|
D | pcl816.c | 344 TRIG_EXT | TRIG_TIMER); 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()
|
D | pcl711.c | 291 TRIG_TIMER | TRIG_EXT); in pcl711_ai_cmdtest() 335 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmdtest() 354 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmd()
|
D | amplc_pci224.c | 592 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_handle_fifo() 675 TRIG_EXT | TRIG_TIMER); in pci224_ao_cmdtest() 732 case TRIG_TIMER: in pci224_ao_cmdtest() 790 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmdtest() 884 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmd()
|
D | pcl818.c | 644 TRIG_TIMER | TRIG_EXT); 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()
|
D | cb_pcidas64.c | 2040 if (cmd->convert_src == TRIG_TIMER) { in check_adc_timing() 2056 if (cmd->scan_begin_src == TRIG_TIMER) { in check_adc_timing() 2058 if (cmd->convert_src == TRIG_TIMER) { in check_adc_timing() 2127 triggers = TRIG_TIMER; in ai_cmdtest() 2134 triggers = TRIG_TIMER; in ai_cmdtest() 2156 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest() 2176 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest() 2187 if (cmd->scan_begin_src == TRIG_TIMER) { in ai_cmdtest() 2218 if (cmd->convert_src == TRIG_TIMER) { in ai_cmdtest() 2296 case TRIG_TIMER: in ai_scan_counter_6xxx() [all …]
|
D | ni_pcidio.c | 532 TRIG_TIMER | TRIG_EXT); in ni_pcidio_cmdtest() 557 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmdtest() 584 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmdtest() 634 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmd()
|
D | adv_pci1710.c | 536 if (cmd->convert_src == TRIG_TIMER) { in pci1710_ai_cmd() 573 TRIG_TIMER | TRIG_EXT); 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()
|
D | usbdux.c | 525 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in usbdux_ai_cmdtest() 550 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ai_cmdtest() 892 flags = TRIG_TIMER; in usbdux_ao_cmdtest() 901 flags = TRIG_TIMER; in usbdux_ao_cmdtest() 934 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ao_cmdtest() 940 if (cmd->convert_src == TRIG_TIMER) in usbdux_ao_cmdtest()
|