Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/staging/comedi/drivers/
Dcomedi_test.c223 cmd->scan_end_arg; in waveform_ai_timer()
301 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in waveform_ai_cmdtest()
322 limit = UINT_MAX / cmd->scan_end_arg; in waveform_ai_cmdtest()
337 arg = max(arg, cmd->convert_arg * cmd->scan_end_arg); in waveform_ai_cmdtest()
369 cmd->scan_end_arg; in waveform_ai_cmd()
461 comedi_samples_to_bytes(s, cmd->scan_end_arg * in waveform_ao_timer()
473 for (i = 0; i < cmd->scan_end_arg; i++) { in waveform_ao_timer()
560 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in waveform_ao_cmdtest()
Dadl_pci9118.c951 (cmd->scan_end_arg == 1)) { in pci9118_ai_cmd()
963 (cmd->scan_end_arg & 1) && in pci9118_ai_cmd()
964 (cmd->scan_end_arg > 1)) { in pci9118_ai_cmd()
1016 (cmd->scan_end_arg / cmd->chanlist_len); in pci9118_ai_cmd()
1215 (cmd->convert_src == TRIG_TIMER) && (cmd->scan_end_arg == 1)) { in pci9118_ai_cmdtest()
1230 err |= comedi_check_trigger_arg_max(&cmd->scan_end_arg, in pci9118_ai_cmdtest()
1250 err |= comedi_check_trigger_arg_min(&cmd->scan_end_arg, in pci9118_ai_cmdtest()
1253 if ((cmd->scan_end_arg % cmd->chanlist_len)) { in pci9118_ai_cmdtest()
1254 cmd->scan_end_arg = in pci9118_ai_cmdtest()
1255 cmd->chanlist_len * (cmd->scan_end_arg / cmd->chanlist_len); in pci9118_ai_cmdtest()
[all …]
Daddi_apci_3120.c214 scan_bytes = comedi_samples_to_bytes(s, cmd->scan_end_arg); in apci3120_setup_dma()
231 if (cmd->scan_end_arg & 1) in apci3120_setup_dma()
236 if (cmd->scan_end_arg & 1) in apci3120_setup_dma()
635 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in apci3120_ai_cmdtest()
650 arg = cmd->convert_arg * cmd->scan_end_arg; in apci3120_ai_cmdtest()
Ddt3000.c416 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt3k_ai_cmdtest()
441 arg = cmd->convert_arg * cmd->scan_end_arg; in dt3k_ai_cmdtest()
470 writew(cmd->scan_end_arg, dev->mmio + DPR_PARAMS(0)); in dt3k_ai_cmd()
Dquatech_daqp_cs.c411 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in daqp_ai_cmdtest()
429 arg = cmd->convert_arg * cmd->scan_end_arg; in daqp_ai_cmdtest()
575 cmd->scan_end_arg; in daqp_ai_cmd()
Dme4000.c686 outl(cmd->scan_end_arg, in me4000_ai_do_cmd()
822 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; in me4000_ai_do_cmd_test()
858 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; in me4000_ai_do_cmd_test()
900 if (cmd->scan_end_arg == 0) { in me4000_ai_do_cmd_test()
902 cmd->scan_end_arg = 1; in me4000_ai_do_cmd_test()
Damplc_pc236_common.c92 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pc236_intr_cmdtest()
Dni_atmio16d.c282 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in atmio16d_ai_cmdtest()
329 if (i == cmd->scan_end_arg - 1) in atmio16d_ai_cmd()
359 sample_count = cmd->stop_arg * cmd->scan_end_arg; in atmio16d_ai_cmd()
Daio_iiro_16.c125 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in aio_iiro_16_cos_cmdtest()
Ddmm32at.c303 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dmm32at_ai_cmdtest()
316 arg = cmd->convert_arg * cmd->scan_end_arg; in dmm32at_ai_cmdtest()
Dcomedi_parport.c170 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in parport_intr_cmdtest()
Ddt2814.c147 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt2814_ai_cmdtest()
Ddt282x.c694 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt282x_ai_cmdtest()
739 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd()
857 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt282x_ao_cmdtest()
Daddi_apci_1032.c206 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in apci1032_cos_cmdtest()
Daddi_apci_2032.c107 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in apci2032_int_cmdtest()
Dpcl726.c182 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl726_intr_cmdtest()
Dni_tiocmd.c259 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in ni_tio_cmdtest()
Damplc_pci230.c975 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pci230_ao_cmdtest()
1639 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pci230_ai_cmdtest()
1722 wake = cmd->scan_end_arg - s->async->cur_chan; in pci230_ai_update_fifo_trigger_level()
2247 cmd->scan_end_arg), in pci230_ai_cmd()
Dni_6527.c232 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in ni6527_intr_cmdtest()
Ddt2811.c430 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt2811_ai_cmdtest()
Dpcl711.c313 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl711_ai_cmdtest()
Drtd520.c792 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in rtd_ai_cmdtest()
817 arg = cmd->convert_arg * cmd->scan_end_arg; in rtd_ai_cmdtest()
/Linux-v4.19/drivers/staging/comedi/
Dcomedi_compat32.c57 unsigned int scan_end_arg; member
189 err |= __get_user(temp.uint, &cmd32->scan_end_arg); in get_compat_cmd()
190 err |= __put_user(temp.uint, &cmd->scan_end_arg); in get_compat_cmd()
243 err |= __get_user(temp, &cmd->scan_end_arg); in put_compat_cmd()
244 err |= __put_user(temp, &cmd32->scan_end_arg); in put_compat_cmd()
Ddrivers.c409 num_samples = DIV_ROUND_UP(cmd->scan_end_arg, bits_per_sample); in comedi_bytes_per_scan()
412 num_samples = cmd->scan_end_arg; in comedi_bytes_per_scan()
486 samples_left = scans_left * cmd->scan_end_arg - in comedi_nsamples_left()
Dcomedi.h582 unsigned int scan_end_arg; member

123