/linux-2.6.39/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 | 1287 tmp = cmd->scan_begin_src; in pci230_ao_cmdtest() 1303 cmd->scan_begin_src &= TRIG_TIMER | TRIG_INT | TRIG_EXT; in pci230_ao_cmdtest() 1305 cmd->scan_begin_src &= TRIG_TIMER | TRIG_INT; in pci230_ao_cmdtest() 1307 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in pci230_ao_cmdtest() 1335 if ((cmd->scan_begin_src & (cmd->scan_begin_src - 1)) != 0) in pci230_ao_cmdtest() 1361 switch (cmd->scan_begin_src) { in pci230_ao_cmdtest() 1417 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmdtest() 1537 switch (cmd->scan_begin_src) { in pci230_ao_start() 1565 switch (cmd->scan_begin_src) { in pci230_ao_start() 1620 if (cmd->scan_begin_src == TRIG_TIMER) { in pci230_ao_cmd() [all …]
|
D | cb_pcidda.c | 437 printk("scan_begin_src: %d\n", cmd->scan_begin_src); 470 tmp = cmd->scan_begin_src; 471 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; 472 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) 496 if (cmd->scan_begin_src != TRIG_TIMER 497 && cmd->scan_begin_src != TRIG_EXT) 516 if (cmd->scan_begin_src == TRIG_TIMER) { 574 if (cmd->scan_begin_src == TRIG_TIMER) { 587 if (cmd->scan_begin_src == TRIG_TIMER &&
|
D | adl_pci9118.c | 969 tmp = cmd->scan_begin_src; in pci9118_ai_cmdtest() 971 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT | TRIG_FOLLOW; in pci9118_ai_cmdtest() 973 cmd->scan_begin_src &= TRIG_FOLLOW; in pci9118_ai_cmdtest() 975 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in pci9118_ai_cmdtest() 1012 if (cmd->scan_begin_src != TRIG_TIMER && in pci9118_ai_cmdtest() 1013 cmd->scan_begin_src != TRIG_EXT && in pci9118_ai_cmdtest() 1014 cmd->scan_begin_src != TRIG_INT && in pci9118_ai_cmdtest() 1015 cmd->scan_begin_src != TRIG_FOLLOW) { in pci9118_ai_cmdtest() 1016 cmd->scan_begin_src = TRIG_FOLLOW; in pci9118_ai_cmdtest() 1038 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) { in pci9118_ai_cmdtest() [all …]
|
D | cb_pcidas.c | 1094 tmp = cmd->scan_begin_src; in cb_pcidas_ai_cmdtest() 1095 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT; in cb_pcidas_ai_cmdtest() 1096 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in cb_pcidas_ai_cmdtest() 1121 if (cmd->scan_begin_src != TRIG_FOLLOW && in cb_pcidas_ai_cmdtest() 1122 cmd->scan_begin_src != TRIG_TIMER && in cb_pcidas_ai_cmdtest() 1123 cmd->scan_begin_src != TRIG_EXT) in cb_pcidas_ai_cmdtest() 1132 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in cb_pcidas_ai_cmdtest() 1134 if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW) in cb_pcidas_ai_cmdtest() 1137 (cmd->convert_src == TRIG_EXT || cmd->scan_begin_src == TRIG_EXT)) in cb_pcidas_ai_cmdtest() 1168 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 | 350 tmp = cmd->scan_begin_src; in das16cs_ai_cmdtest() 351 cmd->scan_begin_src &= TRIG_TIMER | TRIG_EXT; in das16cs_ai_cmdtest() 352 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in das16cs_ai_cmdtest() 376 if (cmd->scan_begin_src != TRIG_TIMER && in das16cs_ai_cmdtest() 377 cmd->scan_begin_src != TRIG_EXT) in das16cs_ai_cmdtest() 396 if (cmd->scan_begin_src == TRIG_TIMER) { in das16cs_ai_cmdtest() 454 if (cmd->scan_begin_src == TRIG_TIMER) { in das16cs_ai_cmdtest() 473 if (cmd->scan_begin_src == TRIG_TIMER && in das16cs_ai_cmdtest()
|
D | adl_pci9111.c | 635 pci9111_check_trigger_src(cmd->scan_begin_src, in pci9111_ai_do_cmd_test() 650 if ((cmd->scan_begin_src != TRIG_TIMER) && in pci9111_ai_do_cmd_test() 651 (cmd->scan_begin_src != TRIG_FOLLOW) && in pci9111_ai_do_cmd_test() 652 (cmd->scan_begin_src != TRIG_EXT)) in pci9111_ai_do_cmd_test() 658 !((cmd->scan_begin_src == TRIG_TIMER) || in pci9111_ai_do_cmd_test() 659 (cmd->scan_begin_src == TRIG_FOLLOW))) in pci9111_ai_do_cmd_test() 662 !((cmd->scan_begin_src == TRIG_EXT) || in pci9111_ai_do_cmd_test() 663 (cmd->scan_begin_src == TRIG_FOLLOW))) in pci9111_ai_do_cmd_test() 702 if ((cmd->scan_begin_src == TRIG_TIMER) && in pci9111_ai_do_cmd_test() 707 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 | 749 tmp = cmd->scan_begin_src; in dt282x_ai_cmdtest() 750 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_EXT; in dt282x_ai_cmdtest() 751 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in dt282x_ai_cmdtest() 778 if (cmd->scan_begin_src != TRIG_FOLLOW && in dt282x_ai_cmdtest() 779 cmd->scan_begin_src != TRIG_EXT) in dt282x_ai_cmdtest() 793 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmdtest() 870 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmd() 901 if (cmd->scan_begin_src == TRIG_FOLLOW) { in dt282x_ai_cmd() 1026 tmp = cmd->scan_begin_src; in dt282x_ao_cmdtest() 1027 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 | 755 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_handle_fifo() 811 tmp = cmd->scan_begin_src; in pci224_ao_cmdtest() 812 cmd->scan_begin_src &= TRIG_EXT | TRIG_TIMER; in pci224_ao_cmdtest() 813 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in pci224_ao_cmdtest() 840 if ((cmd->scan_begin_src & (cmd->scan_begin_src - 1)) != 0) in pci224_ao_cmdtest() 854 if (cmd->scan_begin_src & TRIG_EXT) in pci224_ao_cmdtest() 889 switch (cmd->scan_begin_src) { in pci224_ao_cmdtest() 965 if (cmd->scan_begin_src == TRIG_TIMER) { in pci224_ao_cmdtest() 1123 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 | 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() 1514 tmp = cmd->scan_begin_src; in usbdux_ao_cmdtest() 1520 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 | 1196 tmp = cmd->scan_begin_src; in das1800_ai_do_cmdtest() 1197 cmd->scan_begin_src &= TRIG_FOLLOW | TRIG_TIMER | TRIG_EXT; in das1800_ai_do_cmdtest() 1198 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in das1800_ai_do_cmdtest() 1224 if (cmd->scan_begin_src != TRIG_FOLLOW && in das1800_ai_do_cmdtest() 1225 cmd->scan_begin_src != TRIG_TIMER && in das1800_ai_do_cmdtest() 1226 cmd->scan_begin_src != TRIG_EXT) in das1800_ai_do_cmdtest() 1234 if (cmd->scan_begin_src != TRIG_FOLLOW && in das1800_ai_do_cmdtest() 1286 if (cmd->scan_begin_src == TRIG_FOLLOW) { in das1800_ai_do_cmdtest() 1308 if (cmd->scan_begin_src == TRIG_TIMER) { in das1800_ai_do_cmdtest() 1402 switch (cmd.scan_begin_src) { in control_c_bits() [all …]
|
D | dt3000.c | 484 tmp = cmd->scan_begin_src; in dt3k_ai_cmdtest() 485 cmd->scan_begin_src &= TRIG_TIMER; in dt3k_ai_cmdtest() 486 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in dt3k_ai_cmdtest() 519 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 566 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmdtest() 581 if (cmd->scan_begin_src == TRIG_TIMER && in dt3k_ai_cmdtest() 667 if (cmd->scan_begin_src == TRIG_TIMER) { in dt3k_ai_cmd()
|
D | ni_daq_700.c | 223 tmp = cmd->scan_begin_src; in subdev_700_cmdtest() 224 cmd->scan_begin_src &= TRIG_EXT; in subdev_700_cmdtest() 225 if (!cmd->scan_begin_src || tmp != cmd->scan_begin_src) in subdev_700_cmdtest()
|