/drivers/staging/comedi/drivers/ |
D | amplc_pci224.c | 521 s->async->scans_done >= cmd->stop_arg) { in pci224_ao_handle_fifo() 563 s->async->scans_done >= cmd->stop_arg) { in pci224_ao_handle_fifo() 762 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci224_ao_cmdtest() 766 if (cmd->stop_arg & ~CR_FLAGS_MASK) { in pci224_ao_cmdtest() 767 cmd->stop_arg = in pci224_ao_cmdtest() 768 COMBINE(cmd->stop_arg, 0, ~CR_FLAGS_MASK); in pci224_ao_cmdtest() 772 if (cmd->stop_arg & CR_FLAGS_MASK & ~CR_EDGE) { in pci224_ao_cmdtest() 773 cmd->stop_arg = in pci224_ao_cmdtest() 774 COMBINE(cmd->stop_arg, 0, CR_FLAGS_MASK & ~CR_EDGE); in pci224_ao_cmdtest() 778 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci224_ao_cmdtest()
|
D | dt2814.c | 151 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 2); in dt2814_ai_cmdtest() 153 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt2814_ai_cmdtest() 181 devpriv->ntrig = cmd->stop_arg; in dt2814_ai_cmd()
|
D | das16m1.c | 210 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das16m1_ai_cmdtest() 212 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das16m1_ai_cmdtest() 407 if (num_samples > cmd->stop_arg * cmd->chanlist_len) in das16m1_handler() 408 num_samples = cmd->stop_arg * cmd->chanlist_len; in das16m1_handler() 418 if (devpriv->adc_count >= cmd->stop_arg * cmd->chanlist_len) { in das16m1_handler()
|
D | comedi_test.c | 232 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer() 305 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in waveform_ai_cmdtest() 307 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in waveform_ai_cmdtest() 490 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer() 563 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in waveform_ao_cmdtest() 565 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in waveform_ao_cmdtest()
|
D | addi_apci_3120.c | 221 if (dmalen0 > (cmd->stop_arg * scan_bytes)) in apci3120_setup_dma() 222 dmalen0 = cmd->stop_arg * scan_bytes; in apci3120_setup_dma() 223 else if (dmalen1 > (cmd->stop_arg * scan_bytes - dmalen0)) in apci3120_setup_dma() 224 dmalen1 = cmd->stop_arg * scan_bytes - dmalen0; 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() 639 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in apci3120_ai_cmdtest() 641 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in apci3120_ai_cmdtest()
|
D | addi_apci_2032.c | 110 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in apci2032_int_cmdtest() 112 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in apci2032_int_cmdtest() 205 s->async->scans_done >= cmd->stop_arg) in apci2032_interrupt()
|
D | dmm32at.c | 307 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dmm32at_ai_cmdtest() 309 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dmm32at_ai_cmdtest() 383 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd() 427 s->async->scans_done >= cmd->stop_arg) in dmm32at_isr()
|
D | dt282x.c | 671 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ai_cmdtest() 673 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ai_cmdtest() 712 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd() 834 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ao_cmdtest() 836 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ao_cmdtest() 893 devpriv->ntrig = cmd->stop_arg * cmd->chanlist_len; in dt282x_ao_cmd()
|
D | quatech_daqp_cs.c | 239 s->async->scans_done >= cmd->stop_arg) { in daqp_interrupt() 437 err |= comedi_check_trigger_arg_max(&cmd->stop_arg, 0x00ffffff); in daqp_ai_cmdtest() 439 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in daqp_ai_cmdtest() 575 nsamples = (unsigned long long)cmd->stop_arg * in daqp_ai_cmd()
|
D | pcl711.c | 201 s->async->scans_done >= cmd->stop_arg) in pcl711_interrupt() 317 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcl711_ai_cmdtest() 319 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcl711_ai_cmdtest()
|
D | dt2811.c | 220 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt() 433 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt2811_ai_cmdtest() 435 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt2811_ai_cmdtest()
|
D | das1800.c | 360 s->async->scans_done >= cmd->stop_arg) in das1800_handle_fifo_not_empty() 487 async->scans_done >= cmd->stop_arg) { in das1800_ai_handler() 672 cmd->stop_arg); in das1800_ai_cmdtest() 693 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das1800_ai_cmdtest() 696 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das1800_ai_cmdtest() 873 if ((cmd->start_arg & CR_INVERT) || (cmd->stop_arg & CR_INVERT)) in das1800_ai_cmd()
|
D | pcl818.c | 450 s->async->scans_done >= cmd->stop_arg) { in pcl818_ai_write_sample() 553 s->async->scans_done = cmd->stop_arg; in pcl818_interrupt() 678 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in ai_cmdtest() 680 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in ai_cmdtest() 772 s->async->scans_done < cmd->stop_arg)) { in pcl818_ai_cancel()
|
D | cb_pcidas.c | 752 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in cb_pcidas_ai_cmdtest() 754 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in cb_pcidas_ai_cmdtest() 932 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in cb_pcidas_ao_cmdtest() 934 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in cb_pcidas_ao_cmdtest() 1119 async->scans_done >= cmd->stop_arg) { in cb_pcidas_ao_interrupt() 1159 async->scans_done >= cmd->stop_arg) in cb_pcidas_ai_interrupt() 1178 async->scans_done >= cmd->stop_arg) { in cb_pcidas_ai_interrupt()
|
D | pcmuio.c | 329 s->async->scans_done >= cmd->stop_arg) in pcmuio_handle_intr_subdev() 506 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcmuio_cmdtest() 508 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcmuio_cmdtest()
|
D | usbduxsigma.c | 230 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb() 343 async->scans_done >= cmd->stop_arg) { in usbduxsigma_ao_handle_urb() 523 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxsigma_ai_cmdtest() 525 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxsigma_ai_cmdtest() 874 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxsigma_ao_cmdtest() 876 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxsigma_ao_cmdtest()
|
D | amplc_pci230.c | 979 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci230_ao_cmdtest() 981 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); 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() 1155 async->scans_done >= cmd->stop_arg) { in pci230_handle_ao_fifo() 1643 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci230_ai_cmdtest() 1645 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci230_ai_cmdtest() 2067 async->scans_done >= cmd->stop_arg) { in pci230_handle_ai()
|
D | das6402.c | 195 async->scans_done >= cmd->stop_arg) in das6402_interrupt() 326 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das6402_ai_cmdtest() 328 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das6402_ai_cmdtest()
|
D | das800.c | 337 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das800_ai_do_cmdtest() 339 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das800_ai_do_cmdtest() 478 async->scans_done >= cmd->stop_arg) { in das800_interrupt()
|
D | adv_pci1710.c | 426 s->async->scans_done >= cmd->stop_arg) { in pci1710_handle_every_sample() 471 async->scans_done >= cmd->stop_arg) { in pci1710_handle_fifo() 606 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci1710_ai_cmdtest() 608 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci1710_ai_cmdtest()
|
D | usbdux.c | 268 async->scans_done >= cmd->stop_arg) in usbduxsub_ai_handle_urb() 383 async->scans_done >= cmd->stop_arg) { in usbduxsub_ao_handle_urb() 573 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbdux_ai_cmdtest() 575 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbdux_ai_cmdtest() 937 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbdux_ao_cmdtest() 939 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbdux_ao_cmdtest()
|
D | pcl816.c | 216 s->async->scans_done >= cmd->stop_arg) { in pcl816_ai_next_chan() 376 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcl816_ai_cmdtest() 378 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcl816_ai_cmdtest()
|
D | pcmmio.c | 350 s->async->scans_done >= cmd->stop_arg) in pcmmio_handle_dio_intr() 503 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcmmio_cmdtest() 505 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcmmio_cmdtest()
|
D | ni_at_a2150.c | 436 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in a2150_ai_cmdtest() 438 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in a2150_ai_cmdtest() 504 devpriv->count = cmd->stop_arg * cmd->chanlist_len; in a2150_ai_cmd()
|
D | adl_pci9111.c | 295 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci9111_ai_do_cmd_test() 297 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci9111_ai_do_cmd_test() 504 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()
|