Home
last modified time | relevance | path

Searched refs:scan_end_arg (Results 1 – 25 of 48) sorted by relevance

12

/drivers/staging/comedi/drivers/
Dpcm_common.c83 if (cmd->scan_end_arg != cmd->chanlist_len) { in comedi_pcm_cmdtest()
84 cmd->scan_end_arg = cmd->chanlist_len; in comedi_pcm_cmdtest()
Dskel.c460 if (cmd->scan_end_arg != cmd->chanlist_len) { in skel_ai_cmdtest()
461 cmd->scan_end_arg = cmd->chanlist_len; in skel_ai_cmdtest()
497 cmd->convert_arg * cmd->scan_end_arg) { in skel_ai_cmdtest()
499 cmd->convert_arg * cmd->scan_end_arg; in skel_ai_cmdtest()
Dcb_pcidda.c435 printk("scan_end_arg: %d\n", cmd->scan_end_arg);
546 if (cmd->scan_end_arg != cmd->chanlist_len) {
547 cmd->scan_end_arg = cmd->chanlist_len;
583 cmd->convert_arg * cmd->scan_end_arg) {
585 cmd->convert_arg * cmd->scan_end_arg;
Ddt3000.c545 if (cmd->scan_end_arg != cmd->chanlist_len) { in dt3k_ai_cmdtest()
546 cmd->scan_end_arg = cmd->chanlist_len; in dt3k_ai_cmdtest()
584 cmd->convert_arg * cmd->scan_end_arg) { in dt3k_ai_cmdtest()
586 cmd->convert_arg * cmd->scan_end_arg; in dt3k_ai_cmdtest()
654 writew(cmd->scan_end_arg, devpriv->io_addr + DPR_Params(0)); in dt3k_ai_cmd()
655 dev_dbg(dev->hw_dev, "param[0]=0x%04x\n", cmd->scan_end_arg); in dt3k_ai_cmd()
Dadl_pci9118.c1084 (cmd->convert_src == TRIG_TIMER) && (cmd->scan_end_arg == 1)) { in pci9118_ai_cmdtest()
1100 if (cmd->scan_end_arg > 65535) { in pci9118_ai_cmdtest()
1101 cmd->scan_end_arg = 65535; in pci9118_ai_cmdtest()
1140 if (cmd->scan_end_arg < cmd->chanlist_len) { in pci9118_ai_cmdtest()
1141 cmd->scan_end_arg = cmd->chanlist_len; in pci9118_ai_cmdtest()
1145 if ((cmd->scan_end_arg % cmd->chanlist_len)) { in pci9118_ai_cmdtest()
1146 cmd->scan_end_arg = in pci9118_ai_cmdtest()
1147 cmd->chanlist_len * (cmd->scan_end_arg / cmd->chanlist_len); in pci9118_ai_cmdtest()
1184 (cmd->scan_end_arg + 2)) { in pci9118_ai_cmdtest()
1187 (cmd->scan_end_arg + 2); in pci9118_ai_cmdtest()
[all …]
Dcb_das16_cs.c431 if (cmd->scan_end_arg != cmd->chanlist_len) { in das16cs_ai_cmdtest()
432 cmd->scan_end_arg = cmd->chanlist_len; in das16cs_ai_cmdtest()
474 cmd->convert_arg * cmd->scan_end_arg) { in das16cs_ai_cmdtest()
476 cmd->convert_arg * cmd->scan_end_arg; in das16cs_ai_cmdtest()
Dquatech_daqp_cs.c528 && cmd->scan_begin_arg != cmd->convert_arg * cmd->scan_end_arg) { in daqp_ai_cmdtest()
537 if (cmd->scan_end_arg != cmd->chanlist_len) { in daqp_ai_cmdtest()
538 cmd->scan_end_arg = cmd->chanlist_len; in daqp_ai_cmdtest()
721 local->count = cmd->stop_arg * cmd->scan_end_arg; in daqp_ai_cmd()
Ddmm32at.c657 if (cmd->scan_end_arg != cmd->chanlist_len) { in dmm32at_ai_cmdtest()
658 cmd->scan_end_arg = cmd->chanlist_len; in dmm32at_ai_cmdtest()
698 cmd->convert_arg * cmd->scan_end_arg) { in dmm32at_ai_cmdtest()
700 cmd->convert_arg * cmd->scan_end_arg; in dmm32at_ai_cmdtest()
Dcomedi_parport.c251 if (cmd->scan_end_arg != 1) { in parport_intr_cmdtest()
252 cmd->scan_end_arg = 1; in parport_intr_cmdtest()
Dni_atmio16d.c385 if (cmd->scan_end_arg != cmd->chanlist_len) { in atmio16d_ai_cmdtest()
386 cmd->scan_end_arg = cmd->chanlist_len; in atmio16d_ai_cmdtest()
438 if (i == cmd->scan_end_arg - 1) in atmio16d_ai_cmd()
470 sample_count = cmd->stop_arg * cmd->scan_end_arg; in atmio16d_ai_cmd()
D8255.c298 if (cmd->scan_end_arg != 1) { in subdev_8255_cmdtest()
299 cmd->scan_end_arg = 1; in subdev_8255_cmdtest()
Ddt2814.c211 if (cmd->scan_end_arg != cmd->chanlist_len) { in dt2814_ai_cmdtest()
212 cmd->scan_end_arg = cmd->chanlist_len; in dt2814_ai_cmdtest()
Ddt282x.c823 if (cmd->scan_end_arg != cmd->chanlist_len) { in dt282x_ai_cmdtest()
824 cmd->scan_end_arg = cmd->chanlist_len; in dt282x_ai_cmdtest()
881 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd()
1077 if (cmd->scan_end_arg > 2) { in dt282x_ao_cmdtest()
1079 cmd->scan_end_arg = 2; in dt282x_ao_cmdtest()
Dpcl812.c637 "chanlistlen=%d\n", e, cmd->stop_arg, cmd->scan_end_arg, in pcl812_cmdtest_out()
773 if (cmd->scan_end_arg != cmd->chanlist_len) { in pcl812_ai_cmdtest()
774 cmd->scan_end_arg = cmd->chanlist_len; in pcl812_ai_cmdtest()
849 if (cmd->scan_end_arg != cmd->chanlist_len) in pcl812_ai_cmd()
867 sizeof(unsigned int) * cmd->scan_end_arg); in pcl812_ai_cmd()
Dni_daq_700.c265 if (cmd->scan_end_arg != 1) { in subdev_700_cmdtest()
266 cmd->scan_end_arg = 1; in subdev_700_cmdtest()
Dni_6527.c296 if (cmd->scan_end_arg != 1) { in ni6527_intr_cmdtest()
297 cmd->scan_end_arg = 1; in ni6527_intr_cmdtest()
Dni_tiocmd.c319 if (cmd->scan_end_arg != cmd->chanlist_len) { in ni_tio_cmdtest()
320 cmd->scan_end_arg = cmd->chanlist_len; in ni_tio_cmdtest()
Dpcl816.c494 e, cmd->stop_arg, cmd->scan_end_arg, cmd->chanlist_len); in pcl816_cmdtest_out()
594 if (cmd->scan_end_arg != cmd->chanlist_len) { in pcl816_ai_cmdtest()
595 cmd->scan_end_arg = cmd->chanlist_len; in pcl816_ai_cmdtest()
654 if (cmd->scan_end_arg != cmd->chanlist_len) in pcl816_ai_cmd()
Damplc_pc236.c655 if (cmd->scan_end_arg != 1) { in pc236_intr_cmdtest()
656 cmd->scan_end_arg = 1; in pc236_intr_cmdtest()
Dpcl711.c365 if (cmd->scan_end_arg != cmd->chanlist_len) { in pcl711_ai_cmdtest()
366 cmd->scan_end_arg = cmd->chanlist_len; in pcl711_ai_cmdtest()
Dcomedi_test.c380 if (cmd->scan_end_arg != cmd->chanlist_len) { in waveform_ai_cmdtest()
381 cmd->scan_end_arg = cmd->chanlist_len; in waveform_ai_cmdtest()
Damplc_pci230.c1395 if (cmd->scan_end_arg != cmd->chanlist_len) { in pci230_ao_cmdtest()
1396 cmd->scan_end_arg = cmd->chanlist_len; in pci230_ao_cmdtest()
1878 if (cmd->scan_end_arg != cmd->chanlist_len) { in pci230_ai_cmdtest()
1879 cmd->scan_end_arg = cmd->chanlist_len; in pci230_ai_cmdtest()
2099 unsigned int scanlen = cmd->scan_end_arg; in pci230_ai_update_fifo_trigger_level()
2517 * cmd->scan_end_arg), in pci230_ai_cmd()
2840 unsigned int scanlen = async->cmd.scan_end_arg; in pci230_handle_ai()
Dme4000.c1312 me4000_outl(dev, cmd->scan_end_arg, in ai_prepare()
1440 cmd->scan_end_arg); in me4000_ai_do_cmd_test()
1649 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; in me4000_ai_do_cmd_test()
1696 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; in me4000_ai_do_cmd_test()
1760 if (cmd->scan_end_arg == 0) { in me4000_ai_do_cmd_test()
1764 cmd->scan_end_arg = 1; in me4000_ai_do_cmd_test()
Ddas16m1.c285 if (cmd->scan_end_arg != cmd->chanlist_len) { in das16m1_cmd_test()
286 cmd->scan_end_arg = cmd->chanlist_len; in das16m1_cmd_test()
/drivers/staging/comedi/
Dcomedi_compat32.c68 unsigned int scan_end_arg; member
203 err |= __get_user(temp.uint, &cmd32->scan_end_arg); in get_compat_cmd()
204 err |= __put_user(temp.uint, &cmd->scan_end_arg); in get_compat_cmd()
254 err |= __get_user(temp, &cmd->scan_end_arg); in put_compat_cmd()
255 err |= __put_user(temp, &cmd32->scan_end_arg); in put_compat_cmd()

12