Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/comedi/drivers/
Ddt2814.c156 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt2814_ai_cmdtest()
157 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
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()
Ddas16m1.c178 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16m1_ai_cmdtest()
179 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
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()
Ddt2811.c219 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt()
403 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt2811_ai_cmdtest()
404 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2811_ai_cmdtest()
431 if (cmd->stop_src == TRIG_COUNT) in dt2811_ai_cmdtest()
Dpcl711.c198 if (cmd->stop_src == TRIG_COUNT && in pcl711_interrupt()
282 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl711_ai_cmdtest()
283 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest()
314 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
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()
362 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in gsc_hpdi_cmd_test()
363 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in gsc_hpdi_cmd_test()
388 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd_test()
Dquatech_daqp_cs.c237 if (cmd->stop_src == TRIG_COUNT && in daqp_interrupt()
385 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in daqp_ai_cmdtest()
386 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
Dni_at_a2150.c173 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt()
199 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt()
404 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in a2150_ai_cmdtest()
405 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest()
433 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
Ddmm32at.c271 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dmm32at_ai_cmdtest()
272 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest()
305 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest()
425 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
Dpcmuio.c327 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev()
480 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmuio_cmdtest()
481 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest()
504 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
Dcb_pcidas.c689 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ai_cmdtest()
690 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest()
750 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest()
902 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ao_cmdtest()
903 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
482 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbduxsigma_ai_cmdtest()
483 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest()
521 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest()
845 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbduxsigma_ao_cmdtest()
846 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest()
872 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
Damplc_pci230.c912 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci230_ao_cmdtest()
913 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
1529 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci230_ai_cmdtest()
1530 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest()
1640 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest()
[all …]
Ddas800.c304 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das800_ai_do_cmdtest()
305 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
299 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das6402_ai_cmdtest()
300 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest()
323 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
Dpcl816.c213 if (cmd->stop_src == TRIG_COUNT && in pcl816_ai_next_chan()
344 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl816_ai_cmdtest()
345 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl816_ai_cmdtest()
373 if (cmd->stop_src == TRIG_COUNT) in pcl816_ai_cmdtest()
Dpcmmio.c348 if (cmd->stop_src == TRIG_COUNT && in pcmmio_handle_dio_intr()
477 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmmio_cmdtest()
478 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmmio_cmdtest()
501 if (cmd->stop_src == TRIG_COUNT) in pcmmio_cmdtest()
Dadl_pci9111.c249 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci9111_ai_do_cmd_test()
251 TRIG_COUNT | TRIG_NONE); 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()
Ddt282x.c643 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ai_cmdtest()
644 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ai_cmdtest()
668 if (cmd->stop_src == TRIG_COUNT) in dt282x_ai_cmdtest()
808 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ao_cmdtest()
809 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
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()
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()
517 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ai_cmdtest()
518 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest()
571 if (cmd->stop_src == TRIG_COUNT) in usbdux_ai_cmdtest()
900 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ao_cmdtest()
901 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest()
935 if (cmd->stop_src == TRIG_COUNT) in usbdux_ao_cmdtest()
Dni_labpc_common.c512 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in labpc_ai_cmdtest()
514 stop_mask = TRIG_COUNT | TRIG_NONE; in labpc_ai_cmdtest()
572 case TRIG_COUNT: in labpc_ai_cmdtest()
631 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd()
658 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd()
780 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo()
879 if (cmd->stop_src == TRIG_COUNT) { in labpc_interrupt()
Damplc_pci224.c518 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
560 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
672 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci224_ao_cmdtest()
674 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest()
759 case TRIG_COUNT: in pci224_ao_cmdtest()

123