Home
last modified time | relevance | path

Searched refs:convert_src (Results 1 – 25 of 49) sorted by relevance

12

/linux-3.4.99/drivers/staging/comedi/drivers/
Dpcm_common.c26 tmp = cmd->convert_src; in comedi_pcm_cmdtest()
27 cmd->convert_src &= TRIG_NOW; in comedi_pcm_cmdtest()
28 if (!cmd->convert_src || tmp != cmd->convert_src) in comedi_pcm_cmdtest()
52 if ((cmd->convert_src & (cmd->convert_src - 1)) != 0) in comedi_pcm_cmdtest()
Dcomedi_test.c317 tmp = cmd->convert_src; in waveform_ai_cmdtest()
318 cmd->convert_src &= TRIG_NOW | TRIG_TIMER; in waveform_ai_cmdtest()
319 if (!cmd->convert_src || tmp != cmd->convert_src) in waveform_ai_cmdtest()
339 if (cmd->convert_src != TRIG_NOW && cmd->convert_src != TRIG_TIMER) in waveform_ai_cmdtest()
353 if (cmd->convert_src == TRIG_NOW) { in waveform_ai_cmdtest()
364 if (cmd->convert_src == TRIG_TIMER && in waveform_ai_cmdtest()
411 if (cmd->convert_src == TRIG_TIMER) { in waveform_ai_cmdtest()
442 if (cmd->convert_src == TRIG_NOW) in waveform_ai_cmd()
444 else if (cmd->convert_src == TRIG_TIMER) in waveform_ai_cmd()
Dni_tiocmd.c195 } else if (cmd->convert_src == TRIG_EXT) { in ni_tio_cmd_setup()
258 tmp = cmd->convert_src; in ni_tio_cmdtest()
260 cmd->convert_src &= sources; in ni_tio_cmdtest()
261 if (!cmd->convert_src || tmp != cmd->convert_src) in ni_tio_cmdtest()
287 if (cmd->convert_src != TRIG_OTHER && in ni_tio_cmdtest()
288 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) in ni_tio_cmdtest()
293 if (cmd->convert_src != TRIG_NOW && cmd->scan_begin_src != TRIG_FOLLOW) in ni_tio_cmdtest()
312 if (cmd->convert_src != TRIG_EXT) { in ni_tio_cmdtest()
Dskel.c382 tmp = cmd->convert_src; in skel_ai_cmdtest()
383 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in skel_ai_cmdtest()
384 if (!cmd->convert_src || tmp != cmd->convert_src) in skel_ai_cmdtest()
407 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in skel_ai_cmdtest()
442 if (cmd->convert_src == TRIG_TIMER) { in skel_ai_cmdtest()
489 if (cmd->convert_src == TRIG_TIMER) { in skel_ai_cmdtest()
Ddas16m1.c235 tmp = cmd->convert_src; in das16m1_cmd_test()
236 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in das16m1_cmd_test()
237 if (!cmd->convert_src || tmp != cmd->convert_src) in das16m1_cmd_test()
258 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in das16m1_cmd_test()
278 if (cmd->convert_src == TRIG_TIMER) { in das16m1_cmd_test()
305 if (cmd->convert_src == TRIG_TIMER) { in das16m1_cmd_test()
387 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_cmd_exec()
396 if (cmd->convert_src == TRIG_TIMER) in das16m1_cmd_exec()
Dquatech_daqp_cs.c471 tmp = cmd->convert_src; in daqp_ai_cmdtest()
472 cmd->convert_src &= TRIG_TIMER | TRIG_NOW; in daqp_ai_cmdtest()
473 if (!cmd->convert_src || tmp != cmd->convert_src) in daqp_ai_cmdtest()
498 if (cmd->convert_src != TRIG_NOW && cmd->convert_src != TRIG_TIMER) in daqp_ai_cmdtest()
500 if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW) in daqp_ai_cmdtest()
527 if (cmd->scan_begin_src == TRIG_TIMER && cmd->convert_src == TRIG_TIMER in daqp_ai_cmdtest()
532 if (cmd->convert_src == TRIG_TIMER && cmd->convert_arg < MAX_SPEED) { in daqp_ai_cmdtest()
567 if (cmd->convert_src == TRIG_TIMER) { in daqp_ai_cmdtest()
617 if (cmd->convert_src == TRIG_TIMER) { in daqp_ai_cmd()
Dcb_pcidda.c432 printk("convert_src: %d\n", cmd->convert_src);
469 tmp = cmd->convert_src;
470 cmd->convert_src &= TRIG_TIMER | TRIG_EXT;
471 if (!cmd->convert_src || tmp != cmd->convert_src)
493 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT)
528 if (cmd->convert_src == TRIG_TIMER) {
575 if (cmd->convert_src == TRIG_TIMER) {
Dpcl812.c631 cmd->start_src, cmd->scan_begin_src, cmd->convert_src); in pcl812_cmdtest_out()
667 tmp = cmd->convert_src; in pcl812_ai_cmdtest()
669 cmd->convert_src &= TRIG_EXT; in pcl812_ai_cmdtest()
671 cmd->convert_src &= TRIG_TIMER; in pcl812_ai_cmdtest()
673 if (!cmd->convert_src || tmp != cmd->convert_src) in pcl812_ai_cmdtest()
712 if (cmd->convert_src != TRIG_EXT) { in pcl812_ai_cmdtest()
713 cmd->convert_src = TRIG_EXT; in pcl812_ai_cmdtest()
717 if (cmd->convert_src != TRIG_TIMER) { in pcl812_ai_cmdtest()
718 cmd->convert_src = TRIG_TIMER; in pcl812_ai_cmdtest()
753 if (cmd->convert_src == TRIG_TIMER) { in pcl812_ai_cmdtest()
[all …]
Dadl_pci9118.c979 tmp = cmd->convert_src; in pci9118_ai_cmdtest()
981 cmd->convert_src &= TRIG_TIMER | TRIG_EXT | TRIG_NOW; in pci9118_ai_cmdtest()
983 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in pci9118_ai_cmdtest()
985 if (!cmd->convert_src || tmp != cmd->convert_src) in pci9118_ai_cmdtest()
1021 if (cmd->convert_src != TRIG_TIMER && in pci9118_ai_cmdtest()
1022 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) { in pci9118_ai_cmdtest()
1023 cmd->convert_src = TRIG_TIMER; in pci9118_ai_cmdtest()
1050 (!(cmd->convert_src & (TRIG_TIMER | TRIG_NOW)))) { in pci9118_ai_cmdtest()
1051 cmd->convert_src = TRIG_TIMER; in pci9118_ai_cmdtest()
1056 (!(cmd->convert_src & (TRIG_TIMER | TRIG_EXT)))) { in pci9118_ai_cmdtest()
[all …]
Dcb_pcidas.c1097 tmp = cmd->convert_src; in cb_pcidas_ai_cmdtest()
1098 cmd->convert_src &= TRIG_TIMER | TRIG_NOW | TRIG_EXT; in cb_pcidas_ai_cmdtest()
1099 if (!cmd->convert_src || tmp != cmd->convert_src) in cb_pcidas_ai_cmdtest()
1123 if (cmd->convert_src != TRIG_TIMER && in cb_pcidas_ai_cmdtest()
1124 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) 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()
1174 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
1208 if (cmd->convert_src == TRIG_TIMER) { in cb_pcidas_ai_cmdtest()
[all …]
Ddas800.c625 tmp = cmd->convert_src; in das800_ai_do_cmdtest()
626 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in das800_ai_do_cmdtest()
627 if (!cmd->convert_src || tmp != cmd->convert_src) in das800_ai_do_cmdtest()
647 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in das800_ai_do_cmdtest()
661 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest()
692 if (cmd->convert_src == TRIG_TIMER) { in das800_ai_do_cmdtest()
784 switch (async->cmd.convert_src) { in das800_ai_do_cmd()
Dcb_das16_cs.c353 tmp = cmd->convert_src; in das16cs_ai_cmdtest()
354 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in das16cs_ai_cmdtest()
355 if (!cmd->convert_src || tmp != cmd->convert_src) in das16cs_ai_cmdtest()
378 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in das16cs_ai_cmdtest()
413 if (cmd->convert_src == TRIG_TIMER) { in das16cs_ai_cmdtest()
463 if (cmd->convert_src == TRIG_TIMER) { in das16cs_ai_cmdtest()
Dcomedi_parport.c214 tmp = cmd->convert_src; in parport_intr_cmdtest()
215 cmd->convert_src &= TRIG_FOLLOW; in parport_intr_cmdtest()
216 if (!cmd->convert_src || tmp != cmd->convert_src) in parport_intr_cmdtest()
Dpcl816.c488 cmd->start_src, cmd->scan_begin_src, cmd->convert_src); in pcl816_cmdtest_out()
521 tmp = cmd->convert_src; in pcl816_ai_cmdtest()
522 cmd->convert_src &= TRIG_EXT | TRIG_TIMER; in pcl816_ai_cmdtest()
523 if (!cmd->convert_src || tmp != cmd->convert_src) in pcl816_ai_cmdtest()
555 if (cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_TIMER) { in pcl816_ai_cmdtest()
556 cmd->convert_src = TRIG_TIMER; in pcl816_ai_cmdtest()
582 if (cmd->convert_src == TRIG_TIMER) { in pcl816_ai_cmdtest()
615 if (cmd->convert_src == TRIG_TIMER) { in pcl816_ai_cmdtest()
660 if (cmd->convert_src == TRIG_TIMER) { in pcl816_ai_cmd()
744 switch (cmd->convert_src) { in pcl816_ai_cmd()
Dme4000.c1279 cmd->convert_src == TRIG_TIMER) || in ai_prepare()
1282 cmd->convert_src == TRIG_TIMER)) { in ai_prepare()
1288 cmd->convert_src == TRIG_TIMER) { in ai_prepare()
1294 cmd->convert_src == TRIG_EXT) { in ai_prepare()
1434 cmd->convert_src); in me4000_ai_do_cmd_test()
1489 switch (cmd->convert_src) { in me4000_ai_do_cmd_test()
1494 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in me4000_ai_do_cmd_test()
1501 cmd->convert_src = TRIG_TIMER; in me4000_ai_do_cmd_test()
1542 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
1545 cmd->convert_src == TRIG_TIMER) { in me4000_ai_do_cmd_test()
[all …]
Ddmm32at.c578 tmp = cmd->convert_src; in dmm32at_ai_cmdtest()
579 cmd->convert_src &= TRIG_TIMER /*| TRIG_EXT */ ; in dmm32at_ai_cmdtest()
580 if (!cmd->convert_src || tmp != cmd->convert_src) in dmm32at_ai_cmdtest()
603 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in dmm32at_ai_cmdtest()
638 if (cmd->convert_src == TRIG_TIMER) { in dmm32at_ai_cmdtest()
690 if (cmd->convert_src == TRIG_TIMER) { in dmm32at_ai_cmdtest()
Damplc_pci230.c1307 tmp = cmd->convert_src; in pci230_ao_cmdtest()
1308 cmd->convert_src &= TRIG_NOW; in pci230_ao_cmdtest()
1309 if (!cmd->convert_src || tmp != cmd->convert_src) in pci230_ao_cmdtest()
1334 if ((cmd->convert_src & (cmd->convert_src - 1)) != 0) in pci230_ao_cmdtest()
1746 tmp = cmd->convert_src; in pci230_ai_cmdtest()
1747 cmd->convert_src &= TRIG_TIMER | TRIG_INT | TRIG_EXT; in pci230_ai_cmdtest()
1748 if (!cmd->convert_src || tmp != cmd->convert_src) in pci230_ai_cmdtest()
1773 if ((cmd->convert_src & (cmd->convert_src - 1)) != 0) in pci230_ai_cmdtest()
1783 && (cmd->convert_src != TRIG_TIMER)) in pci230_ai_cmdtest()
1805 if (cmd->convert_src == TRIG_TIMER) { in pci230_ai_cmdtest()
[all …]
D8255.c261 tmp = cmd->convert_src; in subdev_8255_cmdtest()
262 cmd->convert_src &= TRIG_FOLLOW; in subdev_8255_cmdtest()
263 if (!cmd->convert_src || tmp != cmd->convert_src) in subdev_8255_cmdtest()
Ddas16.c790 tmp = cmd->convert_src; in das16_cmd_test()
795 cmd->convert_src &= mask; in das16_cmd_test()
796 if (!cmd->convert_src || tmp != cmd->convert_src) in das16_cmd_test()
820 if (cmd->convert_src != TRIG_TIMER && in das16_cmd_test()
821 cmd->convert_src != TRIG_EXT && cmd->convert_src != TRIG_NOW) 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()
862 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
889 if (cmd->convert_src == TRIG_TIMER) { in das16_cmd_test()
981 if (cmd->convert_src == TRIG_NOW) { in das16_cmd_exec()
[all …]
Ddt2814.c169 tmp = cmd->convert_src; in dt2814_ai_cmdtest()
170 cmd->convert_src &= TRIG_NOW; in dt2814_ai_cmdtest()
171 if (!cmd->convert_src || tmp != cmd->convert_src) in dt2814_ai_cmdtest()
Dadl_pci9111.c635 pci9111_check_trigger_src(cmd->convert_src, TRIG_TIMER | TRIG_EXT); in pci9111_ai_do_cmd_test()
653 if ((cmd->convert_src != TRIG_TIMER) && (cmd->convert_src != TRIG_EXT)) in pci9111_ai_do_cmd_test()
655 if ((cmd->convert_src == TRIG_TIMER) && in pci9111_ai_do_cmd_test()
659 if ((cmd->convert_src == TRIG_EXT) && in pci9111_ai_do_cmd_test()
690 if ((cmd->convert_src == TRIG_TIMER) && in pci9111_ai_do_cmd_test()
695 if ((cmd->convert_src == TRIG_EXT) && (cmd->convert_arg != 0)) { in pci9111_ai_do_cmd_test()
735 if (cmd->convert_src == TRIG_TIMER) { in pci9111_ai_do_cmd_test()
870 switch (async_cmd->convert_src) { in pci9111_ai_do_cmd()
Ddas1800.c1205 tmp = cmd->convert_src; in das1800_ai_do_cmdtest()
1206 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in das1800_ai_do_cmdtest()
1207 if (!cmd->convert_src || tmp != cmd->convert_src) in das1800_ai_do_cmdtest()
1232 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in das1800_ai_do_cmdtest()
1239 cmd->convert_src != TRIG_TIMER) in das1800_ai_do_cmdtest()
1251 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_do_cmdtest()
1288 if (cmd->convert_src == TRIG_TIMER) { in das1800_ai_do_cmdtest()
1407 switch (cmd.convert_src) { in control_c_bits()
1441 if (cmd.convert_src == TRIG_TIMER) { in setup_counters()
1787 if (cmd->convert_src == TRIG_TIMER) in suggest_transfer_size()
Dni_daq_700.c228 tmp = cmd->convert_src; in subdev_700_cmdtest()
229 cmd->convert_src &= TRIG_FOLLOW; in subdev_700_cmdtest()
230 if (!cmd->convert_src || tmp != cmd->convert_src) in subdev_700_cmdtest()
Dni_labpc.c964 if (cmd->convert_src != TRIG_TIMER) in labpc_ai_convert_period()
976 if (cmd->convert_src != TRIG_TIMER) in labpc_set_ai_convert_period()
994 cmd->convert_src == TRIG_TIMER) in labpc_ai_scan_period()
1006 cmd->convert_src == TRIG_TIMER) in labpc_set_ai_scan_period()
1031 tmp = cmd->convert_src; in labpc_ai_cmdtest()
1032 cmd->convert_src &= TRIG_TIMER | TRIG_EXT; in labpc_ai_cmdtest()
1033 if (!cmd->convert_src || tmp != cmd->convert_src) in labpc_ai_cmdtest()
1060 if (cmd->convert_src != TRIG_TIMER && cmd->convert_src != TRIG_EXT) in labpc_ai_cmdtest()
1088 if (cmd->convert_src == TRIG_TIMER) { in labpc_ai_cmdtest()
1096 if (cmd->convert_src == TRIG_TIMER && in labpc_ai_cmdtest()
[all …]
/linux-3.4.99/drivers/staging/comedi/
Dcomedi_compat32.c65 unsigned int convert_src; member
197 err |= __get_user(temp.uint, &cmd32->convert_src); in get_compat_cmd()
198 err |= __put_user(temp.uint, &cmd->convert_src); in get_compat_cmd()
248 err |= __get_user(temp, &cmd->convert_src); in put_compat_cmd()
249 err |= __put_user(temp, &cmd32->convert_src); in put_compat_cmd()

12