Home
last modified time | relevance | path

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

123

/Linux-v5.4/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()
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()
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()
573 switch (cmd->stop_src) { in labpc_ai_cmdtest()
633 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd()
637 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd()
660 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd()
675 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd()
757 if (cmd->stop_src == TRIG_EXT) in labpc_ai_cmd()
782 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo()
[all …]
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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 …]
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()
Dpcmmio.c349 if (cmd->stop_src == TRIG_COUNT && in pcmmio_handle_dio_intr()
479 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmmio_cmdtest()
487 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmmio_cmdtest()
502 if (cmd->stop_src == TRIG_COUNT) in pcmmio_cmdtest()
Dadl_pci9111.c251 err |= comedi_check_trigger_src(&cmd->stop_src, in pci9111_ai_do_cmd_test()
261 err |= comedi_check_trigger_is_unique(cmd->stop_src); 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()
/Linux-v5.4/drivers/staging/comedi/
Dcomedi_compat32.c58 unsigned int stop_src; member
191 err |= __get_user(temp.uint, &cmd32->stop_src); in get_compat_cmd()
192 err |= __put_user(temp.uint, &cmd->stop_src); in get_compat_cmd()
245 err |= __get_user(temp, &cmd->stop_src); in put_compat_cmd()
246 err |= __put_user(temp, &cmd32->stop_src); in put_compat_cmd()

123