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.c213 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer()
243 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ai_cmdtest()
251 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ai_cmdtest()
285 if (cmd->stop_src == TRIG_COUNT) in waveform_ai_cmdtest()
471 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer()
521 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ao_cmdtest()
528 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ao_cmdtest()
543 if (cmd->stop_src == TRIG_COUNT) in waveform_ao_cmdtest()
Dni_labpc_common.c527 err |= comedi_check_trigger_src(&cmd->stop_src, stop_mask); in labpc_ai_cmdtest()
537 err |= comedi_check_trigger_is_unique(cmd->stop_src); in labpc_ai_cmdtest()
542 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest()
582 switch (cmd->stop_src) { in labpc_ai_cmdtest()
642 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd()
646 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd()
669 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd()
684 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd()
766 if (cmd->stop_src == TRIG_EXT) in labpc_ai_cmd()
791 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo()
[all …]
Daddi_apci_2032.c98 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci2032_int_cmdtest()
104 err |= comedi_check_trigger_is_unique(cmd->stop_src); in apci2032_int_cmdtest()
118 if (cmd->stop_src == TRIG_COUNT) in apci2032_int_cmdtest()
213 if (cmd->stop_src == TRIG_COUNT && in apci2032_interrupt()
Damplc_pci224.c496 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start()
523 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
565 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo()
678 err |= comedi_check_trigger_src(&cmd->stop_src, in pci224_ao_cmdtest()
688 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci224_ao_cmdtest()
701 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest()
763 switch (cmd->stop_src) { in pci224_ao_cmdtest()
974 else if (cmd->stop_src == TRIG_EXT) in pci224_interrupt()
Ddt2814.c134 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest()
141 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2814_ai_cmdtest()
159 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
Dni_at_a2150.c184 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt()
189 if (cmd->stop_src == TRIG_NONE) { in a2150_interrupt()
210 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt()
416 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest()
424 err |= comedi_check_trigger_is_unique(cmd->stop_src); in a2150_ai_cmdtest()
444 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
Ddas16m1.c189 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16m1_ai_cmdtest()
198 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das16m1_ai_cmdtest()
218 if (cmd->stop_src == TRIG_COUNT) in das16m1_ai_cmdtest()
415 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
426 if (cmd->stop_src == TRIG_COUNT) { in das16m1_handler()
Ddmm32at.c282 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest()
289 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dmm32at_ai_cmdtest()
315 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest()
392 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd()
435 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
Ddt2811.c229 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt()
414 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2811_ai_cmdtest()
423 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2811_ai_cmdtest()
441 if (cmd->stop_src == TRIG_COUNT) in dt2811_ai_cmdtest()
Dpcl711.c209 if (cmd->stop_src == TRIG_COUNT && in pcl711_interrupt()
294 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest()
302 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl711_ai_cmdtest()
325 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
Ddas1800.c368 if (cmd->stop_src == TRIG_COUNT && in das1800_handle_fifo_not_empty()
495 } else if (cmd->stop_src == TRIG_COUNT && in das1800_ai_handler()
658 err |= comedi_check_trigger_src(&cmd->stop_src, in das1800_ai_cmdtest()
669 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das1800_ai_cmdtest()
679 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest()
700 switch (cmd->stop_src) { in das1800_ai_cmdtest()
875 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
916 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
Dgsc_hpdi.c170 if (cmd->stop_src == TRIG_COUNT) { in gsc_hpdi_drain_dma()
323 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd()
373 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in gsc_hpdi_cmd_test()
380 err |= comedi_check_trigger_is_unique(cmd->stop_src); in gsc_hpdi_cmd_test()
398 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd_test()
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()
Dni_labpc_isadma.c70 if (cmd->stop_src == TRIG_COUNT && in labpc_setup_dma()
105 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_dma()
Dpcmuio.c337 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev()
491 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest()
499 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmuio_cmdtest()
514 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
Dcb_pcidas.c700 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest()
710 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ai_cmdtest()
760 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest()
913 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ao_cmdtest()
921 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ao_cmdtest()
940 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ao_cmdtest()
1127 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ao_interrupt()
1167 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt()
1186 if (cmd->stop_src == TRIG_COUNT && in cb_pcidas_ai_interrupt()
Dusbduxsigma.c238 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ai_handle_urb()
351 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ao_handle_urb()
493 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest()
501 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ai_cmdtest()
531 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest()
856 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest()
866 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ao_cmdtest()
882 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
Damplc_pci230.c922 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ao_cmdtest()
930 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ao_cmdtest()
985 if (cmd->stop_src == TRIG_COUNT) in pci230_ao_cmdtest()
1077 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1091 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1114 if (cmd->stop_src == TRIG_COUNT && num_scans == 0) in pci230_handle_ao_fifo()
1161 if (cmd->stop_src == TRIG_COUNT && in pci230_handle_ao_fifo()
1539 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest()
1549 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ai_cmdtest()
1649 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest()
[all …]
Dpcl818.c448 if (cmd->stop_src == TRIG_COUNT && in pcl818_ai_write_sample()
646 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in ai_cmdtest()
654 err |= comedi_check_trigger_is_unique(cmd->stop_src); in ai_cmdtest()
676 if (cmd->stop_src == TRIG_COUNT) in ai_cmdtest()
769 if (cmd->stop_src == TRIG_NONE || in pcl818_ai_cancel()
770 (cmd->stop_src == TRIG_COUNT && in pcl818_ai_cancel()
Ddas800.c316 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das800_ai_do_cmdtest()
325 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das800_ai_do_cmdtest()
345 if (cmd->stop_src == TRIG_COUNT) in das800_ai_do_cmdtest()
486 if (cmd->stop_src == TRIG_COUNT && in das800_interrupt()
Ddas6402.c203 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt()
311 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest()
318 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das6402_ai_cmdtest()
334 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
Dusbdux.c276 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ai_handle_urb()
391 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ao_handle_urb()
528 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest()
536 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ai_cmdtest()
581 if (cmd->stop_src == TRIG_COUNT) in usbdux_ai_cmdtest()
912 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest()
920 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ao_cmdtest()
946 if (cmd->stop_src == TRIG_COUNT) in usbdux_ao_cmdtest()
Daddi_apci_3120.c225 if (cmd->stop_src == TRIG_COUNT) { in apci3120_setup_dma()
464 (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg)) in apci3120_interrupt_dma()
537 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in apci3120_interrupt()
615 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci3120_ai_cmdtest()
624 err |= comedi_check_trigger_is_unique(cmd->stop_src); in apci3120_ai_cmdtest()
647 if (cmd->stop_src == TRIG_COUNT) in apci3120_ai_cmdtest()
Dadl_pci9111.c260 err |= comedi_check_trigger_src(&cmd->stop_src, in pci9111_ai_do_cmd_test()
270 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci9111_ai_do_cmd_test()
303 if (cmd->stop_src == TRIG_COUNT) in pci9111_ai_do_cmd_test()
513 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()
/drivers/staging/comedi/
Dcomedi_compat32.c67 unsigned int stop_src; member
200 err |= __get_user(temp.uint, &cmd32->stop_src); in get_compat_cmd()
201 err |= __put_user(temp.uint, &cmd->stop_src); in get_compat_cmd()
254 err |= __get_user(temp, &cmd->stop_src); in put_compat_cmd()
255 err |= __put_user(temp, &cmd32->stop_src); in put_compat_cmd()

123