Home
last modified time | relevance | path

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

123

/drivers/staging/comedi/drivers/
Dcomedi_test.c232 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer()
262 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ai_cmdtest()
270 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ai_cmdtest()
304 if (cmd->stop_src == TRIG_COUNT) in waveform_ai_cmdtest()
490 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer()
540 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ao_cmdtest()
547 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ao_cmdtest()
562 if (cmd->stop_src == TRIG_COUNT) in waveform_ao_cmdtest()
Dni_labpc_common.c518 err |= comedi_check_trigger_src(&cmd->stop_src, stop_mask); in labpc_ai_cmdtest()
528 err |= comedi_check_trigger_is_unique(cmd->stop_src); in labpc_ai_cmdtest()
533 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
572 switch (cmd->stop_src) { in labpc_ai_cmdtest()
632 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd()
636 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd()
659 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd()
674 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd()
756 if (cmd->stop_src == TRIG_EXT) in labpc_ai_cmd()
781 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.c493 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start()
520 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
562 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
675 err |= comedi_check_trigger_src(&cmd->stop_src, in pci224_ao_cmdtest()
685 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci224_ao_cmdtest()
698 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest()
760 switch (cmd->stop_src) { in pci224_ao_cmdtest()
973 else if (cmd->stop_src == TRIG_EXT) in pci224_interrupt()
Ddt2814.c125 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest()
132 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2814_ai_cmdtest()
150 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
Dni_at_a2150.c175 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt()
180 if (cmd->stop_src == TRIG_NONE) { in a2150_interrupt()
201 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt()
407 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest()
415 err |= comedi_check_trigger_is_unique(cmd->stop_src); in a2150_ai_cmdtest()
435 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
Ddas16m1.c180 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16m1_ai_cmdtest()
189 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das16m1_ai_cmdtest()
209 if (cmd->stop_src == TRIG_COUNT) in das16m1_ai_cmdtest()
406 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
417 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
Ddmm32at.c273 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest()
280 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dmm32at_ai_cmdtest()
306 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest()
383 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd()
426 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
Ddt2811.c220 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt()
405 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2811_ai_cmdtest()
414 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2811_ai_cmdtest()
432 if (cmd->stop_src == TRIG_COUNT) in dt2811_ai_cmdtest()
Dpcl711.c200 if (cmd->stop_src == TRIG_COUNT && in pcl711_interrupt()
285 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest()
293 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl711_ai_cmdtest()
316 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
Ddas1800.c359 if (cmd->stop_src == TRIG_COUNT && in das1800_handle_fifo_not_empty()
486 } else if (cmd->stop_src == TRIG_COUNT && in das1800_ai_handler()
649 err |= comedi_check_trigger_src(&cmd->stop_src, in das1800_ai_cmdtest()
660 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das1800_ai_cmdtest()
670 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
691 switch (cmd->stop_src) { in das1800_ai_cmdtest()
866 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
907 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
Dquatech_daqp_cs.c238 if (cmd->stop_src == TRIG_COUNT && in daqp_interrupt()
387 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in daqp_ai_cmdtest()
396 err |= comedi_check_trigger_is_unique(cmd->stop_src); in daqp_ai_cmdtest()
436 if (cmd->stop_src == TRIG_COUNT) in daqp_ai_cmdtest()
571 if (cmd->stop_src == TRIG_COUNT) { in daqp_ai_cmd()
Dgsc_hpdi.c161 if (cmd->stop_src == TRIG_COUNT) { in gsc_hpdi_drain_dma()
314 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd()
364 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in gsc_hpdi_cmd_test()
371 err |= comedi_check_trigger_is_unique(cmd->stop_src); in gsc_hpdi_cmd_test()
389 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd_test()
Dni_labpc_isadma.c61 if (cmd->stop_src == TRIG_COUNT && in labpc_setup_dma()
96 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_dma()
Dpcmuio.c328 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev()
482 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest()
490 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmuio_cmdtest()
505 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
Dcb_pcidas.c691 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest()
701 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ai_cmdtest()
751 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest()
904 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ao_cmdtest()
912 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ao_cmdtest()
931 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_cmdtest()
1118 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ao_interrupt()
1158 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt()
1177 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt()
Dusbduxsigma.c229 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ai_handle_urb()
342 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ao_handle_urb()
484 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest()
492 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ai_cmdtest()
522 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest()
847 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest()
857 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ao_cmdtest()
873 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
Damplc_pci230.c915 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ao_cmdtest()
923 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ao_cmdtest()
978 if (cmd->stop_src == TRIG_COUNT) in pci230_ao_cmdtest()
1070 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1084 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1107 if (cmd->stop_src == TRIG_COUNT && num_scans == 0) in pci230_handle_ao_fifo()
1154 if (cmd->stop_src == TRIG_COUNT && in pci230_handle_ao_fifo()
1532 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest()
1542 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ai_cmdtest()
1642 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest()
[all …]
Dpcl818.c449 if (cmd->stop_src == TRIG_COUNT && in pcl818_ai_write_sample()
647 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in ai_cmdtest()
655 err |= comedi_check_trigger_is_unique(cmd->stop_src); in ai_cmdtest()
677 if (cmd->stop_src == TRIG_COUNT) in ai_cmdtest()
770 if (cmd->stop_src == TRIG_NONE || in pcl818_ai_cancel()
771 (cmd->stop_src == TRIG_COUNT && in pcl818_ai_cancel()
Ddas6402.c194 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt()
302 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest()
309 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das6402_ai_cmdtest()
325 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
Ddas800.c307 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das800_ai_do_cmdtest()
316 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das800_ai_do_cmdtest()
336 if (cmd->stop_src == TRIG_COUNT) in das800_ai_do_cmdtest()
477 if (cmd->stop_src == TRIG_COUNT && in das800_interrupt()
Dusbdux.c267 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ai_handle_urb()
382 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ao_handle_urb()
519 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest()
527 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ai_cmdtest()
572 if (cmd->stop_src == TRIG_COUNT) in usbdux_ai_cmdtest()
902 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest()
910 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ao_cmdtest()
936 if (cmd->stop_src == TRIG_COUNT) in usbdux_ao_cmdtest()
Ddt282x.c646 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ai_cmdtest()
654 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt282x_ai_cmdtest()
670 if (cmd->stop_src == TRIG_COUNT) in dt282x_ai_cmdtest()
811 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ao_cmdtest()
818 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt282x_ao_cmdtest()
833 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()
Dpcl816.c215 if (cmd->stop_src == TRIG_COUNT && in pcl816_ai_next_chan()
347 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl816_ai_cmdtest()
355 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl816_ai_cmdtest()
375 if (cmd->stop_src == TRIG_COUNT) in pcl816_ai_cmdtest()

123