Home
last modified time | relevance | path

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

123

/drivers/staging/comedi/drivers/
Ddt2814.c216 if (cmd->stop_arg < 2) { in dt2814_ai_cmdtest()
217 cmd->stop_arg = 2; in dt2814_ai_cmdtest()
222 if (cmd->stop_arg != 0) { in dt2814_ai_cmdtest()
223 cmd->stop_arg = 0; in dt2814_ai_cmdtest()
256 devpriv->ntrig = cmd->stop_arg; in dt2814_ai_cmd()
Ddmm32at.c662 if (cmd->stop_arg > 0xfffffff0) { in dmm32at_ai_cmdtest()
663 cmd->stop_arg = 0xfffffff0; in dmm32at_ai_cmdtest()
666 if (cmd->stop_arg == 0) { in dmm32at_ai_cmdtest()
667 cmd->stop_arg = 1; in dmm32at_ai_cmdtest()
672 if (cmd->stop_arg != 0) { in dmm32at_ai_cmdtest()
673 cmd->stop_arg = 0; in dmm32at_ai_cmdtest()
768 devpriv->ai_scans_left = cmd->stop_arg; in dmm32at_ai_cmd()
Dcomedi_test.c203 && devpriv->ai_count >= cmd->stop_arg) { in waveform_ai_interrupt()
386 if (!cmd->stop_arg) { in waveform_ai_cmdtest()
387 cmd->stop_arg = 1; in waveform_ai_cmdtest()
391 if (cmd->stop_arg != 0) { in waveform_ai_cmdtest()
392 cmd->stop_arg = 0; in waveform_ai_cmdtest()
Dpcm_common.c93 if (cmd->stop_arg != 0) { in comedi_pcm_cmdtest()
94 cmd->stop_arg = 0; in comedi_pcm_cmdtest()
Dskel.c465 if (cmd->stop_arg > 0x00ffffff) { in skel_ai_cmdtest()
466 cmd->stop_arg = 0x00ffffff; in skel_ai_cmdtest()
471 if (cmd->stop_arg != 0) { in skel_ai_cmdtest()
472 cmd->stop_arg = 0; in skel_ai_cmdtest()
Damplc_pci224.c938 if ((cmd->stop_arg & ~CR_FLAGS_MASK) != 0) { in pci224_ao_cmdtest()
939 cmd->stop_arg = COMBINE(cmd->stop_arg, 0, in pci224_ao_cmdtest()
944 if ((cmd->stop_arg & CR_FLAGS_MASK & ~CR_EDGE) != 0) { in pci224_ao_cmdtest()
945 cmd->stop_arg = COMBINE(cmd->stop_arg, 0, in pci224_ao_cmdtest()
950 if (cmd->stop_arg != 0) { in pci224_ao_cmdtest()
951 cmd->stop_arg = 0; in pci224_ao_cmdtest()
1193 devpriv->ao_stop_count = cmd->stop_arg; in pci224_ao_cmd()
Dcb_pcidda.c437 printk("stop_arg: %d\n", cmd->stop_arg);
551 if (cmd->stop_arg > 0x00ffffff) {
552 cmd->stop_arg = 0x00ffffff;
557 if (cmd->stop_arg != 0) {
558 cmd->stop_arg = 0;
Ddas16m1.c294 if (cmd->stop_arg != 0) { in das16m1_cmd_test()
295 cmd->stop_arg = 0; in das16m1_cmd_test()
568 if (num_samples > cmd->stop_arg * cmd->chanlist_len) in das16m1_handler()
569 num_samples = cmd->stop_arg * cmd->chanlist_len; in das16m1_handler()
581 if (devpriv->adc_count >= cmd->stop_arg * cmd->chanlist_len) { /* end of acquisition */ in das16m1_handler()
Dquatech_daqp_cs.c542 if (cmd->stop_arg > 0x00ffffff) { in daqp_ai_cmdtest()
543 cmd->stop_arg = 0x00ffffff; in daqp_ai_cmdtest()
548 if (cmd->stop_arg != 0) { in daqp_ai_cmdtest()
549 cmd->stop_arg = 0; in daqp_ai_cmdtest()
721 local->count = cmd->stop_arg * cmd->scan_end_arg; in daqp_ai_cmd()
Dni_at_a2150.c573 if (!cmd->stop_arg) { in a2150_ai_cmdtest()
574 cmd->stop_arg = 1; in a2150_ai_cmdtest()
578 if (cmd->stop_arg != 0) { in a2150_ai_cmdtest()
579 cmd->stop_arg = 0; in a2150_ai_cmdtest()
676 devpriv->count = cmd->stop_arg * cmd->chanlist_len; in a2150_ai_cmd()
Ddas800.c676 if (!cmd->stop_arg) { in das800_ai_do_cmdtest()
677 cmd->stop_arg = 1; in das800_ai_do_cmdtest()
681 if (cmd->stop_arg != 0) { in das800_ai_do_cmdtest()
682 cmd->stop_arg = 0; in das800_ai_do_cmdtest()
766 devpriv->count = async->cmd.stop_arg * async->cmd.chanlist_len; in das800_ai_do_cmd()
Dcb_das16_cs.c436 if (cmd->stop_arg > 0x00ffffff) { in das16cs_ai_cmdtest()
437 cmd->stop_arg = 0x00ffffff; in das16cs_ai_cmdtest()
442 if (cmd->stop_arg != 0) { in das16cs_ai_cmdtest()
443 cmd->stop_arg = 0; in das16cs_ai_cmdtest()
Dpcl816.c494 e, cmd->stop_arg, cmd->scan_end_arg, cmd->chanlist_len); in pcl816_cmdtest_out()
599 if (!cmd->stop_arg) { in pcl816_ai_cmdtest()
600 cmd->stop_arg = 1; in pcl816_ai_cmdtest()
604 if (cmd->stop_arg != 0) { in pcl816_ai_cmdtest()
605 cmd->stop_arg = 0; in pcl816_ai_cmdtest()
695 devpriv->ai_scans = cmd->stop_arg; in pcl816_ai_cmd()
Dgsc_hpdi.c840 if (!cmd->stop_arg) { in di_cmd_test()
841 cmd->stop_arg = 1; in di_cmd_test()
846 if (cmd->stop_arg != 0) { in di_cmd_test()
847 cmd->stop_arg = 0; in di_cmd_test()
934 priv(dev)->dio_count = cmd->stop_arg; in di_cmd()
Ddt282x.c831 if (cmd->stop_arg != 0) { in dt282x_ai_cmdtest()
832 cmd->stop_arg = 0; in dt282x_ai_cmdtest()
881 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd()
1086 if (cmd->stop_arg != 0) { in dt282x_ao_cmdtest()
1087 cmd->stop_arg = 0; in dt282x_ao_cmdtest()
1156 devpriv->ntrig = cmd->stop_arg * cmd->chanlist_len; in dt282x_ao_cmd()
Ddas1800.c1268 if (!cmd->stop_arg) { in das1800_ai_do_cmdtest()
1269 cmd->stop_arg = 1; in das1800_ai_do_cmdtest()
1274 if (cmd->stop_arg != 0) { in das1800_ai_do_cmdtest()
1275 cmd->stop_arg = 0; in das1800_ai_do_cmdtest()
1571 devpriv->count = cmd.stop_arg * cmd.chanlist_len; in das1800_ai_do_cmd()
1803 cmd->stop_arg * cmd->chanlist_len * sample_size < max_size) in suggest_transfer_size()
1804 max_size = cmd->stop_arg * cmd->chanlist_len * sample_size; in suggest_transfer_size()
Dcomedi_parport.c255 if (cmd->stop_arg != 0) { in parport_intr_cmdtest()
256 cmd->stop_arg = 0; in parport_intr_cmdtest()
Dpcl812.c637 "chanlistlen=%d\n", e, cmd->stop_arg, cmd->scan_end_arg, in pcl812_cmdtest_out()
778 if (!cmd->stop_arg) { in pcl812_ai_cmdtest()
779 cmd->stop_arg = 1; in pcl812_ai_cmdtest()
783 if (cmd->stop_arg != 0) { in pcl812_ai_cmdtest()
784 cmd->stop_arg = 0; in pcl812_ai_cmdtest()
886 devpriv->ai_scans = cmd->stop_arg; in pcl812_ai_cmd()
Dadl_pci9111.c721 if ((cmd->stop_src == TRIG_COUNT) && (cmd->stop_arg < 1)) { in pci9111_ai_do_cmd_test()
722 cmd->stop_arg = 1; in pci9111_ai_do_cmd_test()
725 if ((cmd->stop_src == TRIG_NONE) && (cmd->stop_arg != 0)) { in pci9111_ai_do_cmd_test()
726 cmd->stop_arg = 0; in pci9111_ai_do_cmd_test()
853 async_cmd->stop_arg * async_cmd->chanlist_len; in pci9111_ai_do_cmd()
D8255.c302 if (cmd->stop_arg != 0) { in subdev_8255_cmdtest()
303 cmd->stop_arg = 0; in subdev_8255_cmdtest()
Ddt3000.c550 if (cmd->stop_arg > 0x00ffffff) { in dt3k_ai_cmdtest()
551 cmd->stop_arg = 0x00ffffff; in dt3k_ai_cmdtest()
556 if (cmd->stop_arg != 0) { in dt3k_ai_cmdtest()
557 cmd->stop_arg = 0; in dt3k_ai_cmdtest()
Dadv_pci1710.c935 e, cmd->stop_arg, cmd->scan_end_arg, cmd->chanlist_len); in pci171x_cmdtest_out()
1053 if (!cmd->stop_arg) { in pci171x_ai_cmdtest()
1054 cmd->stop_arg = 1; in pci171x_ai_cmdtest()
1058 if (cmd->stop_arg != 0) { in pci171x_ai_cmdtest()
1059 cmd->stop_arg = 0; in pci171x_ai_cmdtest()
1123 devpriv->ai_scans = cmd->stop_arg; in pci171x_ai_cmd()
Dusbduxfast.c669 if (!cmd->stop_arg) { in usbduxfast_ai_cmdtest()
670 cmd->stop_arg = 1; in usbduxfast_ai_cmdtest()
675 if (cmd->stop_arg != 0) { in usbduxfast_ai_cmdtest()
676 cmd->stop_arg = 0; in usbduxfast_ai_cmdtest()
1175 udfs->ai_sample_count = cmd->stop_arg * cmd->scan_end_arg; in usbduxfast_ai_cmd()
Dni_daq_700.c269 if (cmd->stop_arg != 0) { in subdev_700_cmdtest()
270 cmd->stop_arg = 0; in subdev_700_cmdtest()
/drivers/staging/comedi/
Dcomedi_compat32.c70 unsigned int stop_arg; member
207 err |= __get_user(temp.uint, &cmd32->stop_arg); in get_compat_cmd()
208 err |= __put_user(temp.uint, &cmd->stop_arg); in get_compat_cmd()
258 err |= __get_user(temp, &cmd->stop_arg); in put_compat_cmd()
259 err |= __put_user(temp, &cmd32->stop_arg); in put_compat_cmd()

123