/linux-6.3-rc2/drivers/comedi/drivers/ |
A D | comedi_test.c | 221 cmd->scan_end_arg; in waveform_ai_timer() 299 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in waveform_ai_cmdtest() 320 limit = UINT_MAX / cmd->scan_end_arg; in waveform_ai_cmdtest() 335 arg = max(arg, cmd->convert_arg * cmd->scan_end_arg); in waveform_ai_cmdtest() 367 cmd->scan_end_arg; in waveform_ai_cmd() 459 comedi_samples_to_bytes(s, cmd->scan_end_arg * in waveform_ao_timer() 471 for (i = 0; i < cmd->scan_end_arg; i++) { in waveform_ao_timer() 558 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in waveform_ao_cmdtest()
|
A D | adl_pci9118.c | 950 (cmd->scan_end_arg == 1)) { in pci9118_ai_cmd() 962 (cmd->scan_end_arg & 1) && in pci9118_ai_cmd() 963 (cmd->scan_end_arg > 1)) { in pci9118_ai_cmd() 1015 (cmd->scan_end_arg / cmd->chanlist_len); in pci9118_ai_cmd() 1214 (cmd->convert_src == TRIG_TIMER) && (cmd->scan_end_arg == 1)) { in pci9118_ai_cmdtest() 1229 err |= comedi_check_trigger_arg_max(&cmd->scan_end_arg, in pci9118_ai_cmdtest() 1249 err |= comedi_check_trigger_arg_min(&cmd->scan_end_arg, in pci9118_ai_cmdtest() 1252 if ((cmd->scan_end_arg % cmd->chanlist_len)) { in pci9118_ai_cmdtest() 1253 cmd->scan_end_arg = in pci9118_ai_cmdtest() 1254 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 | dt3000.c | 415 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt3k_ai_cmdtest() 440 arg = cmd->convert_arg * cmd->scan_end_arg; in dt3k_ai_cmdtest() 468 writew(cmd->scan_end_arg, dev->mmio + DPR_PARAMS(0)); in dt3k_ai_cmd()
|
A D | quatech_daqp_cs.c | 411 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()
|
A D | me4000.c | 685 outl(cmd->scan_end_arg, in me4000_ai_do_cmd() 821 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; in me4000_ai_do_cmd_test() 857 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; in me4000_ai_do_cmd_test() 899 if (cmd->scan_end_arg == 0) { in me4000_ai_do_cmd_test() 901 cmd->scan_end_arg = 1; in me4000_ai_do_cmd_test()
|
A D | ni_atmio16d.c | 271 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in atmio16d_ai_cmdtest() 318 if (i == cmd->scan_end_arg - 1) in atmio16d_ai_cmd() 348 sample_count = cmd->stop_arg * cmd->scan_end_arg; in atmio16d_ai_cmd()
|
A D | amplc_pc236_common.c | 91 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pc236_intr_cmdtest()
|
A D | aio_iiro_16.c | 124 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in aio_iiro_16_cos_cmdtest()
|
A D | dmm32at.c | 302 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dmm32at_ai_cmdtest() 315 arg = cmd->convert_arg * cmd->scan_end_arg; in dmm32at_ai_cmdtest()
|
A D | comedi_parport.c | 169 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in parport_intr_cmdtest()
|
A D | dt282x.c | 665 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt282x_ai_cmdtest() 710 devpriv->ntrig = cmd->stop_arg * cmd->scan_end_arg; in dt282x_ai_cmd() 828 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt282x_ao_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 | 179 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 | 181 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl726_intr_cmdtest()
|
A D | amplc_pci230.c | 973 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pci230_ao_cmdtest() 1637 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pci230_ai_cmdtest() 1720 wake = cmd->scan_end_arg - s->async->cur_chan; in pci230_ai_update_fifo_trigger_level() 2245 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 | 233 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in ni6527_intr_cmdtest()
|
A D | adl_pci7x3x.c | 211 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in adl_pci7x3x_asy_cmdtest()
|
A D | dt2811.c | 429 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt2811_ai_cmdtest()
|
A D | pcl711.c | 311 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl711_ai_cmdtest()
|
A D | rtd520.c | 791 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in rtd_ai_cmdtest() 816 arg = cmd->convert_arg * cmd->scan_end_arg; in rtd_ai_cmdtest()
|
/linux-6.3-rc2/drivers/comedi/ |
A D | drivers.c | 426 num_samples = DIV_ROUND_UP(cmd->scan_end_arg, bits_per_sample); in comedi_bytes_per_scan_cmd() 429 num_samples = cmd->scan_end_arg; in comedi_bytes_per_scan_cmd() 526 samples_left = scans_left * cmd->scan_end_arg - in comedi_nsamples_left()
|
A D | comedi_fops.c | 2871 unsigned int scan_end_arg; member 2957 cmd->scan_end_arg = v32.scan_end_arg; in get_compat_cmd() 2983 v32.scan_end_arg = cmd->scan_end_arg; in put_compat_cmd()
|