Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/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()
Ddas16m1.c209 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das16m1_ai_cmdtest()
211 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das16m1_ai_cmdtest()
406 if (num_samples > cmd->stop_arg * cmd->chanlist_len) in das16m1_handler()
407 num_samples = cmd->stop_arg * cmd->chanlist_len; in das16m1_handler()
417 if (devpriv->adc_count >= cmd->stop_arg * cmd->chanlist_len) { in das16m1_handler()
Ddt2814.c183 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 2); in dt2814_ai_cmdtest()
185 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt2814_ai_cmdtest()
282 async->scans_done >= async->cmd.stop_arg) { in dt2814_interrupt()
Dcomedi_test.c230 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer()
303 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in waveform_ai_cmdtest()
305 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in waveform_ai_cmdtest()
488 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ao_timer()
561 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in waveform_ao_cmdtest()
563 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.c306 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dmm32at_ai_cmdtest()
308 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dmm32at_ai_cmdtest()
382 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd()
426 s->async->scans_done >= cmd->stop_arg) in dmm32at_isr()
Ddt2811.c219 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt()
432 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt2811_ai_cmdtest()
434 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt2811_ai_cmdtest()
Dpcl711.c199 s->async->scans_done >= cmd->stop_arg) in pcl711_interrupt()
315 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcl711_ai_cmdtest()
317 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()
Ddt282x.c669 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ai_cmdtest()
671 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ai_cmdtest()
710 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd()
832 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in dt282x_ao_cmdtest()
834 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in dt282x_ao_cmdtest()
891 devpriv->ntrig = cmd->stop_arg * cmd->chanlist_len; in dt282x_ao_cmd()
Ddas1800.c358 s->async->scans_done >= cmd->stop_arg) in das1800_handle_fifo_not_empty()
485 async->scans_done >= cmd->stop_arg) { in das1800_ai_handler()
670 cmd->stop_arg); in das1800_ai_cmdtest()
691 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das1800_ai_cmdtest()
694 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das1800_ai_cmdtest()
871 if ((cmd->start_arg & CR_INVERT) || (cmd->stop_arg & CR_INVERT)) in das1800_ai_cmd()
Dpcl818.c448 s->async->scans_done >= cmd->stop_arg) { in pcl818_ai_write_sample()
551 s->async->scans_done = cmd->stop_arg; in pcl818_interrupt()
676 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in ai_cmdtest()
678 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in ai_cmdtest()
770 s->async->scans_done < cmd->stop_arg)) { in pcl818_ai_cancel()
Dpcmuio.c328 s->async->scans_done >= cmd->stop_arg) in pcmuio_handle_intr_subdev()
505 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcmuio_cmdtest()
507 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcmuio_cmdtest()
Dcb_pcidas.c751 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in cb_pcidas_ai_cmdtest()
753 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in cb_pcidas_ai_cmdtest()
931 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in cb_pcidas_ao_cmdtest()
933 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in cb_pcidas_ao_cmdtest()
1118 async->scans_done >= cmd->stop_arg) { in cb_pcidas_ao_interrupt()
1158 async->scans_done >= cmd->stop_arg) in cb_pcidas_ai_interrupt()
1177 async->scans_done >= cmd->stop_arg) { in cb_pcidas_ai_interrupt()
Dusbduxsigma.c229 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb()
342 async->scans_done >= cmd->stop_arg) { in usbduxsigma_ao_handle_urb()
522 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxsigma_ai_cmdtest()
524 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxsigma_ai_cmdtest()
873 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in usbduxsigma_ao_cmdtest()
875 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in usbduxsigma_ao_cmdtest()
Ddas6402.c193 async->scans_done >= cmd->stop_arg) in das6402_interrupt()
324 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das6402_ai_cmdtest()
326 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das6402_ai_cmdtest()
Ddas800.c335 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in das800_ai_do_cmdtest()
337 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in das800_ai_do_cmdtest()
476 async->scans_done >= cmd->stop_arg) { in das800_interrupt()
Dadv_pci1710.c425 s->async->scans_done >= cmd->stop_arg) { in pci1710_handle_every_sample()
470 async->scans_done >= cmd->stop_arg) { in pci1710_handle_fifo()
605 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci1710_ai_cmdtest()
607 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci1710_ai_cmdtest()
Damplc_pci230.c977 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci230_ao_cmdtest()
979 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci230_ao_cmdtest()
1068 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1082 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1153 async->scans_done >= cmd->stop_arg) { in pci230_handle_ao_fifo()
1641 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pci230_ai_cmdtest()
1643 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pci230_ai_cmdtest()
2065 async->scans_done >= cmd->stop_arg) { in pci230_handle_ai()
Dgsc_hpdi.c314 devpriv->dio_count = cmd->stop_arg; in gsc_hpdi_cmd()
389 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in gsc_hpdi_cmd_test()
391 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in gsc_hpdi_cmd_test()
Dpcmmio.c349 s->async->scans_done >= cmd->stop_arg) in pcmmio_handle_dio_intr()
502 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcmmio_cmdtest()
504 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcmmio_cmdtest()
Dni_at_a2150.c434 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in a2150_ai_cmdtest()
436 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in a2150_ai_cmdtest()
502 devpriv->count = cmd->stop_arg * cmd->chanlist_len; in a2150_ai_cmd()
Dpcl816.c214 s->async->scans_done >= cmd->stop_arg) { in pcl816_ai_next_chan()
374 err |= comedi_check_trigger_arg_min(&cmd->stop_arg, 1); in pcl816_ai_cmdtest()
376 err |= comedi_check_trigger_arg_is(&cmd->stop_arg, 0); in pcl816_ai_cmdtest()
/linux-6.1.9/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