/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | pcm_common.c | 21 tmp = cmd->scan_begin_src; in comedi_pcm_cmdtest() 22 cmd->scan_begin_src &= TRIG_EXT; in comedi_pcm_cmdtest() 23 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in comedi_pcm_cmdtest() 50 if ((cmd->scan_begin_src & (cmd->scan_begin_src - 1)) != 0) in comedi_pcm_cmdtest()
|
D | skel.c | 377 tmp = cmd->scan_begin_src; in skel_ai_cmdtest() 378 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; in skel_ai_cmdtest() 379 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in skel_ai_cmdtest() 404 if (cmd->scan_begin_src != TRIG_TIMER && in skel_ai_cmdtest() 405 cmd->scan_begin_src != TRIG_EXT) in skel_ai_cmdtest() 424 if (cmd->scan_begin_src == TRIG_TIMER) { in skel_ai_cmdtest() 482 if (cmd->scan_begin_src == TRIG_TIMER) { in skel_ai_cmdtest() 495 if (cmd->scan_begin_src == TRIG_TIMER && in skel_ai_cmdtest()
|
D | ni_tiocmd.c | 192 if (cmd->scan_begin_src == TRIG_EXT) { in ni_tio_cmd_setup() 253 tmp = cmd->scan_begin_src; in ni_tio_cmdtest() 254 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_EXT | TRIG_OTHER; in ni_tio_cmdtest() 255 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in ni_tio_cmdtest() 283 if (cmd->scan_begin_src != TRIG_FOLLOW && in ni_tio_cmdtest() 284 cmd->scan_begin_src != TRIG_EXT && in ni_tio_cmdtest() 285 cmd->scan_begin_src != TRIG_OTHER) in ni_tio_cmdtest() 293 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest() 306 if (cmd->scan_begin_src != TRIG_EXT) { in ni_tio_cmdtest()
|
D | pcl711.c | 308 tmp = cmd->scan_begin_src; in pcl711_ai_cmdtest() 309 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; in pcl711_ai_cmdtest() 310 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in pcl711_ai_cmdtest() 333 if (cmd->scan_begin_src != TRIG_TIMER && in pcl711_ai_cmdtest() 334 cmd->scan_begin_src != TRIG_EXT) in pcl711_ai_cmdtest() 348 if (cmd->scan_begin_src == TRIG_EXT) { in pcl711_ai_cmdtest() 383 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmdtest() 407 if (cmd->scan_begin_src == TRIG_TIMER) { in pcl711_ai_cmd()
|
D | amplc_pci230.c | 1284 tmp = cmd->scan_begin_src; in pci230_ao_cmdtest() 1300 cmd->scan_begin_src &= TRIG_TIMER | TRIG_INT | TRIG_EXT; in pci230_ao_cmdtest() 1302 cmd->scan_begin_src &= TRIG_TIMER | TRIG_INT; in pci230_ao_cmdtest() 1304 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in pci230_ao_cmdtest() 1332 if ((cmd->scan_begin_src & (cmd->scan_begin_src - 1)) != 0) in pci230_ao_cmdtest() 1358 switch (cmd->scan_begin_src) { in pci230_ao_cmdtest() 1414 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmdtest() 1534 switch (cmd->scan_begin_src) { in pci230_ao_start() 1562 switch (cmd->scan_begin_src) { in pci230_ao_start() 1617 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd() [all …]
|
D | cb_pcidda.c | 431 printk("scan_begin_src: %d\n", cmd->scan_begin_src); 464 tmp = cmd->scan_begin_src; 465 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; 466 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) 490 if (cmd->scan_begin_src != TRIG_TIMER 491 && cmd->scan_begin_src != TRIG_EXT) 510 if (cmd->scan_begin_src == TRIG_TIMER) { 568 if (cmd->scan_begin_src == TRIG_TIMER) { 581 if (cmd->scan_begin_src == TRIG_TIMER &&
|
D | adl_pci9118.c | 970 tmp = cmd->scan_begin_src; in pci9118_ai_cmdtest() 972 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT | TRIG_FOLLOW; in pci9118_ai_cmdtest() 974 cmd->scan_begin_src &= TRIG_FOLLOW; in pci9118_ai_cmdtest() 976 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in pci9118_ai_cmdtest() 1013 if (cmd->scan_begin_src != TRIG_TIMER && in pci9118_ai_cmdtest() 1014 cmd->scan_begin_src != TRIG_EXT && in pci9118_ai_cmdtest() 1015 cmd->scan_begin_src != TRIG_INT && in pci9118_ai_cmdtest() 1016 cmd->scan_begin_src != TRIG_FOLLOW) { in pci9118_ai_cmdtest() 1017 cmd->scan_begin_src = TRIG_FOLLOW; in pci9118_ai_cmdtest() 1039 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmdtest() [all …]
|
D | cb_pcidas.c | 1092 tmp = cmd->scan_begin_src; in cb_pcidas_ai_cmdtest() 1093 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT; in cb_pcidas_ai_cmdtest() 1094 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in cb_pcidas_ai_cmdtest() 1119 if (cmd->scan_begin_src != TRIG_FOLLOW && in cb_pcidas_ai_cmdtest() 1120 cmd->scan_begin_src != TRIG_TIMER && in cb_pcidas_ai_cmdtest() 1121 cmd->scan_begin_src != TRIG_EXT) in cb_pcidas_ai_cmdtest() 1130 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in cb_pcidas_ai_cmdtest() 1132 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in cb_pcidas_ai_cmdtest() 1135 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest() 1166 if (cmd->scan_begin_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest() [all …]
|
D | quatech_daqp_cs.c | 466 tmp = cmd->scan_begin_src; in daqp_ai_cmdtest() 467 cmd->scan_begin_src &= TRIG_TIMER | TRIG_FOLLOW; in daqp_ai_cmdtest() 468 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in daqp_ai_cmdtest() 495 if (cmd->scan_begin_src != TRIG_TIMER && in daqp_ai_cmdtest() 496 cmd->scan_begin_src != TRIG_FOLLOW) in daqp_ai_cmdtest() 500 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in daqp_ai_cmdtest() 516 if (cmd->scan_begin_src == TRIG_TIMER in daqp_ai_cmdtest() 527 if (cmd->scan_begin_src == TRIG_TIMER && cmd->convert_src == TRIG_TIMER in daqp_ai_cmdtest() 559 if (cmd->scan_begin_src == TRIG_TIMER) { in daqp_ai_cmdtest()
|
D | cb_das16_cs.c | 348 tmp = cmd->scan_begin_src; in das16cs_ai_cmdtest() 349 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; in das16cs_ai_cmdtest() 350 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in das16cs_ai_cmdtest() 375 if (cmd->scan_begin_src != TRIG_TIMER && in das16cs_ai_cmdtest() 376 cmd->scan_begin_src != TRIG_EXT) in das16cs_ai_cmdtest() 395 if (cmd->scan_begin_src == TRIG_TIMER) { in das16cs_ai_cmdtest() 453 if (cmd->scan_begin_src == TRIG_TIMER) { in das16cs_ai_cmdtest() 472 if (cmd->scan_begin_src == TRIG_TIMER && in das16cs_ai_cmdtest()
|
D | adl_pci9111.c | 633 pci9111_check_trigger_src(cmd->scan_begin_src, in pci9111_ai_do_cmd_test() 648 if ((cmd->scan_begin_src != TRIG_TIMER) && in pci9111_ai_do_cmd_test() 649 (cmd->scan_begin_src != TRIG_FOLLOW) && in pci9111_ai_do_cmd_test() 650 (cmd->scan_begin_src != TRIG_EXT)) in pci9111_ai_do_cmd_test() 656 !((cmd->scan_begin_src == TRIG_TIMER) || in pci9111_ai_do_cmd_test() 657 (cmd->scan_begin_src == TRIG_FOLLOW))) in pci9111_ai_do_cmd_test() 660 !((cmd->scan_begin_src == TRIG_EXT) || in pci9111_ai_do_cmd_test() 661 (cmd->scan_begin_src == TRIG_FOLLOW))) in pci9111_ai_do_cmd_test() 700 if ((cmd->scan_begin_src == TRIG_TIMER) && in pci9111_ai_do_cmd_test() 705 if ((cmd->scan_begin_src == TRIG_FOLLOW) in pci9111_ai_do_cmd_test() [all …]
|
D | dmm32at.c | 573 tmp = cmd->scan_begin_src; in dmm32at_ai_cmdtest() 574 cmd->scan_begin_src &= TRIG_TIMER /*| TRIG_EXT */ ; in dmm32at_ai_cmdtest() 575 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in dmm32at_ai_cmdtest() 600 if (cmd->scan_begin_src != TRIG_TIMER && in dmm32at_ai_cmdtest() 601 cmd->scan_begin_src != TRIG_EXT) in dmm32at_ai_cmdtest() 620 if (cmd->scan_begin_src == TRIG_TIMER) { in dmm32at_ai_cmdtest() 683 if (cmd->scan_begin_src == TRIG_TIMER) { in dmm32at_ai_cmdtest() 696 if (cmd->scan_begin_src == TRIG_TIMER && in dmm32at_ai_cmdtest()
|
D | dt282x.c | 751 tmp = cmd->scan_begin_src; in dt282x_ai_cmdtest() 752 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_EXT; in dt282x_ai_cmdtest() 753 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in dt282x_ai_cmdtest() 780 if (cmd->scan_begin_src != TRIG_FOLLOW && in dt282x_ai_cmdtest() 781 cmd->scan_begin_src != TRIG_EXT) in dt282x_ai_cmdtest() 795 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmdtest() 872 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmd() 903 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmd() 1028 tmp = cmd->scan_begin_src; in dt282x_ao_cmdtest() 1029 cmd->scan_begin_src &= TRIG_TIMER; in dt282x_ao_cmdtest() [all …]
|
D | comedi_test.c | 312 tmp = cmd->scan_begin_src; in waveform_ai_cmdtest() 313 cmd->scan_begin_src &= TRIG_TIMER; in waveform_ai_cmdtest() 314 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in waveform_ai_cmdtest() 359 if (cmd->scan_begin_src == TRIG_TIMER) { in waveform_ai_cmdtest() 402 if (cmd->scan_begin_src == TRIG_TIMER) { in waveform_ai_cmdtest()
|
D | comedi_parport.c | 209 tmp = cmd->scan_begin_src; in parport_intr_cmdtest() 210 cmd->scan_begin_src &= TRIG_EXT; in parport_intr_cmdtest() 211 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in parport_intr_cmdtest()
|
D | me4000.c | 1278 cmd->scan_begin_src == TRIG_TIMER && in ai_prepare() 1281 cmd->scan_begin_src == TRIG_FOLLOW && in ai_prepare() 1287 cmd->scan_begin_src == TRIG_EXT && in ai_prepare() 1293 cmd->scan_begin_src == TRIG_EXT && in ai_prepare() 1430 cmd->scan_begin_src); in me4000_ai_do_cmd_test() 1473 switch (cmd->scan_begin_src) { in me4000_ai_do_cmd_test() 1479 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT; in me4000_ai_do_cmd_test() 1486 cmd->scan_begin_src = TRIG_FOLLOW; in me4000_ai_do_cmd_test() 1541 cmd->scan_begin_src == TRIG_TIMER && in me4000_ai_do_cmd_test() 1544 cmd->scan_begin_src == TRIG_FOLLOW && in me4000_ai_do_cmd_test() [all …]
|
D | 8255.c | 256 tmp = cmd->scan_begin_src; in subdev_8255_cmdtest() 257 cmd->scan_begin_src &= TRIG_EXT; in subdev_8255_cmdtest() 258 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in subdev_8255_cmdtest()
|
D | amplc_pci224.c | 752 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_handle_fifo() 808 tmp = cmd->scan_begin_src; in pci224_ao_cmdtest() 809 cmd->scan_begin_src &= TRIG_EXT | TRIG_TIMER; in pci224_ao_cmdtest() 810 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in pci224_ao_cmdtest() 837 if ((cmd->scan_begin_src & (cmd->scan_begin_src - 1)) != 0) in pci224_ao_cmdtest() 851 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest() 886 switch (cmd->scan_begin_src) { in pci224_ao_cmdtest() 962 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmdtest() 1120 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmd()
|
D | dt2814.c | 164 tmp = cmd->scan_begin_src; in dt2814_ai_cmdtest() 165 cmd->scan_begin_src &= TRIG_TIMER; in dt2814_ai_cmdtest() 166 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in dt2814_ai_cmdtest()
|
D | ni_atmio16d.c | 317 tmp = cmd->scan_begin_src; in atmio16d_ai_cmdtest() 318 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_TIMER; in atmio16d_ai_cmdtest() 319 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in atmio16d_ai_cmdtest() 342 if (cmd->scan_begin_src != TRIG_FOLLOW && in atmio16d_ai_cmdtest() 343 cmd->scan_begin_src != TRIG_EXT && in atmio16d_ai_cmdtest() 344 cmd->scan_begin_src != TRIG_TIMER) in atmio16d_ai_cmdtest() 358 if (cmd->scan_begin_src == TRIG_FOLLOW) { in atmio16d_ai_cmdtest()
|
D | usbduxsigma.c | 922 tmp = cmd->scan_begin_src; in usbdux_ai_cmdtest() 924 cmd->scan_begin_src &= TRIG_TIMER; in usbdux_ai_cmdtest() 925 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in usbdux_ai_cmdtest() 953 if (cmd->scan_begin_src != TRIG_FOLLOW && in usbdux_ai_cmdtest() 954 cmd->scan_begin_src != TRIG_EXT && in usbdux_ai_cmdtest() 955 cmd->scan_begin_src != TRIG_TIMER) in usbdux_ai_cmdtest() 969 if (cmd->scan_begin_src == TRIG_FOLLOW) { in usbdux_ai_cmdtest() 977 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ai_cmdtest() 1585 tmp = cmd->scan_begin_src; in usbdux_ao_cmdtest() 1591 cmd->scan_begin_src &= TRIG_FOLLOW; in usbdux_ao_cmdtest() [all …]
|
D | usbdux.c | 954 tmp = cmd->scan_begin_src; in usbdux_ai_cmdtest() 956 cmd->scan_begin_src &= TRIG_TIMER; in usbdux_ai_cmdtest() 957 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in usbdux_ai_cmdtest() 985 if (cmd->scan_begin_src != TRIG_FOLLOW && in usbdux_ai_cmdtest() 986 cmd->scan_begin_src != TRIG_EXT && in usbdux_ai_cmdtest() 987 cmd->scan_begin_src != TRIG_TIMER) in usbdux_ai_cmdtest() 1001 if (cmd->scan_begin_src == TRIG_FOLLOW) { in usbdux_ai_cmdtest() 1009 if (cmd->scan_begin_src == TRIG_TIMER) { in usbdux_ai_cmdtest() 1515 tmp = cmd->scan_begin_src; in usbdux_ao_cmdtest() 1521 cmd->scan_begin_src &= TRIG_FOLLOW; in usbdux_ao_cmdtest() [all …]
|
D | das16.c | 781 tmp = cmd->scan_begin_src; in das16_cmd_test() 786 cmd->scan_begin_src &= mask; in das16_cmd_test() 787 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in das16_cmd_test() 816 if (cmd->scan_begin_src != TRIG_TIMER && in das16_cmd_test() 817 cmd->scan_begin_src != TRIG_EXT && in das16_cmd_test() 818 cmd->scan_begin_src != TRIG_FOLLOW) in das16_cmd_test() 827 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in das16_cmd_test() 829 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in das16_cmd_test() 841 if (cmd->scan_begin_src == TRIG_FOLLOW) { in das16_cmd_test() 854 if (cmd->scan_begin_src == TRIG_TIMER) { in das16_cmd_test() [all …]
|
D | das1800.c | 1200 tmp = cmd->scan_begin_src; in das1800_ai_do_cmdtest() 1201 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT; in das1800_ai_do_cmdtest() 1202 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in das1800_ai_do_cmdtest() 1228 if (cmd->scan_begin_src != TRIG_FOLLOW && in das1800_ai_do_cmdtest() 1229 cmd->scan_begin_src != TRIG_TIMER && in das1800_ai_do_cmdtest() 1230 cmd->scan_begin_src != TRIG_EXT) in das1800_ai_do_cmdtest() 1238 if (cmd->scan_begin_src != TRIG_FOLLOW && in das1800_ai_do_cmdtest() 1290 if (cmd->scan_begin_src == TRIG_FOLLOW) { in das1800_ai_do_cmdtest() 1312 if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_do_cmdtest() 1405 switch (cmd.scan_begin_src) { in control_c_bits() [all …]
|
D | dt3000.c | 485 tmp = cmd->scan_begin_src; in dt3k_ai_cmdtest() 486 cmd->scan_begin_src &= TRIG_TIMER; in dt3k_ai_cmdtest() 487 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in dt3k_ai_cmdtest() 520 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 567 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 582 if (cmd->scan_begin_src == TRIG_TIMER && in dt3k_ai_cmdtest() 668 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmd()
|