/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | amplc_pci230.c | 911 err |= comedi_check_trigger_src(&cmd->scan_begin_src, tmp); in pci230_ao_cmdtest() 922 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci230_ao_cmdtest() 941 switch (cmd->scan_begin_src) { in pci230_ao_cmdtest() 988 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmdtest() 1024 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_stop() 1232 switch (cmd->scan_begin_src) { in pci230_ao_start() 1258 switch (cmd->scan_begin_src) { in pci230_ao_start() 1310 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd() 1353 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd() 1528 err |= comedi_check_trigger_src(&cmd->scan_begin_src, tmp); in pci230_ai_cmdtest() [all …]
|
D | adl_pci9118.c | 965 if (cmd->scan_begin_src == TRIG_FOLLOW) { in pci9118_ai_cmd() 1033 if (cmd->scan_begin_src != TRIG_TIMER && in pci9118_ai_cmd() 1036 if (cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmd() 1053 if (cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmd() 1064 if (cmd->scan_begin_src == TRIG_TIMER && in pci9118_ai_cmd() 1091 if (cmd->scan_begin_src == TRIG_FOLLOW && in pci9118_ai_cmd() 1159 err |= comedi_check_trigger_src(&cmd->scan_begin_src, flags); in pci9118_ai_cmdtest() 1176 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci9118_ai_cmdtest() 1182 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmdtest() 1185 if ((cmd->scan_begin_src & (TRIG_TIMER | TRIG_EXT)) && in pci9118_ai_cmdtest() [all …]
|
D | me4000.c | 714 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in me4000_ai_do_cmd_test() 728 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in me4000_ai_do_cmd_test() 736 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test() 740 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test() 744 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test() 748 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test() 752 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 756 cmd->scan_begin_src == TRIG_EXT && in me4000_ai_do_cmd_test() 804 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test() 826 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test() [all …]
|
D | ni_tiocmd.c | 155 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup() 216 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in ni_tio_cmdtest() 229 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ni_tio_cmdtest() 234 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest() 253 if (cmd->scan_begin_src != TRIG_EXT) in ni_tio_cmdtest()
|
D | cb_pcidas.c | 686 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in cb_pcidas_ai_cmdtest() 699 err |= comedi_check_trigger_is_unique(cmd->scan_begin_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() 737 if (cmd->scan_begin_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest() 761 if (cmd->scan_begin_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() 821 if (cmd->scan_begin_src == TRIG_TIMER || in cb_pcidas_ai_cmd() 900 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 | adl_pci9111.c | 246 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pci9111_ai_do_cmd_test() 259 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci9111_ai_do_cmd_test() 265 if (cmd->scan_begin_src != TRIG_FOLLOW) { in pci9111_ai_do_cmd_test() 266 if (cmd->scan_begin_src != cmd->convert_src) in pci9111_ai_do_cmd_test() 284 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test() 314 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test() 369 if (cmd->scan_begin_src == TRIG_TIMER) { in pci9111_ai_do_cmd()
|
D | pcl711.c | 281 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pcl711_ai_cmdtest() 292 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pcl711_ai_cmdtest() 304 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest() 326 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmdtest() 345 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmd()
|
D | das1800.c | 601 if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_fixup_burst_timing() 644 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in das1800_ai_cmdtest() 658 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in das1800_ai_cmdtest() 665 if (cmd->scan_begin_src != TRIG_FOLLOW && in das1800_ai_cmdtest() 708 if (cmd->scan_begin_src == TRIG_FOLLOW) in das1800_ai_cmdtest() 757 switch (cmd->scan_begin_src) { in das1800_ai_transfer_size() 879 if (cmd->scan_begin_src == TRIG_FOLLOW) { in das1800_ai_cmd() 888 } else if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_cmd() 899 if ((cmd->scan_begin_src == TRIG_FOLLOW || in das1800_ai_cmd() 900 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 | 275 if (mode == MODE_SINGLE_CHAN || cmd->scan_begin_src == TRIG_FOLLOW) in labpc_use_continuous_mode() 287 if (mode == MODE_SINGLE_CHAN && cmd->scan_begin_src == TRIG_TIMER) in labpc_ai_convert_period() 300 cmd->scan_begin_src == TRIG_TIMER) { in labpc_set_ai_convert_period() 312 if (cmd->scan_begin_src != TRIG_TIMER) in labpc_ai_scan_period() 324 if (cmd->scan_begin_src != TRIG_TIMER) in labpc_set_ai_scan_period() 509 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in labpc_ai_cmdtest() 526 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in labpc_ai_cmdtest() 561 if (cmd->scan_begin_src == TRIG_TIMER) { in labpc_ai_cmdtest() 694 cmd->scan_begin_src == TRIG_TIMER) { in labpc_ai_cmd() 737 if (cmd->scan_begin_src == TRIG_EXT) in labpc_ai_cmd()
|
D | amplc_pci224.c | 589 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_handle_fifo() 671 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in pci224_ao_cmdtest() 684 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in pci224_ao_cmdtest() 696 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest() 728 switch (cmd->scan_begin_src) { in pci224_ao_cmdtest() 787 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmdtest() 883 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmd()
|
D | dt3000.c | 387 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in dt3k_ai_cmdtest() 402 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 429 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 440 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 478 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmd()
|
D | s626.c | 1082 if (cmd->scan_begin_src == TRIG_EXT) in s626_handle_dio_interrupt() 1086 cmd->scan_begin_src == TRIG_EXT) { in s626_handle_dio_interrupt() 1178 if (cmd->scan_begin_src == TRIG_TIMER) { in s626_check_counter_interrupts() 1224 if (devpriv->ai_cmd_running && cmd->scan_begin_src == TRIG_EXT) in s626_handle_eos_interrupt() 1299 if (cmd->scan_begin_src != TRIG_FOLLOW) { in s626_reset_adc() 1723 switch (cmd->scan_begin_src) { in s626_ai_cmd() 1760 if (cmd->scan_begin_src != TRIG_EXT && in s626_ai_cmd() 1803 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in s626_ai_cmdtest() 1816 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in s626_ai_cmdtest() 1837 if (cmd->scan_begin_src == TRIG_EXT) in s626_ai_cmdtest() [all …]
|
D | das16.c | 601 err |= comedi_check_trigger_src(&cmd->scan_begin_src, trig_mask); in das16_cmd_test() 616 err |= comedi_check_trigger_is_unique(cmd->scan_begin_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() 635 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in das16_cmd_test() 642 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test() 662 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test()
|
D | rtd520.c | 697 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in rtd_ai_cmdtest() 709 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in rtd_ai_cmdtest() 722 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 805 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 816 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmdtest() 865 if (cmd->scan_begin_src == TRIG_TIMER) { in rtd_ai_cmd() 928 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 | 524 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in ni_pcidio_cmdtest() 536 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ni_pcidio_cmdtest() 550 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmdtest() 577 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmdtest() 627 if (cmd->scan_begin_src == TRIG_TIMER) { in ni_pcidio_cmd()
|
D | cb_pcidas64.c | 2044 if (cmd->scan_begin_src == TRIG_TIMER) { in check_adc_timing() 2120 err |= comedi_check_trigger_src(&cmd->scan_begin_src, triggers); in ai_cmdtest() 2138 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in ai_cmdtest() 2144 if (cmd->convert_src == TRIG_EXT && cmd->scan_begin_src == TRIG_TIMER) in ai_cmdtest() 2175 if (cmd->scan_begin_src == TRIG_TIMER) { in ai_cmdtest() 2283 switch (cmd->scan_begin_src) { in ai_scan_counter_6xxx() 2304 switch (cmd->scan_begin_src) { in ai_convert_counter_4020() 2328 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 | dt282x.c | 669 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in dt282x_ai_cmdtest() 680 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in dt282x_ai_cmdtest() 729 if (cmd->scan_begin_src == TRIG_FOLLOW) in dt282x_ai_cmd() 765 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmd() 835 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in dt282x_ao_cmdtest()
|
D | usbdux.c | 516 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_TIMER); in usbdux_ai_cmdtest() 538 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in usbdux_ai_cmdtest() 541 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ai_cmdtest() 884 err |= comedi_check_trigger_src(&cmd->scan_begin_src, flags); in usbdux_ao_cmdtest() 921 if (cmd->scan_begin_src == TRIG_FOLLOW) /* internal trigger */ in usbdux_ao_cmdtest() 924 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ao_cmdtest()
|
D | amplc_pc236_common.c | 76 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest()
|
D | ni_atmio16d.c | 243 err |= comedi_check_trigger_src(&cmd->scan_begin_src, in atmio16d_ai_cmdtest() 254 err |= comedi_check_trigger_is_unique(cmd->scan_begin_src); in atmio16d_ai_cmdtest() 266 if (cmd->scan_begin_src == TRIG_FOLLOW) { in atmio16d_ai_cmdtest()
|
D | aio_iiro_16.c | 109 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in aio_iiro_16_cos_cmdtest()
|
/Linux-v4.19/drivers/staging/comedi/ |
D | comedi_compat32.c | 52 unsigned int scan_begin_src; member 179 err |= __get_user(temp.uint, &cmd32->scan_begin_src); in get_compat_cmd() 180 err |= __put_user(temp.uint, &cmd->scan_begin_src); in get_compat_cmd() 233 err |= __get_user(temp, &cmd->scan_begin_src); in put_compat_cmd() 234 err |= __put_user(temp, &cmd32->scan_begin_src); in put_compat_cmd()
|