Home
last modified time | relevance | path

Searched refs:stop_arg (Results 1 – 25 of 55) sorted by relevance

123

/drivers/staging/comedi/drivers/
Damplc_pci224.c521 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()
Ddt2814.c151 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()
Ddas16m1.c210 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()
Dcomedi_test.c232 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()
Daddi_apci_3120.c221 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()
Daddi_apci_2032.c110 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()
Ddmm32at.c307 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()
Ddt282x.c671 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()
Dquatech_daqp_cs.c239 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()
Dpcl711.c201 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()
Ddt2811.c220 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()
Ddas1800.c360 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()
Dpcl818.c450 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()
Dcb_pcidas.c752 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()
Dpcmuio.c329 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()
Dusbduxsigma.c230 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()
Damplc_pci230.c979 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()
Ddas6402.c195 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()
Ddas800.c337 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()
Dadv_pci1710.c426 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()
Dusbdux.c268 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()
Dpcl816.c216 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()
Dpcmmio.c350 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()
Dni_at_a2150.c436 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()
Dadl_pci9111.c295 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()

123