Home
last modified time | relevance | path

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

12

/drivers/staging/comedi/drivers/
Ddas1800.c497 if (cmd->stop_src == TRIG_COUNT && devpriv->count < numPoints) in das1800_handle_fifo_half_full()
503 if (cmd->stop_src == TRIG_COUNT) in das1800_handle_fifo_half_full()
519 if (cmd->stop_src == TRIG_COUNT && devpriv->count == 0) in das1800_handle_fifo_not_empty()
527 if (cmd->stop_src == TRIG_COUNT) in das1800_handle_fifo_not_empty()
555 if (cmd->stop_src == TRIG_COUNT && devpriv->count < num_samples) in das1800_flush_dma_channel()
560 if (s->async->cmd.stop_src == TRIG_COUNT) in das1800_flush_dma_channel()
695 } else if (cmd->stop_src == TRIG_COUNT && devpriv->count == 0) { /* stop_src TRIG_COUNT */ in das1800_ai_handler()
794 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das1800_ai_do_cmdtest()
796 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in das1800_ai_do_cmdtest()
829 case TRIG_COUNT: in das1800_ai_do_cmdtest()
[all …]
Dcb_pcidas.c821 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ai_cmdtest()
822 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest()
994 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmd()
1056 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ao_cmdtest()
1057 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ao_cmdtest()
1156 if (cmd->stop_src == TRIG_COUNT && devpriv->ao_count < num_points) in cb_pcidas_ao_inttrig()
1163 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_inttrig()
1230 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_cmd()
1295 (cmd->stop_src == TRIG_COUNT in handle_ao_interrupt()
1308 if (cmd->stop_src == TRIG_COUNT && in handle_ao_interrupt()
[all …]
Daddi_apci_2032.c110 if (cmd->stop_src == TRIG_COUNT && subpriv->stop_count == 0) { in apci2032_int_start()
135 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in apci2032_int_cmdtest()
136 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci2032_int_cmdtest()
250 if (s->async->cmd.stop_src == TRIG_COUNT && in apci2032_interrupt()
Ddas16m1.c173 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16m1_cmd_test()
174 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16m1_cmd_test()
202 if (cmd->stop_src == TRIG_COUNT) { in das16m1_cmd_test()
452 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
465 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
Dcomedi_test.c195 if (cmd->stop_src == TRIG_COUNT) { in waveform_ai_interrupt()
240 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in waveform_ai_cmdtest()
241 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ai_cmdtest()
274 if (cmd->stop_src == TRIG_COUNT) in waveform_ai_cmdtest()
Ddt2814.c137 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt2814_ai_cmdtest()
138 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest()
162 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
Dni_labpc.c759 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in labpc_ai_cmdtest()
761 stop_mask = TRIG_COUNT | TRIG_NONE; in labpc_ai_cmdtest()
808 case TRIG_COUNT: in labpc_ai_cmdtest()
864 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd()
902 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd()
982 if (cmd->stop_src == TRIG_COUNT && in labpc_ai_cmd()
1070 if (devpriv->count < num_points && async->cmd.stop_src == TRIG_COUNT) in labpc_drain_dma()
1075 if (async->cmd.stop_src != TRIG_COUNT) { in labpc_drain_dma()
1087 if (async->cmd.stop_src == TRIG_COUNT) in labpc_drain_dma()
1125 if (async->cmd.stop_src == TRIG_COUNT) { in labpc_drain_fifo()
[all …]
Dme4000.c828 if (cmd->stop_src == TRIG_COUNT) { in ai_prepare()
833 cmd->scan_end_src == TRIG_COUNT) { in ai_prepare()
904 TRIG_NONE | TRIG_COUNT); in me4000_ai_do_cmd_test()
905 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_NONE | TRIG_COUNT); in me4000_ai_do_cmd_test()
943 } else if (cmd->stop_src == TRIG_COUNT && in me4000_ai_do_cmd_test()
946 cmd->scan_end_src == TRIG_COUNT) { in me4000_ai_do_cmd_test()
947 } else if (cmd->stop_src == TRIG_COUNT && in me4000_ai_do_cmd_test()
948 cmd->scan_end_src == TRIG_COUNT) { in me4000_ai_do_cmd_test()
1081 if (cmd->stop_src == TRIG_COUNT) { in me4000_ai_do_cmd_test()
1088 if (cmd->scan_end_src == TRIG_COUNT) { in me4000_ai_do_cmd_test()
Dskel.c220 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in skel_ai_cmdtest()
221 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in skel_ai_cmdtest()
267 if (cmd->stop_src == TRIG_COUNT) in skel_ai_cmdtest()
Dni_at_a2150.c246 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt()
271 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt()
328 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in a2150_ai_cmdtest()
329 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest()
355 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
Dquatech_daqp_cs.c388 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in daqp_ai_cmdtest()
389 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in daqp_ai_cmdtest()
430 if (cmd->stop_src == TRIG_COUNT) in daqp_ai_cmdtest()
586 if (cmd->stop_src == TRIG_COUNT) { in daqp_ai_cmd()
Dcb_das16_cs.c179 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16cs_ai_cmdtest()
180 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16cs_ai_cmdtest()
227 if (cmd->stop_src == TRIG_COUNT) in das16cs_ai_cmdtest()
Dgsc_hpdi.c617 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in di_cmd_test()
618 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in di_cmd_test()
641 case TRIG_COUNT: in di_cmd_test()
734 if (cmd->stop_src == TRIG_COUNT) in di_cmd()
790 if (async->cmd.stop_src == TRIG_COUNT) { in drain_dma_buffers()
Ddmm32at.c266 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dmm32at_ai_cmdtest()
267 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest()
319 if (cmd->stop_src == TRIG_COUNT) { in dmm32at_ai_cmdtest()
447 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmd()
Ddas800.c323 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das800_ai_do_cmdtest()
324 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das800_ai_do_cmdtest()
351 if (cmd->stop_src == TRIG_COUNT) in das800_ai_do_cmdtest()
432 case TRIG_COUNT: in das800_ai_do_cmd()
Dadl_pci9111.c341 error |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci9111_ai_do_cmd_test()
343 TRIG_COUNT | TRIG_NONE); in pci9111_ai_do_cmd_test()
387 if (cmd->stop_src == TRIG_COUNT) in pci9111_ai_do_cmd_test()
507 case TRIG_COUNT: in pci9111_ai_do_cmd()
Dpcl816.c440 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl816_ai_cmdtest()
441 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl816_ai_cmdtest()
470 if (cmd->stop_src == TRIG_COUNT) in pcl816_ai_cmdtest()
519 if (cmd->scan_end_src != TRIG_COUNT) in pcl816_ai_cmd()
561 if (cmd->stop_src == TRIG_COUNT) { in pcl816_ai_cmd()
Dcb_pcidas64.c2091 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in ai_cmdtest()
2093 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in ai_cmdtest()
2109 if (cmd->stop_src != TRIG_COUNT && in ai_cmdtest()
2139 case TRIG_COUNT: in ai_cmdtest()
2209 if (cmd->stop_src == TRIG_COUNT && cmd->stop_arg <= max_counter_value) in use_hw_sample_counter()
2220 if (cmd->stop_src == TRIG_COUNT) { in setup_sample_counters()
2707 if (cmd->stop_src == TRIG_COUNT) { in pio_drain_ai_fifo_16()
2752 if (cmd->stop_src == TRIG_COUNT) { in pio_drain_ai_fifo_32()
2808 if (async->cmd.stop_src == TRIG_COUNT) { in drain_dma_buffers()
2878 if ((cmd->stop_src == TRIG_COUNT && (int)devpriv->ai_count <= 0) || in handle_ai_interrupt()
[all …]
Ddt282x.c598 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ai_cmdtest()
599 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ai_cmdtest()
634 if (cmd->stop_src == TRIG_COUNT) { in dt282x_ai_cmdtest()
841 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ao_cmdtest()
842 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ao_cmdtest()
863 if (cmd->stop_src == TRIG_COUNT) { in dt282x_ao_cmdtest()
Dpcmuio.c713 case TRIG_COUNT: in pcmuio_cmd()
753 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmuio_cmdtest()
754 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest()
777 case TRIG_COUNT: in pcmuio_cmdtest()
Dpcmmio.c776 case TRIG_COUNT: in pcmmio_cmd()
816 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmmio_cmdtest()
817 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmmio_cmdtest()
840 case TRIG_COUNT: in pcmmio_cmdtest()
Ddas16.c426 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16_cmd_test()
427 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16_cmd_test()
561 if (cmd->stop_src == TRIG_COUNT && size > devpriv->adc_byte_count) in das16_suggest_transfer_size()
913 if (cmd->stop_src == TRIG_COUNT && in das16_interrupt()
924 if (cmd->stop_src == TRIG_COUNT && devpriv->timer_mode == 0 && in das16_interrupt()
Dpcl812.c553 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl812_ai_cmdtest()
554 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl812_ai_cmdtest()
583 if (cmd->stop_src == TRIG_COUNT) in pcl812_ai_cmdtest()
631 if (cmd->scan_end_src != TRIG_COUNT) in pcl812_ai_cmd()
669 if (cmd->stop_src == TRIG_COUNT) { in pcl812_ai_cmd()
Dni_6527.c231 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in ni6527_intr_cmdtest()
232 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT); in ni6527_intr_cmdtest()
Dusbdux.c953 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ai_cmdtest()
954 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest()
1013 if (cmd->stop_src == TRIG_COUNT) { in usbdux_ai_cmdtest()
1233 if (cmd->stop_src == TRIG_COUNT) { in usbdux_ai_cmd()
1484 err |= cfc_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ao_cmdtest()
1485 err |= cfc_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest()
1517 if (cmd->stop_src == TRIG_COUNT) { in usbdux_ao_cmdtest()
1596 if (cmd->stop_src == TRIG_COUNT) { in usbdux_ao_cmd()

12