Home
last modified time | relevance | path

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

123

/Linux-v4.19/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()
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()
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()
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()
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()
Ddt282x.c698 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ai_cmdtest()
700 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ai_cmdtest()
739 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd()
861 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ao_cmdtest()
863 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ao_cmdtest()
920 devpriv->ntrig = cmd->stop_arg * cmd->chanlist_len; in dt282x_ao_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()
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()
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()
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()
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()
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()
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()
Dgsc_hpdi.c315 devpriv->dio_count = cmd->stop_arg; in gsc_hpdi_cmd()
390 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in gsc_hpdi_cmd_test()
392 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in gsc_hpdi_cmd_test()
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()
/Linux-v4.19/drivers/staging/comedi/
Dcomedi_compat32.c59 unsigned int stop_arg; member
193 err |= __get_user(temp.uint, &cmd32->stop_arg); in get_compat_cmd()
194 err |= __put_user(temp.uint, &cmd->stop_arg); in get_compat_cmd()
247 err |= __get_user(temp, &cmd->stop_arg); in put_compat_cmd()
248 err |= __put_user(temp, &cmd32->stop_arg); in put_compat_cmd()
/Linux-v4.19/include/trace/events/
Dmmc.h25 __field(u32, stop_arg)
53 __entry->stop_arg = mrq->stop ? mrq->stop->arg : 0;
85 __entry->stop_opcode, __entry->stop_arg,

123