Home
last modified time | relevance | path

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

123

/drivers/staging/comedi/drivers/
Damplc_pci224.c519 s->async->scans_done >= cmd->stop_arg) { in pci224_ao_handle_fifo()
561 s->async->scans_done >= cmd->stop_arg) { in pci224_ao_handle_fifo()
760 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci224_ao_cmdtest()
764 if (cmd->stop_arg & ~CR_FLAGS_MASK) { in pci224_ao_cmdtest()
765 cmd->stop_arg = in pci224_ao_cmdtest()
766 COMBINE(cmd->stop_arg, 0, ~CR_FLAGS_MASK); in pci224_ao_cmdtest()
770 if (cmd->stop_arg & CR_FLAGS_MASK & ~CR_EDGE) { in pci224_ao_cmdtest()
771 cmd->stop_arg = in pci224_ao_cmdtest()
772 COMBINE(cmd->stop_arg, 0, CR_FLAGS_MASK & ~CR_EDGE); in pci224_ao_cmdtest()
776 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci224_ao_cmdtest()
Ddt2814.c160 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 2); in dt2814_ai_cmdtest()
162 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt2814_ai_cmdtest()
190 devpriv->ntrig = cmd->stop_arg; in dt2814_ai_cmd()
Dcomedi_test.c213 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer()
286 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in waveform_ai_cmdtest()
288 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in waveform_ai_cmdtest()
471 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer()
544 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in waveform_ao_cmdtest()
546 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in waveform_ao_cmdtest()
Ddas16m1.c219 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das16m1_cmd_test()
221 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das16m1_cmd_test()
430 if (num_samples > cmd->stop_arg * cmd->chanlist_len) in das16m1_handler()
431 num_samples = cmd->stop_arg * cmd->chanlist_len; in das16m1_handler()
442 if (devpriv->adc_count >= cmd->stop_arg * cmd->chanlist_len) { in das16m1_handler()
Daddi_apci_3120.c230 if (dmalen0 > (cmd->stop_arg * scan_bytes)) in apci3120_setup_dma()
231 dmalen0 = cmd->stop_arg * scan_bytes; in apci3120_setup_dma()
232 else if (dmalen1 > (cmd->stop_arg * scan_bytes - dmalen0)) in apci3120_setup_dma()
233 dmalen1 = cmd->stop_arg * scan_bytes - dmalen0; in apci3120_setup_dma()
464 (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg)) in apci3120_interrupt_dma()
537 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in apci3120_interrupt()
648 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in apci3120_ai_cmdtest()
650 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in apci3120_ai_cmdtest()
Daddi_apci_2032.c119 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in apci2032_int_cmdtest()
121 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in apci2032_int_cmdtest()
214 s->async->scans_done >= cmd->stop_arg) in apci2032_interrupt()
Ddmm32at.c314 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dmm32at_ai_cmdtest()
316 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dmm32at_ai_cmdtest()
390 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd()
434 s->async->scans_done >= cmd->stop_arg) in dmm32at_isr()
Dquatech_daqp_cs.c238 s->async->scans_done >= cmd->stop_arg) { in daqp_interrupt()
436 err |= comedi_check_trigger_arg_max(&cmd->stop_arg, 0x00ffffff); in daqp_ai_cmdtest()
438 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in daqp_ai_cmdtest()
574 nsamples = (unsigned long long)cmd->stop_arg * in daqp_ai_cmd()
Dpcl711.c210 s->async->scans_done >= cmd->stop_arg) in pcl711_interrupt()
326 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcl711_ai_cmdtest()
328 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcl711_ai_cmdtest()
Ddt282x.c700 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ai_cmdtest()
702 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ai_cmdtest()
741 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd()
863 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ao_cmdtest()
865 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ao_cmdtest()
922 devpriv->ntrig = cmd->stop_arg * cmd->chanlist_len; in dt282x_ao_cmd()
Dpcl818.c449 s->async->scans_done >= cmd->stop_arg) { in pcl818_ai_write_sample()
552 s->async->scans_done = cmd->stop_arg; in pcl818_interrupt()
677 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in ai_cmdtest()
679 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in ai_cmdtest()
771 s->async->scans_done < cmd->stop_arg)) { in pcl818_ai_cancel()
Dcb_pcidas.c761 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in cb_pcidas_ai_cmdtest()
763 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in cb_pcidas_ai_cmdtest()
941 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in cb_pcidas_ao_cmdtest()
943 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in cb_pcidas_ao_cmdtest()
1128 async->scans_done >= cmd->stop_arg) { in cb_pcidas_ao_interrupt()
1168 async->scans_done >= cmd->stop_arg) in cb_pcidas_ai_interrupt()
1187 async->scans_done >= cmd->stop_arg) { in cb_pcidas_ai_interrupt()
Dpcmuio.c338 s->async->scans_done >= cmd->stop_arg) in pcmuio_handle_intr_subdev()
515 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcmuio_cmdtest()
517 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcmuio_cmdtest()
Damplc_pci230.c975 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci230_ao_cmdtest()
977 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci230_ao_cmdtest()
1066 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1080 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1151 async->scans_done >= cmd->stop_arg) { in pci230_handle_ao_fifo()
1637 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci230_ai_cmdtest()
1639 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci230_ai_cmdtest()
2061 async->scans_done >= cmd->stop_arg) { in pci230_handle_ai()
Dusbduxsigma.c239 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb()
352 async->scans_done >= cmd->stop_arg) { in usbduxsigma_ao_handle_urb()
532 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxsigma_ai_cmdtest()
534 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxsigma_ai_cmdtest()
883 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxsigma_ao_cmdtest()
885 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxsigma_ao_cmdtest()
Ddas6402.c202 async->scans_done >= cmd->stop_arg) in das6402_interrupt()
333 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das6402_ai_cmdtest()
335 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das6402_ai_cmdtest()
Ddas800.c346 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das800_ai_do_cmdtest()
348 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das800_ai_do_cmdtest()
487 async->scans_done >= cmd->stop_arg) { in das800_interrupt()
Dusbdux.c277 async->scans_done >= cmd->stop_arg) in usbduxsub_ai_handle_urb()
392 async->scans_done >= cmd->stop_arg) { in usbduxsub_ao_handle_urb()
582 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbdux_ai_cmdtest()
584 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbdux_ai_cmdtest()
947 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbdux_ao_cmdtest()
949 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbdux_ao_cmdtest()
Dgsc_hpdi.c326 devpriv->dio_count = cmd->stop_arg; in gsc_hpdi_cmd()
401 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in gsc_hpdi_cmd_test()
403 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in gsc_hpdi_cmd_test()
Dpcl816.c215 s->async->scans_done >= cmd->stop_arg) { in pcl816_ai_next_chan()
375 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcl816_ai_cmdtest()
377 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcl816_ai_cmdtest()
Dni_at_a2150.c455 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in a2150_ai_cmdtest()
457 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in a2150_ai_cmdtest()
523 devpriv->count = cmd->stop_arg * cmd->chanlist_len; in a2150_ai_cmd()
Dpcmmio.c359 s->async->scans_done >= cmd->stop_arg) in pcmmio_handle_dio_intr()
512 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcmmio_cmdtest()
514 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcmmio_cmdtest()
Dadl_pci9111.c304 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci9111_ai_do_cmd_test()
306 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci9111_ai_do_cmd_test()
513 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()
Dusbduxfast.c251 async->scans_done >= cmd->stop_arg) in usbduxfast_ai_handle_urb()
425 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxfast_ai_cmdtest()
427 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxfast_ai_cmdtest()
/drivers/staging/comedi/
Dcomedi_compat32.c68 unsigned int stop_arg; member
202 err |= __get_user(temp.uint, &cmd32->stop_arg); in get_compat_cmd()
203 err |= __put_user(temp.uint, &cmd->stop_arg); in get_compat_cmd()
256 err |= __get_user(temp, &cmd->stop_arg); in put_compat_cmd()
257 err |= __put_user(temp, &cmd32->stop_arg); in put_compat_cmd()

123