/linux-6.6.21/drivers/comedi/drivers/ |
D | amplc_pci230.c | 909 err |= comedi_check_trigger_src(&cmd->scan_begin_src, tmp); in pci230_ao_cmdtest() 920 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci230_ao_cmdtest() 939 switch (cmd->scan_begin_src) { in pci230_ao_cmdtest() 986 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmdtest() 1022 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_stop() 1230 switch (cmd->scan_begin_src) { in pci230_ao_start() 1256 switch (cmd->scan_begin_src) { in pci230_ao_start() 1308 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd() 1351 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd() 1526 err |= comedi_check_trigger_src(&cmd->scan_begin_src, tmp); in pci230_ai_cmdtest() [all …]
|
D | adl_pci9118.c | 964 if (cmd->scan_begin_src == TRIG_FOLLOW) { in pci9118_ai_cmd() 1032 if (cmd->scan_begin_src != TRIG_TIMER && in pci9118_ai_cmd() 1035 if (cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmd() 1052 if (cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmd() 1063 if (cmd->scan_begin_src == TRIG_TIMER && in pci9118_ai_cmd() 1090 if (cmd->scan_begin_src == TRIG_FOLLOW && in pci9118_ai_cmd() 1158 err |= comedi_check_trigger_src(&cmd->scan_begin_src, flags); in pci9118_ai_cmdtest() 1175 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci9118_ai_cmdtest() 1181 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmdtest() 1184 if ((cmd->scan_begin_src & (TRIG_TIMER | TRIG_EXT)) && in pci9118_ai_cmdtest() [all …]
|
D | me4000.c | 713 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in me4000_ai_do_cmd_test() 727 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in me4000_ai_do_cmd_test() 735 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test() 739 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test() 743 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test() 747 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test() 751 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 755 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 803 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test() 825 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test() [all …]
|
D | cb_pcidas.c | 685 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in cb_pcidas_ai_cmdtest() 698 err |= comedi_check_trigger_is_unique(cmd->scan_begin_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() 736 if (cmd->scan_begin_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest() 760 if (cmd->scan_begin_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() 820 if (cmd->scan_begin_src == TRIG_TIMER || in cb_pcidas_ai_cmd() 899 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in cb_pcidas_ao_cmdtest() [all …]
|
D | comedi_test.c | 257 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in waveform_ai_cmdtest() 274 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in waveform_ai_cmdtest() 287 if (cmd->scan_begin_src == TRIG_FOLLOW) { in waveform_ai_cmdtest() 293 if (cmd->scan_begin_src == TRIG_FOLLOW) { in waveform_ai_cmdtest() 329 if (cmd->scan_begin_src == TRIG_TIMER) { in waveform_ai_cmdtest() 367 if (cmd->scan_begin_src == TRIG_FOLLOW) { in waveform_ai_cmd() 382 if (cmd->scan_begin_src == TRIG_TIMER) in waveform_ai_cmd() 537 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in waveform_ao_cmdtest()
|
D | ni_tiocmd.c | 171 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup() 251 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in ni_tio_cmdtest() 264 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ni_tio_cmdtest() 269 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest() 305 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest()
|
D | adl_pci9111.c | 245 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pci9111_ai_do_cmd_test() 258 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci9111_ai_do_cmd_test() 264 if (cmd->scan_begin_src != TRIG_FOLLOW) { in pci9111_ai_do_cmd_test() 265 if (cmd->scan_begin_src != cmd->convert_src) in pci9111_ai_do_cmd_test() 283 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test() 313 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test() 368 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd()
|
D | pcl711.c | 279 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pcl711_ai_cmdtest() 290 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pcl711_ai_cmdtest() 302 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest() 324 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmdtest() 343 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmd()
|
D | das1800.c | 599 if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_fixup_burst_timing() 642 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in das1800_ai_cmdtest() 656 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in das1800_ai_cmdtest() 663 if (cmd->scan_begin_src != TRIG_FOLLOW && in das1800_ai_cmdtest() 706 if (cmd->scan_begin_src == TRIG_FOLLOW) in das1800_ai_cmdtest() 755 switch (cmd->scan_begin_src) { in das1800_ai_transfer_size() 877 if (cmd->scan_begin_src == TRIG_FOLLOW) { in das1800_ai_cmd() 886 } else if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_cmd() 897 if ((cmd->scan_begin_src == TRIG_FOLLOW || in das1800_ai_cmd() 898 cmd->scan_begin_src == TRIG_TIMER) && in das1800_ai_cmd()
|
D | quatech_daqp_cs.c | 381 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in daqp_ai_cmdtest() 393 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); 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() 422 if (cmd->scan_begin_src == TRIG_TIMER) { in daqp_ai_cmdtest() 449 } else if (cmd->scan_begin_src == TRIG_TIMER) { in daqp_ai_cmdtest()
|
D | ni_labpc_common.c | 274 if (mode == MODE_SINGLE_CHAN || cmd->scan_begin_src == TRIG_FOLLOW) in labpc_use_continuous_mode() 286 if (mode == MODE_SINGLE_CHAN && cmd->scan_begin_src == TRIG_TIMER) in labpc_ai_convert_period() 299 cmd->scan_begin_src == TRIG_TIMER) { in labpc_set_ai_convert_period() 311 if (cmd->scan_begin_src != TRIG_TIMER) in labpc_ai_scan_period() 323 if (cmd->scan_begin_src != TRIG_TIMER) in labpc_set_ai_scan_period() 508 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in labpc_ai_cmdtest() 525 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in labpc_ai_cmdtest() 560 if (cmd->scan_begin_src == TRIG_TIMER) { in labpc_ai_cmdtest() 692 cmd->scan_begin_src == TRIG_TIMER) { in labpc_ai_cmd() 735 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd()
|
D | amplc_pci224.c | 587 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_handle_fifo() 669 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pci224_ao_cmdtest() 682 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci224_ao_cmdtest() 694 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest() 726 switch (cmd->scan_begin_src) { in pci224_ao_cmdtest() 785 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmdtest() 881 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmd()
|
D | dt3000.c | 386 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in dt3k_ai_cmdtest() 401 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 428 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 439 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 476 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmd()
|
D | s626.c | 1079 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt() 1083 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1175 if (cmd->scan_begin_src == TRIG_TIMER) { in s626_check_counter_interrupts() 1221 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt() 1296 if (cmd->scan_begin_src != TRIG_FOLLOW) { in s626_reset_adc() 1720 switch (cmd->scan_begin_src) { in s626_ai_cmd() 1757 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd() 1800 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in s626_ai_cmdtest() 1813 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in s626_ai_cmdtest() 1834 if (cmd->scan_begin_src == TRIG_EXT) in s626_ai_cmdtest() [all …]
|
D | das16.c | 599 err |= comedi_check_trigger_src(&cmd->scan_begin_src, trig_mask); in das16_cmd_test() 614 err |= comedi_check_trigger_is_unique(cmd->scan_begin_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() 633 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in das16_cmd_test() 640 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test() 660 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test()
|
D | rtd520.c | 696 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in rtd_ai_cmdtest() 708 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in rtd_ai_cmdtest() 721 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 804 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 815 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 863 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmd() 926 switch (cmd->scan_begin_src) { in rtd_ai_cmd()
|
D | addi_apci_3120.c | 558 if (cmd->scan_begin_src == TRIG_TIMER) { in apci3120_ai_cmd() 585 if (cmd->scan_begin_src == TRIG_TIMER) in apci3120_ai_cmd() 602 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in apci3120_ai_cmdtest() 614 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in apci3120_ai_cmdtest() 626 if (cmd->scan_begin_src == TRIG_TIMER) { /* Test Delay timing */ in apci3120_ai_cmdtest() 648 if (cmd->scan_begin_src == TRIG_TIMER) { in apci3120_ai_cmdtest()
|
D | ni_pcidio.c | 536 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in ni_pcidio_cmdtest() 548 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ni_pcidio_cmdtest() 562 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmdtest() 589 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmdtest() 639 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmd()
|
D | dt282x.c | 640 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in dt282x_ai_cmdtest() 651 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in dt282x_ai_cmdtest() 700 if (cmd->scan_begin_src == TRIG_FOLLOW) in dt282x_ai_cmd() 736 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmd() 806 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in dt282x_ao_cmdtest()
|
D | cb_pcidas64.c | 2038 if (cmd->scan_begin_src == TRIG_TIMER) { in check_adc_timing() 2114 err |= comedi_check_trigger_src(&cmd->scan_begin_src, triggers); in ai_cmdtest() 2132 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ai_cmdtest() 2138 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest() 2169 if (cmd->scan_begin_src == TRIG_TIMER) { in ai_cmdtest() 2277 switch (cmd->scan_begin_src) { in ai_scan_counter_6xxx() 2298 switch (cmd->scan_begin_src) { in ai_convert_counter_4020() 2322 if (cmd->scan_begin_src == TRIG_OTHER) { in select_master_clock_4020() 3141 if (cmd->scan_begin_src == TRIG_EXT) { in set_dac_control0_reg() 3197 if (cmd->scan_begin_src != TRIG_TIMER) in set_dac_interval_regs() [all …]
|
D | usbdux.c | 515 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in usbdux_ai_cmdtest() 537 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in usbdux_ai_cmdtest() 540 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ai_cmdtest() 883 err |= comedi_check_trigger_src(&cmd->scan_begin_src, flags); in usbdux_ao_cmdtest() 920 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in usbdux_ao_cmdtest() 923 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ao_cmdtest()
|
D | ni_atmio16d.c | 242 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in atmio16d_ai_cmdtest() 253 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in atmio16d_ai_cmdtest() 265 if (cmd->scan_begin_src == TRIG_FOLLOW) { in atmio16d_ai_cmdtest()
|
D | amplc_pc236_common.c | 75 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
|
D | aio_iiro_16.c | 108 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in aio_iiro_16_cos_cmdtest()
|
D | das16m1.c | 175 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_FOLLOW); in das16m1_ai_cmdtest() 199 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in das16m1_ai_cmdtest()
|