/drivers/staging/comedi/drivers/ |
D | dt2814.c | 216 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()
|
D | dmm32at.c | 662 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()
|
D | comedi_test.c | 203 && 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()
|
D | pcm_common.c | 93 if (cmd->stop_arg != 0) { in comedi_pcm_cmdtest() 94 cmd->stop_arg = 0; in comedi_pcm_cmdtest()
|
D | skel.c | 465 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()
|
D | amplc_pci224.c | 938 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()
|
D | cb_pcidda.c | 437 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;
|
D | das16m1.c | 294 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()
|
D | quatech_daqp_cs.c | 542 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()
|
D | ni_at_a2150.c | 573 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()
|
D | das800.c | 676 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()
|
D | cb_das16_cs.c | 436 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()
|
D | pcl816.c | 494 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()
|
D | gsc_hpdi.c | 840 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()
|
D | dt282x.c | 831 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()
|
D | das1800.c | 1268 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()
|
D | comedi_parport.c | 255 if (cmd->stop_arg != 0) { in parport_intr_cmdtest() 256 cmd->stop_arg = 0; in parport_intr_cmdtest()
|
D | pcl812.c | 637 "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()
|
D | adl_pci9111.c | 721 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()
|
D | 8255.c | 302 if (cmd->stop_arg != 0) { in subdev_8255_cmdtest() 303 cmd->stop_arg = 0; in subdev_8255_cmdtest()
|
D | dt3000.c | 550 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()
|
D | adv_pci1710.c | 935 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()
|
D | usbduxfast.c | 669 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()
|
D | ni_daq_700.c | 269 if (cmd->stop_arg != 0) { in subdev_700_cmdtest() 270 cmd->stop_arg = 0; in subdev_700_cmdtest()
|
/drivers/staging/comedi/ |
D | comedi_compat32.c | 70 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()
|