/Linux-v4.19/drivers/staging/comedi/drivers/ |
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()
|
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 …]
|
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()
|
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() 470 writew(cmd->scan_end_arg, dev->mmio + DPR_PARAMS(0)); in dt3k_ai_cmd()
|
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()
|
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()
|
D | amplc_pc236_common.c | 92 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pc236_intr_cmdtest()
|
D | ni_atmio16d.c | 282 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()
|
D | aio_iiro_16.c | 125 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in aio_iiro_16_cos_cmdtest()
|
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()
|
D | comedi_parport.c | 170 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in parport_intr_cmdtest()
|
D | dt2814.c | 147 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt2814_ai_cmdtest()
|
D | dt282x.c | 694 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()
|
D | addi_apci_1032.c | 206 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in apci1032_cos_cmdtest()
|
D | addi_apci_2032.c | 107 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in apci2032_int_cmdtest()
|
D | pcl726.c | 182 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl726_intr_cmdtest()
|
D | ni_tiocmd.c | 259 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in ni_tio_cmdtest()
|
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()
|
D | ni_6527.c | 232 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in ni6527_intr_cmdtest()
|
D | dt2811.c | 430 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt2811_ai_cmdtest()
|
D | pcl711.c | 313 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pcl711_ai_cmdtest()
|
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()
|
/Linux-v4.19/drivers/staging/comedi/ |
D | comedi_compat32.c | 57 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()
|
D | drivers.c | 409 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()
|
D | comedi.h | 582 unsigned int scan_end_arg; member
|