/drivers/comedi/drivers/ |
D | comedi_test.c | 230 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer() 260 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ai_cmdtest() 268 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ai_cmdtest() 302 if (cmd->stop_src == TRIG_COUNT) in waveform_ai_cmdtest() 488 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer() 538 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in waveform_ao_cmdtest() 545 err |= comedi_check_trigger_is_unique(cmd->stop_src); in waveform_ao_cmdtest() 560 if (cmd->stop_src == TRIG_COUNT) in waveform_ao_cmdtest()
|
D | dt2814.c | 157 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest() 164 err |= comedi_check_trigger_is_unique(cmd->stop_src); 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()
|
D | ni_labpc_common.c | 517 err |= comedi_check_trigger_src(&cmd->stop_src, stop_mask); in labpc_ai_cmdtest() 527 err |= comedi_check_trigger_is_unique(cmd->stop_src); in labpc_ai_cmdtest() 532 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in labpc_ai_cmdtest() 571 switch (cmd->stop_src) { in labpc_ai_cmdtest() 631 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd() 635 if (cmd->stop_src == TRIG_EXT) { in labpc_ai_cmd() 658 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd() 673 (cmd->stop_src == TRIG_EXT)); in labpc_ai_cmd() 755 if (cmd->stop_src == TRIG_EXT) in labpc_ai_cmd() 780 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo() [all …]
|
D | addi_apci_2032.c | 89 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()
|
D | amplc_pci224.c | 491 if (cmd->stop_src == TRIG_EXT) in pci224_ao_start() 518 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo() 560 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo() 673 err |= comedi_check_trigger_src(&cmd->stop_src, in pci224_ao_cmdtest() 683 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci224_ao_cmdtest() 696 if (cmd->stop_src & TRIG_EXT) in pci224_ao_cmdtest() 758 switch (cmd->stop_src) { in pci224_ao_cmdtest() 971 else if (cmd->stop_src == TRIG_EXT) in pci224_interrupt()
|
D | ni_at_a2150.c | 173 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt() 178 if (cmd->stop_src == TRIG_NONE) { in a2150_interrupt() 199 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt() 405 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest() 413 err |= comedi_check_trigger_is_unique(cmd->stop_src); in a2150_ai_cmdtest() 433 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
|
D | das16m1.c | 179 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das16m1_ai_cmdtest() 188 err |= comedi_check_trigger_is_unique(cmd->stop_src); 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()
|
D | dmm32at.c | 272 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest() 279 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dmm32at_ai_cmdtest() 305 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest() 382 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd() 425 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
|
D | pcl711.c | 198 if (cmd->stop_src == TRIG_COUNT && in pcl711_interrupt() 283 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest() 291 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcl711_ai_cmdtest() 314 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
|
D | dt2811.c | 219 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt() 404 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2811_ai_cmdtest() 413 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2811_ai_cmdtest() 431 if (cmd->stop_src == TRIG_COUNT) in dt2811_ai_cmdtest()
|
D | das1800.c | 357 if (cmd->stop_src == TRIG_COUNT && in das1800_handle_fifo_not_empty() 484 } else if (cmd->stop_src == TRIG_COUNT && in das1800_ai_handler() 647 err |= comedi_check_trigger_src(&cmd->stop_src, in das1800_ai_cmdtest() 658 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das1800_ai_cmdtest() 668 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest() 689 switch (cmd->stop_src) { in das1800_ai_cmdtest() 864 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd() 905 if (cmd->stop_src == TRIG_EXT) in das1800_ai_cmd()
|
D | quatech_daqp_cs.c | 237 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()
|
D | gsc_hpdi.c | 160 if (cmd->stop_src == TRIG_COUNT) { in gsc_hpdi_drain_dma() 313 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd() 363 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in gsc_hpdi_cmd_test() 370 err |= comedi_check_trigger_is_unique(cmd->stop_src); in gsc_hpdi_cmd_test() 388 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd_test()
|
D | ni_labpc_isadma.c | 60 if (cmd->stop_src == TRIG_COUNT && in labpc_setup_dma() 95 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_dma()
|
D | pcmuio.c | 327 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev() 481 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest() 489 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pcmuio_cmdtest() 504 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
|
D | cb_pcidas.c | 690 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest() 700 err |= comedi_check_trigger_is_unique(cmd->stop_src); in cb_pcidas_ai_cmdtest() 750 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest() 903 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ao_cmdtest() 911 err |= comedi_check_trigger_is_unique(cmd->stop_src); 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()
|
D | usbduxsigma.c | 228 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ai_handle_urb() 341 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ao_handle_urb() 483 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest() 491 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ai_cmdtest() 521 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest() 846 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest() 856 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbduxsigma_ao_cmdtest() 872 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
|
D | amplc_pci230.c | 913 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ao_cmdtest() 921 err |= comedi_check_trigger_is_unique(cmd->stop_src); 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() 1530 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest() 1540 err |= comedi_check_trigger_is_unique(cmd->stop_src); in pci230_ai_cmdtest() 1640 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest() [all …]
|
D | pcl818.c | 447 if (cmd->stop_src == TRIG_COUNT && in pcl818_ai_write_sample() 645 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in ai_cmdtest() 653 err |= comedi_check_trigger_is_unique(cmd->stop_src); in ai_cmdtest() 675 if (cmd->stop_src == TRIG_COUNT) in ai_cmdtest() 768 if (cmd->stop_src == TRIG_NONE || in pcl818_ai_cancel() 769 (cmd->stop_src == TRIG_COUNT && in pcl818_ai_cancel()
|
D | das800.c | 305 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das800_ai_do_cmdtest() 314 err |= comedi_check_trigger_is_unique(cmd->stop_src); 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()
|
D | das6402.c | 192 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt() 300 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest() 307 err |= comedi_check_trigger_is_unique(cmd->stop_src); in das6402_ai_cmdtest() 323 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
|
D | usbdux.c | 266 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ai_handle_urb() 381 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ao_handle_urb() 518 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest() 526 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ai_cmdtest() 571 if (cmd->stop_src == TRIG_COUNT) in usbdux_ai_cmdtest() 901 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest() 909 err |= comedi_check_trigger_is_unique(cmd->stop_src); in usbdux_ao_cmdtest() 935 if (cmd->stop_src == TRIG_COUNT) in usbdux_ao_cmdtest()
|
D | dt282x.c | 644 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ai_cmdtest() 652 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt282x_ai_cmdtest() 668 if (cmd->stop_src == TRIG_COUNT) in dt282x_ai_cmdtest() 809 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ao_cmdtest() 816 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt282x_ao_cmdtest() 831 if (cmd->stop_src == TRIG_COUNT) in dt282x_ao_cmdtest()
|
D | addi_apci_3120.c | 216 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() 606 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in apci3120_ai_cmdtest() 615 err |= comedi_check_trigger_is_unique(cmd->stop_src); in apci3120_ai_cmdtest() 638 if (cmd->stop_src == TRIG_COUNT) in apci3120_ai_cmdtest()
|
D | adl_pci9111.c | 250 err |= comedi_check_trigger_src(&cmd->stop_src, in pci9111_ai_do_cmd_test() 260 err |= comedi_check_trigger_is_unique(cmd->stop_src); 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()
|