Home
last modified time | relevance | path

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

123

/linux/drivers/comedi/drivers/
H A Dni_tiocmd.c126 if (cmd->start_src == TRIG_INT) { in ni_tio_input_cmd()
132 if (cmd->start_src == TRIG_NOW) in ni_tio_input_cmd()
134 else if (cmd->start_src == TRIG_EXT) { in ni_tio_input_cmd()
249 err |= comedi_check_trigger_src(&cmd->start_src, sources); in ni_tio_cmdtest()
263 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_tio_cmdtest()
277 switch (cmd->start_src) { in ni_tio_cmdtest()
H A Dme4000.c712 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in me4000_ai_do_cmd_test()
726 err |= comedi_check_trigger_is_unique(cmd->start_src); in me4000_ai_do_cmd_test()
734 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
738 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
742 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
746 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
750 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
754 } else if (cmd->start_src == TRIG_EXT && in me4000_ai_do_cmd_test()
802 if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
824 } else if (cmd->start_src == TRIG_NOW && in me4000_ai_do_cmd_test()
[all …]
H A Dusbduxfast.c360 err |= comedi_check_trigger_src(&cmd->start_src, in usbduxfast_ai_cmdtest()
372 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxfast_ai_cmdtest()
388 if (cmd->start_src == TRIG_EXT && in usbduxfast_ai_cmdtest()
504 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
687 if (cmd->start_src == TRIG_EXT) { in usbduxfast_ai_cmd()
737 if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) { in usbduxfast_ai_cmd()
H A Dni_at_a2150.c401 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in a2150_ai_cmdtest()
412 err |= comedi_check_trigger_is_unique(cmd->start_src); in a2150_ai_cmdtest()
534 if (cmd->start_src == TRIG_NOW && in a2150_ai_cmd()
544 if (cmd->start_src == TRIG_EXT) { in a2150_ai_cmd()
546 } else if (cmd->start_src == TRIG_OTHER) { in a2150_ai_cmd()
557 if (cmd->start_src == TRIG_NOW) in a2150_ai_cmd()
H A Ddt2811.c258 if (cmd->start_src == TRIG_NOW) { in dt2811_ai_cmd()
399 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in dt2811_ai_cmdtest()
411 err |= comedi_check_trigger_is_unique(cmd->start_src); in dt2811_ai_cmdtest()
417 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest()
H A Damplc_pci224.c668 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in pci224_ao_cmdtest()
681 err |= comedi_check_trigger_is_unique(cmd->start_src); in pci224_ao_cmdtest()
692 if (cmd->start_src & TRIG_EXT) in pci224_ao_cmdtest()
706 switch (cmd->start_src) { in pci224_ao_cmdtest()
887 if (cmd->start_src == TRIG_INT) { in pci224_ao_cmd()
969 if (cmd->start_src == TRIG_EXT) in pci224_interrupt()
H A 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()
H A Ddas16m1.c174 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das16m1_ai_cmdtest()
186 err |= comedi_check_trigger_is_unique(cmd->start_src); in das16m1_ai_cmdtest()
281 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd()
H A Dpcmuio.c459 if (cmd->start_src == TRIG_INT) in pcmuio_cmd()
477 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmuio_cmdtest()
488 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmuio_cmdtest()
H A Dusbduxsigma.c479 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ai_cmdtest()
490 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ai_cmdtest()
672 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ai_cmd()
833 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbduxsigma_ao_cmdtest()
855 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbduxsigma_ao_cmdtest()
910 if (cmd->start_src == TRIG_NOW) { in usbduxsigma_ao_cmd()
H A Ddas800.c300 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das800_ai_do_cmdtest()
312 err |= comedi_check_trigger_is_unique(cmd->start_src); in das800_ai_do_cmdtest()
395 if (cmd->start_src == TRIG_EXT) in das800_ai_do_cmd()
H A 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()
H A Dcb_pcidas.c684 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in cb_pcidas_ai_cmdtest()
697 err |= comedi_check_trigger_is_unique(cmd->start_src); in cb_pcidas_ai_cmdtest()
708 if (cmd->start_src == TRIG_EXT && in cb_pcidas_ai_cmdtest()
717 switch (cmd->start_src) { in cb_pcidas_ai_cmdtest()
851 if (cmd->start_src == TRIG_NOW) { in cb_pcidas_ai_cmd()
898 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT); in cb_pcidas_ao_cmdtest()
H A Dusbdux.c514 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ai_cmdtest()
525 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ai_cmdtest()
710 if (cmd->start_src == TRIG_NOW) { in usbdux_ai_cmd()
874 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in usbdux_ao_cmdtest()
908 err |= comedi_check_trigger_is_unique(cmd->start_src); in usbdux_ao_cmdtest()
975 if (cmd->start_src == TRIG_NOW) { in usbdux_ao_cmd()
H A Dpcmmio.c456 if (cmd->start_src == TRIG_INT) in pcmmio_cmd()
474 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in pcmmio_cmdtest()
485 err |= comedi_check_trigger_is_unique(cmd->start_src); in pcmmio_cmdtest()
H A Dni_labpc_common.c512 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest()
529 err |= comedi_check_trigger_is_unique(cmd->start_src); in labpc_ai_cmdtest()
537 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
545 switch (cmd->start_src) { in labpc_ai_cmdtest()
756 if (cmd->start_src == TRIG_EXT) in labpc_ai_cmd()
H A Damplc_dio200_common.c408 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest()
419 err |= comedi_check_trigger_is_unique(cmd->start_src); in dio200_subdev_intr_cmdtest()
461 if (cmd->start_src == TRIG_INT) in dio200_subdev_intr_cmd()
H A Ds626.c1075 cmd->start_src == TRIG_EXT) { in s626_handle_dio_interrupt()
1736 if (cmd->start_src != TRIG_EXT) in s626_ai_cmd()
1758 cmd->start_src == TRIG_EXT) in s626_ai_cmd()
1765 switch (cmd->start_src) { in s626_ai_cmd()
1798 err |= comedi_check_trigger_src(&cmd->start_src, in s626_ai_cmdtest()
1812 err |= comedi_check_trigger_is_unique(cmd->start_src); in s626_ai_cmdtest()
1824 switch (cmd->start_src) { in s626_ai_cmdtest()
H A Damplc_pc236_common.c74 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
H A Ddas1800.c641 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in das1800_ai_cmdtest()
655 err |= comedi_check_trigger_is_unique(cmd->start_src); in das1800_ai_cmdtest()
668 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
866 if (cmd->start_src == TRIG_EXT) in das1800_ai_cmd()
H A Daio_iiro_16.c107 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
H A Dni_pcidio.c535 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in ni_pcidio_cmdtest()
547 err |= comedi_check_trigger_is_unique(cmd->start_src); in ni_pcidio_cmdtest()
719 if (cmd->start_src == TRIG_NOW) { in ni_pcidio_cmd()
H A Dcomedi_parport.c152 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
H A Ddt282x.c639 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in dt282x_ai_cmdtest()
805 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT); in dt282x_ao_cmdtest()
858 if (trig_num != cmd->start_src) in dt282x_ao_inttrig()
H A Daddi_apci_3120.c555 if (cmd->start_src == TRIG_EXT) in apci3120_ai_cmd()
601 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in apci3120_ai_cmdtest()
613 err |= comedi_check_trigger_is_unique(cmd->start_src); in apci3120_ai_cmdtest()

123