Home
last modified time | relevance | path

Searched refs:TRIG_COUNT (Results 1 – 25 of 55) 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()
261 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in waveform_ai_cmdtest()
262 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
539 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in waveform_ao_cmdtest()
540 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ao_cmdtest()
562 if (cmd->stop_src == TRIG_COUNT) in waveform_ao_cmdtest()
Daddi_apci_2032.c88 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in apci2032_int_cmdtest()
89 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
Ddt2814.c124 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt2814_ai_cmdtest()
125 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest()
150 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
Ddas16m1.c179 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16m1_ai_cmdtest()
180 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
Ddt2811.c220 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt()
404 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt2811_ai_cmdtest()
405 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
284 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl711_ai_cmdtest()
285 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest()
316 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
Dquatech_daqp_cs.c238 if (cmd->stop_src == TRIG_COUNT && in daqp_interrupt()
386 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in daqp_ai_cmdtest()
387 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
Dni_at_a2150.c175 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt()
201 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt()
406 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in a2150_ai_cmdtest()
407 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest()
435 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
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()
363 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in gsc_hpdi_cmd_test()
364 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
Ddmm32at.c272 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dmm32at_ai_cmdtest()
273 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest()
306 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest()
426 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
Dpcmuio.c328 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev()
481 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmuio_cmdtest()
482 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest()
505 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
Dcb_pcidas.c690 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ai_cmdtest()
691 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest()
751 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest()
903 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ao_cmdtest()
904 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
483 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbduxsigma_ai_cmdtest()
484 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest()
522 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest()
846 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbduxsigma_ao_cmdtest()
847 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest()
873 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
Damplc_pci230.c914 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci230_ao_cmdtest()
915 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
1531 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci230_ai_cmdtest()
1532 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest()
1642 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest()
[all …]
Ddas6402.c194 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt()
301 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das6402_ai_cmdtest()
302 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest()
325 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
Ddas800.c306 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das800_ai_do_cmdtest()
307 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
518 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ai_cmdtest()
519 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest()
572 if (cmd->stop_src == TRIG_COUNT) in usbdux_ai_cmdtest()
901 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ao_cmdtest()
902 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest()
936 if (cmd->stop_src == TRIG_COUNT) in usbdux_ao_cmdtest()
Ddt282x.c645 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ai_cmdtest()
646 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ai_cmdtest()
670 if (cmd->stop_src == TRIG_COUNT) in dt282x_ai_cmdtest()
810 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ao_cmdtest()
811 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
605 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in apci3120_ai_cmdtest()
606 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
346 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl816_ai_cmdtest()
347 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl816_ai_cmdtest()
375 if (cmd->stop_src == TRIG_COUNT) in pcl816_ai_cmdtest()
Dpcmmio.c349 if (cmd->stop_src == TRIG_COUNT && in pcmmio_handle_dio_intr()
478 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmmio_cmdtest()
479 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmmio_cmdtest()
502 if (cmd->stop_src == TRIG_COUNT) in pcmmio_cmdtest()
Dadl_pci9111.c250 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci9111_ai_do_cmd_test()
252 TRIG_COUNT | TRIG_NONE); in pci9111_ai_do_cmd_test()
294 if (cmd->stop_src == TRIG_COUNT) in pci9111_ai_do_cmd_test()
504 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()
Dni_labpc_common.c513 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in labpc_ai_cmdtest()
515 stop_mask = TRIG_COUNT | TRIG_NONE; in labpc_ai_cmdtest()
573 case TRIG_COUNT: in labpc_ai_cmdtest()
632 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd()
659 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd()
781 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo()
880 if (cmd->stop_src == TRIG_COUNT) { in labpc_interrupt()
Damplc_pci224.c520 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
562 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
674 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci224_ao_cmdtest()
676 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest()
761 case TRIG_COUNT: in pci224_ao_cmdtest()

123