/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 232 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()
|
D | addi_apci_2032.c | 88 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()
|
D | dt2814.c | 124 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt2814_ai_cmdtest() 125 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2814_ai_cmdtest() 150 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest()
|
D | das16m1.c | 179 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das16m1_ai_cmdtest() 180 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
|
D | dt2811.c | 220 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt() 404 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt2811_ai_cmdtest() 405 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt2811_ai_cmdtest() 432 if (cmd->stop_src == TRIG_COUNT) in dt2811_ai_cmdtest()
|
D | pcl711.c | 200 if (cmd->stop_src == TRIG_COUNT && in pcl711_interrupt() 284 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl711_ai_cmdtest() 285 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl711_ai_cmdtest() 316 if (cmd->stop_src == TRIG_COUNT) in pcl711_ai_cmdtest()
|
D | quatech_daqp_cs.c | 238 if (cmd->stop_src == TRIG_COUNT && in daqp_interrupt() 386 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in daqp_ai_cmdtest() 387 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
|
D | ni_at_a2150.c | 175 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt() 201 if (cmd->stop_src == TRIG_COUNT) { in a2150_interrupt() 406 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in a2150_ai_cmdtest() 407 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in a2150_ai_cmdtest() 435 if (cmd->stop_src == TRIG_COUNT) in a2150_ai_cmdtest()
|
D | gsc_hpdi.c | 161 if (cmd->stop_src == TRIG_COUNT) { in gsc_hpdi_drain_dma() 314 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd() 363 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in gsc_hpdi_cmd_test() 364 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in gsc_hpdi_cmd_test() 389 if (cmd->stop_src == TRIG_COUNT) in gsc_hpdi_cmd_test()
|
D | ni_labpc_isadma.c | 61 if (cmd->stop_src == TRIG_COUNT && in labpc_setup_dma() 96 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_dma()
|
D | dmm32at.c | 272 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dmm32at_ai_cmdtest() 273 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dmm32at_ai_cmdtest() 306 if (cmd->stop_src == TRIG_COUNT) in dmm32at_ai_cmdtest() 426 if (cmd->stop_src == TRIG_COUNT && in dmm32at_isr()
|
D | pcmuio.c | 328 if (cmd->stop_src == TRIG_COUNT && in pcmuio_handle_intr_subdev() 481 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmuio_cmdtest() 482 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmuio_cmdtest() 505 if (cmd->stop_src == TRIG_COUNT) in pcmuio_cmdtest()
|
D | cb_pcidas.c | 690 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ai_cmdtest() 691 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in cb_pcidas_ai_cmdtest() 751 if (cmd->stop_src == TRIG_COUNT) in cb_pcidas_ai_cmdtest() 903 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in cb_pcidas_ao_cmdtest() 904 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
|
D | usbduxsigma.c | 229 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ai_handle_urb() 342 if (cmd->stop_src == TRIG_COUNT && in usbduxsigma_ao_handle_urb() 483 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbduxsigma_ai_cmdtest() 484 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ai_cmdtest() 522 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ai_cmdtest() 846 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbduxsigma_ao_cmdtest() 847 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbduxsigma_ao_cmdtest() 873 if (cmd->stop_src == TRIG_COUNT) in usbduxsigma_ao_cmdtest()
|
D | amplc_pci230.c | 914 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci230_ao_cmdtest() 915 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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() 1531 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci230_ai_cmdtest() 1532 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pci230_ai_cmdtest() 1642 if (cmd->stop_src == TRIG_COUNT) in pci230_ai_cmdtest() [all …]
|
D | das6402.c | 194 if (cmd->stop_src == TRIG_COUNT && in das6402_interrupt() 301 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das6402_ai_cmdtest() 302 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in das6402_ai_cmdtest() 325 if (cmd->stop_src == TRIG_COUNT) in das6402_ai_cmdtest()
|
D | das800.c | 306 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in das800_ai_do_cmdtest() 307 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); 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()
|
D | usbdux.c | 267 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ai_handle_urb() 382 if (cmd->stop_src == TRIG_COUNT && in usbduxsub_ao_handle_urb() 518 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ai_cmdtest() 519 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ai_cmdtest() 572 if (cmd->stop_src == TRIG_COUNT) in usbdux_ai_cmdtest() 901 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in usbdux_ao_cmdtest() 902 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in usbdux_ao_cmdtest() 936 if (cmd->stop_src == TRIG_COUNT) in usbdux_ao_cmdtest()
|
D | dt282x.c | 645 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ai_cmdtest() 646 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ai_cmdtest() 670 if (cmd->stop_src == TRIG_COUNT) in dt282x_ai_cmdtest() 810 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in dt282x_ao_cmdtest() 811 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in dt282x_ao_cmdtest() 833 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() 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()
|
D | pcl816.c | 215 if (cmd->stop_src == TRIG_COUNT && in pcl816_ai_next_chan() 346 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcl816_ai_cmdtest() 347 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcl816_ai_cmdtest() 375 if (cmd->stop_src == TRIG_COUNT) in pcl816_ai_cmdtest()
|
D | pcmmio.c | 349 if (cmd->stop_src == TRIG_COUNT && in pcmmio_handle_dio_intr() 478 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pcmmio_cmdtest() 479 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_COUNT | TRIG_NONE); in pcmmio_cmdtest() 502 if (cmd->stop_src == TRIG_COUNT) in pcmmio_cmdtest()
|
D | adl_pci9111.c | 250 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci9111_ai_do_cmd_test() 252 TRIG_COUNT | TRIG_NONE); 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()
|
D | ni_labpc_common.c | 513 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in labpc_ai_cmdtest() 515 stop_mask = TRIG_COUNT | TRIG_NONE; in labpc_ai_cmdtest() 573 case TRIG_COUNT: in labpc_ai_cmdtest() 632 if (cmd->stop_src == TRIG_COUNT) in labpc_ai_cmd() 659 (cmd->stop_src != TRIG_COUNT || devpriv->count > 256)) { in labpc_ai_cmd() 781 if (cmd->stop_src == TRIG_COUNT) { in labpc_drain_fifo() 880 if (cmd->stop_src == TRIG_COUNT) { in labpc_interrupt()
|
D | amplc_pci224.c | 520 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo() 562 if (cmd->stop_src == TRIG_COUNT && in pci224_ao_handle_fifo() 674 err |= comedi_check_trigger_src(&cmd->scan_end_src, TRIG_COUNT); in pci224_ao_cmdtest() 676 TRIG_COUNT | TRIG_EXT | TRIG_NONE); in pci224_ao_cmdtest() 761 case TRIG_COUNT: in pci224_ao_cmdtest()
|