Home
last modified time | relevance | path

Searched refs:start_src (Results 1 – 25 of 53) sorted by relevance

123

/drivers/staging/comedi/drivers/
Dni_tiocmd.c132 if (cmd->start_src == TRIG_INT) { in ni_tio_input_cmd()
138 if (cmd->start_src == TRIG_NOW) in ni_tio_input_cmd()
140 else if (cmd->start_src == TRIG_EXT) in ni_tio_input_cmd()
223 err |= comedi_check_trigger_src(&cmd->start_src, sources); in ni_tio_cmdtest()
237 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_tio_cmdtest()
251 switch (cmd->start_src) { in ni_tio_cmdtest()
Dme4000.c722 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test()
736 err |= comedi_check_trigger_is_unique(cmd->start_src); in me4000_ai_do_cmd_test()
744 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
748 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
752 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
756 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
760 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
764 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
812 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
834 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
[all …]
Dusbduxfast.c367 err |= comedi_check_trigger_src(&cmd->start_src, in usbduxfast_ai_cmdtest()
379 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxfast_ai_cmdtest()
395 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest()
506 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
689 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
739 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
Dni_at_a2150.c412 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest()
423 err |= comedi_check_trigger_is_unique(cmd->start_src); in a2150_ai_cmdtest()
545 if (cmd->start_src == TRIG_NOW && in a2150_ai_cmd()
555 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
557 } else if (cmd->start_src == TRIG_OTHER) { in a2150_ai_cmd()
568 if (cmd->start_src == TRIG_NOW) in a2150_ai_cmd()
Ddt2811.c268 if (cmd->start_src == TRIG_NOW) { in dt2811_ai_cmd()
409 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest()
421 err |= comedi_check_trigger_is_unique(cmd->start_src); in dt2811_ai_cmdtest()
427 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
Damplc_pci224.c673 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest()
686 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci224_ao_cmdtest()
697 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest()
711 switch (cmd->start_src) { in pci224_ao_cmdtest()
890 if (cmd->start_src == TRIG_INT) { in pci224_ao_cmd()
972 if (cmd->start_src == TRIG_EXT) in pci224_interrupt()
Dadl_pci9118.c930 if (cmd->start_src == TRIG_EXT) in pci9118_ai_cmd()
1129 if (cmd->start_src == TRIG_NOW) in pci9118_ai_cmd()
1131 else if (cmd->start_src == TRIG_INT) in pci9118_ai_cmd()
1135 if (cmd->start_src == TRIG_EXT || cmd->stop_src == TRIG_EXT) in pci9118_ai_cmd()
1152 err |= comedi_check_trigger_src(&cmd->start_src, in pci9118_ai_cmdtest()
1174 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci9118_ai_cmdtest()
1181 if (cmd->start_src == TRIG_EXT && cmd->scan_begin_src == TRIG_EXT) in pci9118_ai_cmdtest()
1200 switch (cmd->start_src) { in pci9118_ai_cmdtest()
Ddas16m1.c184 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest()
196 err |= comedi_check_trigger_is_unique(cmd->start_src); in das16m1_ai_cmdtest()
291 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
Dpcmuio.c469 if (cmd->start_src == TRIG_INT) in pcmuio_cmd()
487 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmuio_cmdtest()
498 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmuio_cmdtest()
Dusbduxsigma.c489 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ai_cmdtest()
500 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ai_cmdtest()
682 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ai_cmd()
843 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ao_cmdtest()
865 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ao_cmdtest()
920 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ao_cmd()
Ddas800.c311 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest()
323 err |= comedi_check_trigger_is_unique(cmd->start_src); in das800_ai_do_cmdtest()
406 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
Dadv_pci1710.c540 if (cmd->start_src == TRIG_EXT) { in pci1710_ai_cmd()
552 if (cmd->start_src == TRIG_NOW) in pci1710_ai_cmd()
570 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in pci1710_ai_cmdtest()
582 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci1710_ai_cmdtest()
Dusbdux.c524 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ai_cmdtest()
535 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ai_cmdtest()
720 if (cmd->start_src == TRIG_NOW) { in usbdux_ai_cmd()
885 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ao_cmdtest()
919 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ao_cmdtest()
986 if (cmd->start_src == TRIG_NOW) { in usbdux_ao_cmd()
Dcb_pcidas.c694 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
707 err |= comedi_check_trigger_is_unique(cmd->start_src); in cb_pcidas_ai_cmdtest()
718 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest()
727 switch (cmd->start_src) { in cb_pcidas_ai_cmdtest()
861 if (cmd->start_src == TRIG_NOW) { in cb_pcidas_ai_cmd()
908 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT); in cb_pcidas_ao_cmdtest()
Dpcmmio.c466 if (cmd->start_src == TRIG_INT) in pcmmio_cmd()
484 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmmio_cmdtest()
495 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmmio_cmdtest()
Dni_labpc_common.c517 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest()
534 err |= comedi_check_trigger_is_unique(cmd->start_src); in labpc_ai_cmdtest()
542 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
550 switch (cmd->start_src) { in labpc_ai_cmdtest()
762 if (cmd->start_src == TRIG_EXT) in labpc_ai_cmd()
Ds626.c1076 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1738 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd()
1760 cmd->start_src == TRIG_EXT) in s626_ai_cmd()
1767 switch (cmd->start_src) { in s626_ai_cmd()
1800 err |= comedi_check_trigger_src(&cmd->start_src, in s626_ai_cmdtest()
1814 err |= comedi_check_trigger_is_unique(cmd->start_src); in s626_ai_cmdtest()
1826 switch (cmd->start_src) { in s626_ai_cmdtest()
Damplc_dio200_common.c376 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest()
387 err |= comedi_check_trigger_is_unique(cmd->start_src); in dio200_subdev_intr_cmdtest()
429 if (cmd->start_src == TRIG_INT) in dio200_subdev_intr_cmd()
Ddas1800.c652 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest()
666 err |= comedi_check_trigger_is_unique(cmd->start_src); in das1800_ai_cmdtest()
679 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
877 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd()
Damplc_pc236_common.c84 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
Dcb_pcidas64.c2125 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest()
2149 err |= comedi_check_trigger_is_unique(cmd->start_src); in ai_cmdtest()
2164 switch (cmd->start_src) { in ai_cmdtest()
2652 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd()
2666 if (cmd->start_src == TRIG_EXT) { in ai_cmd()
2670 } else if (cmd->start_src == TRIG_NOW) { in ai_cmd()
2682 if (cmd->start_src == TRIG_NOW) in ai_cmd()
3145 if (cmd->start_src == TRIG_EXT) { in set_dac_control0_reg()
3293 if (cmd->start_src == TRIG_INT) in ao_inttrig()
3355 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in ao_cmdtest()
[all …]
Daio_iiro_16.c117 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
Dni_pcidio.c530 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in ni_pcidio_cmdtest()
542 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_pcidio_cmdtest()
714 if (cmd->start_src == TRIG_NOW) { in ni_pcidio_cmd()
Daddi_apci_3120.c564 if (cmd->start_src == TRIG_EXT) in apci3120_ai_cmd()
610 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in apci3120_ai_cmdtest()
622 err |= comedi_check_trigger_is_unique(cmd->start_src); in apci3120_ai_cmdtest()
/drivers/staging/comedi/
Dcomedi_compat32.c59 unsigned int start_src; member
184 err |= __get_user(temp.uint, &cmd32->start_src); in get_compat_cmd()
185 err |= __put_user(temp.uint, &cmd->start_src); in get_compat_cmd()
238 err |= __get_user(temp, &cmd->start_src); in put_compat_cmd()
239 err |= __put_user(temp, &cmd32->start_src); in put_compat_cmd()

123