Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/comedi/drivers/
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()
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 …]
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()
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()
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()
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()
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.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()
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()
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()
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()
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()
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()
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()
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()
Dni_labpc_common.c507 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in labpc_ai_cmdtest()
524 err |= comedi_check_trigger_is_unique(cmd->start_src); in labpc_ai_cmdtest()
532 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
540 switch (cmd->start_src) { in labpc_ai_cmdtest()
751 if (cmd->start_src == TRIG_EXT) in labpc_ai_cmd()
Damplc_dio200_common.c354 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_INT); in dio200_subdev_intr_cmdtest()
365 err |= comedi_check_trigger_is_unique(cmd->start_src); in dio200_subdev_intr_cmdtest()
407 if (cmd->start_src == TRIG_INT) in dio200_subdev_intr_cmd()
Damplc_pc236_common.c74 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest()
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()
Daio_iiro_16.c107 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in aio_iiro_16_cos_cmdtest()
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()
Dcb_pcidas64.c2107 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW | TRIG_EXT); in ai_cmdtest()
2131 err |= comedi_check_trigger_is_unique(cmd->start_src); in ai_cmdtest()
2146 switch (cmd->start_src) { in ai_cmdtest()
2635 if (cmd->start_src == TRIG_EXT && CR_CHAN(cmd->start_arg)) in ai_cmd()
2649 if (cmd->start_src == TRIG_EXT) { in ai_cmd()
2653 } else if (cmd->start_src == TRIG_NOW) { in ai_cmd()
2665 if (cmd->start_src == TRIG_NOW) in ai_cmd()
3134 if (cmd->start_src == TRIG_EXT) { in set_dac_control0_reg()
3280 if (cmd->start_src == TRIG_INT) in ao_inttrig()
3342 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_INT | TRIG_EXT); in ao_cmdtest()
[all …]
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()
Dcomedi_parport.c152 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in parport_intr_cmdtest()
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