Home
last modified time | relevance | path

Searched refs:stop_src (Results 1 – 25 of 57) sorted by relevance

123

/drivers/comedi/drivers/
Dcomedi_test.c230 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer()
260 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ai_cmdtest()
268 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ai_cmdtest()
302 if (cmd->stop_src == TRIG_COUNT) in waveform_ai_cmdtest()
488 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer()
538 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ao_cmdtest()
545 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ao_cmdtest()
560 if (cmd->stop_src == TRIG_COUNT) in waveform_ao_cmdtest()
Ddt2814.c157 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest()
164 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2814_ai_cmdtest()
182 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
281 if (async->cmd.stop_src == TRIG_COUNT && in dt2814_interrupt()
Dni_labpc_common.c517 err |= comedi_check_trigger_src(&cmd->stop_src, stop_mask); in labpc_ai_cmdtest()
527 err |= comedi_check_trigger_is_unique(cmd->stop_src); in labpc_ai_cmdtest()
532 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
571 switch (cmd->stop_src) { in labpc_ai_cmdtest()
631 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd()
635 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd()
658 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd()
673 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd()
755 if (cmd->stop_src == TRIG_EXT) in labpc_ai_cmd()
780 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo()
[all …]
Daddi_apci_2032.c89 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci2032_int_cmdtest()
95 err |= comedi_check_trigger_is_unique(cmd->stop_src); in apci2032_int_cmdtest()
109 if (cmd->stop_src == TRIG_COUNT) in apci2032_int_cmdtest()
204 if (cmd->stop_src == TRIG_COUNT && in apci2032_interrupt()
Damplc_pci224.c491 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start()
518 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
560 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
673 err |= comedi_check_trigger_src(&cmd->stop_src, in pci224_ao_cmdtest()
683 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci224_ao_cmdtest()
696 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest()
758 switch (cmd->stop_src) { in pci224_ao_cmdtest()
971 else if (cmd->stop_src == TRIG_EXT) in pci224_interrupt()
Dni_at_a2150.c173 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt()
178 if (cmd->stop_src == TRIG_NONE) { in a2150_interrupt()
199 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt()
405 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest()
413 err |= comedi_check_trigger_is_unique(cmd->stop_src); in a2150_ai_cmdtest()
433 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
Ddas16m1.c179 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16m1_ai_cmdtest()
188 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das16m1_ai_cmdtest()
208 if (cmd->stop_src == TRIG_COUNT) in das16m1_ai_cmdtest()
405 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
416 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
Ddmm32at.c272 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest()
279 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dmm32at_ai_cmdtest()
305 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest()
382 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd()
425 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
Dpcl711.c198 if (cmd->stop_src == TRIG_COUNT && in pcl711_interrupt()
283 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest()
291 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl711_ai_cmdtest()
314 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
Ddt2811.c219 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt()
404 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2811_ai_cmdtest()
413 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2811_ai_cmdtest()
431 if (cmd->stop_src == TRIG_COUNT) in dt2811_ai_cmdtest()
Ddas1800.c357 if (cmd->stop_src == TRIG_COUNT && in das1800_handle_fifo_not_empty()
484 } else if (cmd->stop_src == TRIG_COUNT && in das1800_ai_handler()
647 err |= comedi_check_trigger_src(&cmd->stop_src, in das1800_ai_cmdtest()
658 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das1800_ai_cmdtest()
668 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
689 switch (cmd->stop_src) { in das1800_ai_cmdtest()
864 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
905 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
Dquatech_daqp_cs.c237 if (cmd->stop_src == TRIG_COUNT && in daqp_interrupt()
386 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in daqp_ai_cmdtest()
395 err |= comedi_check_trigger_is_unique(cmd->stop_src); in daqp_ai_cmdtest()
435 if (cmd->stop_src == TRIG_COUNT) in daqp_ai_cmdtest()
570 if (cmd->stop_src == TRIG_COUNT) { in daqp_ai_cmd()
Dgsc_hpdi.c160 if (cmd->stop_src == TRIG_COUNT) { in gsc_hpdi_drain_dma()
313 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd()
363 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in gsc_hpdi_cmd_test()
370 err |= comedi_check_trigger_is_unique(cmd->stop_src); in gsc_hpdi_cmd_test()
388 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd_test()
Dni_labpc_isadma.c60 if (cmd->stop_src == TRIG_COUNT && in labpc_setup_dma()
95 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_dma()
Dpcmuio.c327 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev()
481 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest()
489 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmuio_cmdtest()
504 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
Dcb_pcidas.c690 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest()
700 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ai_cmdtest()
750 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest()
903 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ao_cmdtest()
911 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ao_cmdtest()
930 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_cmdtest()
1117 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ao_interrupt()
1157 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt()
1176 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt()
Dusbduxsigma.c228 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ai_handle_urb()
341 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ao_handle_urb()
483 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest()
491 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ai_cmdtest()
521 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest()
846 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest()
856 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ao_cmdtest()
872 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
Damplc_pci230.c913 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ao_cmdtest()
921 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ao_cmdtest()
976 if (cmd->stop_src == TRIG_COUNT) in pci230_ao_cmdtest()
1068 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1082 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1105 if (cmd->stop_src == TRIG_COUNT && num_scans == 0) in pci230_handle_ao_fifo()
1152 if (cmd->stop_src == TRIG_COUNT && in pci230_handle_ao_fifo()
1530 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest()
1540 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ai_cmdtest()
1640 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest()
[all …]
Dpcl818.c447 if (cmd->stop_src == TRIG_COUNT && in pcl818_ai_write_sample()
645 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in ai_cmdtest()
653 err |= comedi_check_trigger_is_unique(cmd->stop_src); in ai_cmdtest()
675 if (cmd->stop_src == TRIG_COUNT) in ai_cmdtest()
768 if (cmd->stop_src == TRIG_NONE || in pcl818_ai_cancel()
769 (cmd->stop_src == TRIG_COUNT && in pcl818_ai_cancel()
Ddas800.c305 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das800_ai_do_cmdtest()
314 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das800_ai_do_cmdtest()
334 if (cmd->stop_src == TRIG_COUNT) in das800_ai_do_cmdtest()
475 if (cmd->stop_src == TRIG_COUNT && in das800_interrupt()
Ddas6402.c192 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt()
300 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest()
307 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das6402_ai_cmdtest()
323 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
Dusbdux.c266 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ai_handle_urb()
381 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ao_handle_urb()
518 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest()
526 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ai_cmdtest()
571 if (cmd->stop_src == TRIG_COUNT) in usbdux_ai_cmdtest()
901 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest()
909 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ao_cmdtest()
935 if (cmd->stop_src == TRIG_COUNT) in usbdux_ao_cmdtest()
Ddt282x.c644 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ai_cmdtest()
652 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt282x_ai_cmdtest()
668 if (cmd->stop_src == TRIG_COUNT) in dt282x_ai_cmdtest()
809 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ao_cmdtest()
816 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt282x_ao_cmdtest()
831 if (cmd->stop_src == TRIG_COUNT) in dt282x_ao_cmdtest()
Daddi_apci_3120.c216 if (cmd->stop_src == TRIG_COUNT) { in apci3120_setup_dma()
455 (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg)) in apci3120_interrupt_dma()
528 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in apci3120_interrupt()
606 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci3120_ai_cmdtest()
615 err |= comedi_check_trigger_is_unique(cmd->stop_src); in apci3120_ai_cmdtest()
638 if (cmd->stop_src == TRIG_COUNT) in apci3120_ai_cmdtest()
Dadl_pci9111.c250 err |= comedi_check_trigger_src(&cmd->stop_src, in pci9111_ai_do_cmd_test()
260 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci9111_ai_do_cmd_test()
293 if (cmd->stop_src == TRIG_COUNT) in pci9111_ai_do_cmd_test()
503 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()

123