/linux/drivers/comedi/drivers/ |
A D | comedi_test.c | 223 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()
|
A D | adl_pci9118.c | 951 (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 …]
|
A D | addi_apci_3120.c | 214 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()
|
A D | quatech_daqp_cs.c | 412 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in daqp_ai_cmdtest() 430 arg = cmd->convert_arg * cmd->scan_end_arg; in daqp_ai_cmdtest() 576 cmd->scan_end_arg; in daqp_ai_cmd()
|
A D | dt3000.c | 416 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() 469 writew(cmd->scan_end_arg, dev->mmio + DPR_PARAMS(0)); in dt3k_ai_cmd()
|
A D | me4000.c | 686 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()
|
A D | ni_atmio16d.c | 272 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in atmio16d_ai_cmdtest() 319 if (i == cmd->scan_end_arg - 1) in atmio16d_ai_cmd() 349 sample_count = cmd->stop_arg * cmd->scan_end_arg; in atmio16d_ai_cmd()
|
A D | amplc_pc236_common.c | 92 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pc236_intr_cmdtest()
|
A D | aio_iiro_16.c | 125 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in aio_iiro_16_cos_cmdtest()
|
A D | dmm32at.c | 303 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()
|
A D | dt282x.c | 667 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt282x_ai_cmdtest() 712 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd() 830 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt282x_ao_cmdtest()
|
A D | comedi_parport.c | 170 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in parport_intr_cmdtest()
|
A D | addi_apci_1032.c | 214 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in apci1032_cos_cmdtest()
|
A D | dt2814.c | 180 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt2814_ai_cmdtest()
|
A D | addi_apci_2032.c | 107 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in apci2032_int_cmdtest()
|
A D | pcl726.c | 182 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl726_intr_cmdtest()
|
A D | amplc_pci230.c | 975 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()
|
A D | ni_tiocmd.c | 317 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in ni_tio_cmdtest()
|
A D | ni_6527.c | 234 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in ni6527_intr_cmdtest()
|
A D | rtd520.c | 792 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()
|
A D | adl_pci7x3x.c | 212 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in adl_pci7x3x_asy_cmdtest()
|
A D | dt2811.c | 430 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt2811_ai_cmdtest()
|
A D | pcl711.c | 313 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl711_ai_cmdtest()
|
/linux/drivers/comedi/ |
A D | drivers.c | 427 num_samples = DIV_ROUND_UP(cmd->scan_end_arg, bits_per_sample); in comedi_bytes_per_scan_cmd() 430 num_samples = cmd->scan_end_arg; in comedi_bytes_per_scan_cmd() 527 samples_left = scans_left * cmd->scan_end_arg - in comedi_nsamples_left()
|
A D | comedi_fops.c | 2870 unsigned int scan_end_arg; member 2956 cmd->scan_end_arg = v32.scan_end_arg; in get_compat_cmd() 2982 v32.scan_end_arg = cmd->scan_end_arg; in put_compat_cmd()
|