Searched refs:convert_arg (Results 1 - 51 of 51) sorted by relevance

/linux-4.4.14/drivers/staging/comedi/drivers/
H A Ddmm32at.c301 if (cmd->convert_arg >= 17500) dmm32at_ai_cmdtest()
302 cmd->convert_arg = 20000; dmm32at_ai_cmdtest()
303 else if (cmd->convert_arg >= 12500) dmm32at_ai_cmdtest()
304 cmd->convert_arg = 15000; dmm32at_ai_cmdtest()
305 else if (cmd->convert_arg >= 7500) dmm32at_ai_cmdtest()
306 cmd->convert_arg = 10000; dmm32at_ai_cmdtest()
308 cmd->convert_arg = 5000; dmm32at_ai_cmdtest()
323 arg = cmd->convert_arg * cmd->scan_end_arg; dmm32at_ai_cmdtest()
H A Ddas1800.c84 (convert_arg <= 64000). This limitation does not apply if scan_begin_src
680 static unsigned int burst_convert_arg(unsigned int convert_arg, int flags) burst_convert_arg() argument
685 if (convert_arg > 64000) burst_convert_arg()
686 convert_arg = 64000; burst_convert_arg()
692 micro_sec = (convert_arg + 500) / 1000; burst_convert_arg()
695 micro_sec = convert_arg / 1000; burst_convert_arg()
698 micro_sec = (convert_arg - 1) / 1000 + 1; burst_convert_arg()
770 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, das1800_ai_do_cmdtest()
797 arg = cmd->convert_arg; das1800_ai_do_cmdtest()
799 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); das1800_ai_do_cmdtest()
802 arg = burst_convert_arg(cmd->convert_arg, cmd->flags); das1800_ai_do_cmdtest()
803 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); das1800_ai_do_cmdtest()
806 arg = cmd->convert_arg * cmd->chanlist_len; das1800_ai_do_cmdtest()
917 samples = ns / cmd->convert_arg; das1800_ai_transfer_size()
1039 outb(cmd->convert_arg / 1000 - 1, das1800_ai_do_cmd()
H A Dcomedi_test.c276 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); waveform_ai_cmdtest()
279 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, waveform_ai_cmdtest()
306 /* round convert_arg to nearest microsecond */ waveform_ai_cmdtest()
307 arg = cmd->convert_arg; waveform_ai_cmdtest()
312 /* limit convert_arg to keep scan_begin_arg in range */ waveform_ai_cmdtest()
317 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); waveform_ai_cmdtest()
328 arg = max(arg, cmd->convert_arg * cmd->scan_end_arg); waveform_ai_cmdtest()
356 devpriv->ai_convert_period = cmd->convert_arg / NSEC_PER_USEC; waveform_ai_cmd()
562 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); waveform_ao_cmdtest()
H A Ddt3000.c419 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, dt3k_ai_cmdtest()
421 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, dt3k_ai_cmdtest()
445 arg = cmd->convert_arg; dt3k_ai_cmdtest()
447 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); dt3k_ai_cmdtest()
450 arg = cmd->convert_arg * cmd->scan_end_arg; dt3k_ai_cmdtest()
482 divider = dt3k_ns_to_timer(50, &cmd->convert_arg, cmd->flags); dt3k_ai_cmd()
H A Dni_atmio16d.c270 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 10000); atmio16d_ai_cmdtest()
272 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, SLOWEST_TIMER); atmio16d_ai_cmdtest()
328 if (cmd->convert_arg < 65536000) { atmio16d_ai_cmd()
330 timer = cmd->convert_arg / 1000; atmio16d_ai_cmd()
331 } else if (cmd->convert_arg < 655360000) { atmio16d_ai_cmd()
333 timer = cmd->convert_arg / 10000; atmio16d_ai_cmd()
334 } else /* cmd->convert_arg < 6553600000 */ { atmio16d_ai_cmd()
336 timer = cmd->convert_arg / 100000; atmio16d_ai_cmd()
H A Damplc_pci230.c105 * convert_arg value is interpreted as follows:
107 * convert_arg == (CR_EDGE | 0) => rising edge
108 * convert_arg == (CR_EDGE | CR_INVERT | 0) => falling edge
109 * convert_arg == 0 => falling edge (backwards compatibility)
110 * convert_arg == 1 => rising edge (backwards compatibility)
1382 min_scan_period = chanlist_len * cmd->convert_arg; pci230_ai_check_scan_period()
1384 min_scan_period < cmd->convert_arg) { pci230_ai_check_scan_period()
1588 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, pci230_ai_cmdtest()
1590 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, pci230_ai_cmdtest()
1596 * convert_arg == (CR_EDGE | 0) pci230_ai_cmdtest()
1598 * convert_arg == (CR_EDGE | CR_INVERT | 0) pci230_ai_cmdtest()
1601 if (cmd->convert_arg & CR_FLAGS_MASK) { pci230_ai_cmdtest()
1603 if (cmd->convert_arg & ~CR_FLAGS_MASK) { pci230_ai_cmdtest()
1604 cmd->convert_arg = COMBINE(cmd->convert_arg, 0, pci230_ai_cmdtest()
1612 if ((cmd->convert_arg & CR_FLAGS_MASK & ~CR_INVERT) != pci230_ai_cmdtest()
1615 cmd->convert_arg = pci230_ai_cmdtest()
1623 * convert_arg == 0 => trigger on -ve edge. pci230_ai_cmdtest()
1624 * convert_arg == 1 => trigger on +ve edge. pci230_ai_cmdtest()
1626 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, pci230_ai_cmdtest()
1630 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pci230_ai_cmdtest()
1659 /* N.B. cmd->convert_arg is also TRIG_TIMER */ pci230_ai_cmdtest()
1673 tmp = cmd->convert_arg; pci230_ai_cmdtest()
1674 pci230_ns_to_single_timer(&cmd->convert_arg, cmd->flags); pci230_ai_cmdtest()
1675 if (tmp != cmd->convert_arg) pci230_ai_cmdtest()
1680 /* N.B. cmd->convert_arg is also TRIG_TIMER */ pci230_ai_cmdtest()
1883 if (cmd->convert_arg & CR_EDGE) { pci230_ai_start()
1884 if ((cmd->convert_arg & CR_INVERT) == 0) { pci230_ai_start()
1893 if (cmd->convert_arg) { pci230_ai_start()
2222 pci230_ct_setup_ns_mode(dev, 2, I8254_MODE3, cmd->convert_arg, pci230_ai_cmd()
2240 ((uint64_t)cmd->convert_arg * pci230_ai_cmd()
H A Dadl_pci9111.c287 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, pci9111_ai_do_cmd_test()
290 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pci9111_ai_do_cmd_test()
314 arg = cmd->convert_arg; pci9111_ai_do_cmd_test()
316 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); pci9111_ai_do_cmd_test()
321 * must be a multiple of chanlist_len*convert_arg pci9111_ai_do_cmd_test()
324 arg = cmd->chanlist_len * cmd->convert_arg; pci9111_ai_do_cmd_test()
380 (cmd->convert_arg * cmd->chanlist_len)) - 1; pci9111_ai_do_cmd()
H A Dadl_pci9118.c990 if (cmd->convert_arg < devpriv->ai_ns_min) pci9118_ai_cmd()
991 cmd->convert_arg = devpriv->ai_ns_min; pci9118_ai_cmd()
992 addchans = devpriv->softsshdelay / cmd->convert_arg; pci9118_ai_cmd()
993 if (devpriv->softsshdelay % cmd->convert_arg) pci9118_ai_cmd()
1039 comedi_8254_cascade_ns_to_timer(pacer, &cmd->convert_arg, pci9118_ai_cmd()
1074 &cmd->scan_begin_arg, &cmd->convert_arg, pci9118_ai_cmd()
1215 cmd->convert_arg = cmd->scan_begin_arg; pci9118_ai_cmdtest()
1234 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, pci9118_ai_cmdtest()
1239 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pci9118_ai_cmdtest()
1269 arg = cmd->convert_arg; pci9118_ai_cmdtest()
1271 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); pci9118_ai_cmdtest()
1275 if (cmd->convert_arg == 0) { pci9118_ai_cmdtest()
1279 arg = cmd->convert_arg * cmd->chanlist_len; pci9118_ai_cmdtest()
H A Drtd520.c769 if (comedi_check_trigger_arg_min(&cmd->convert_arg, rtd_ai_cmdtest()
771 rtd_ns_to_timer(&cmd->convert_arg, rtd_ai_cmdtest()
775 if (comedi_check_trigger_arg_max(&cmd->convert_arg, rtd_ai_cmdtest()
777 rtd_ns_to_timer(&cmd->convert_arg, rtd_ai_cmdtest()
782 if (comedi_check_trigger_arg_min(&cmd->convert_arg, rtd_ai_cmdtest()
784 rtd_ns_to_timer(&cmd->convert_arg, rtd_ai_cmdtest()
788 if (comedi_check_trigger_arg_max(&cmd->convert_arg, rtd_ai_cmdtest()
790 rtd_ns_to_timer(&cmd->convert_arg, rtd_ai_cmdtest()
798 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, 9); rtd_ai_cmdtest()
821 arg = cmd->convert_arg; rtd_ai_cmdtest()
823 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); rtd_ai_cmdtest()
826 arg = cmd->convert_arg * cmd->scan_end_arg; rtd_ai_cmdtest()
958 timer = rtd_ns_to_timer(&cmd->convert_arg, rtd_ai_cmd()
H A Dme4000.c622 if (cmd->convert_arg) { me4000_ai_round_cmd_args()
623 devpriv->ai_chan_ticks = (cmd->convert_arg * 33) / 1000; me4000_ai_round_cmd_args()
624 rest = (cmd->convert_arg * 33) % 1000; me4000_ai_round_cmd_args()
797 cmd->convert_arg = 2000; me4000_ai_do_cmd_test()
823 cmd->convert_arg = 2000; /* 66 ticks at least */ me4000_ai_do_cmd_test()
845 cmd->convert_arg = 2000; /* 66 ticks at least */ me4000_ai_do_cmd_test()
859 cmd->convert_arg = 2000; /* 66 ticks at least */ me4000_ai_do_cmd_test()
881 cmd->convert_arg = 2000; /* 66 ticks at least */ me4000_ai_do_cmd_test()
895 cmd->convert_arg = 2000; /* 66 ticks at least */ me4000_ai_do_cmd_test()
H A Dpcl816.c367 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 10000); pcl816_ai_cmdtest()
369 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pcl816_ai_cmdtest()
384 unsigned int arg = cmd->convert_arg; pcl816_ai_cmdtest()
387 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); pcl816_ai_cmdtest()
H A Dni_labpc_common.c297 return cmd->convert_arg; labpc_ai_convert_period()
309 if (cmd->convert_arg > cmd->scan_begin_arg) labpc_set_ai_convert_period()
310 cmd->convert_arg = cmd->scan_begin_arg; labpc_set_ai_convert_period()
312 cmd->convert_arg = ns; labpc_set_ai_convert_period()
563 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, labpc_ai_cmdtest()
572 cmd->convert_arg * labpc_ai_cmdtest()
600 tmp = cmd->convert_arg; labpc_ai_cmdtest()
604 if (tmp != cmd->convert_arg || tmp2 != cmd->scan_begin_arg) labpc_ai_cmdtest()
H A Dquatech_daqp_cs.c419 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, daqp_ai_cmdtest()
429 arg = cmd->convert_arg * cmd->scan_end_arg; daqp_ai_cmdtest()
446 arg = cmd->convert_arg; daqp_ai_cmdtest()
448 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); daqp_ai_cmdtest()
481 * TRIG_TIMER, then convert_arg specifies the time between daqp_ai_cmd()
H A Ddas16m1.c213 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 1000); das16m1_cmd_test()
229 unsigned int arg = cmd->convert_arg; das16m1_cmd_test()
232 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); das16m1_cmd_test()
H A Ddas6402.c327 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 10000); das6402_ai_cmdtest()
342 arg = cmd->convert_arg; das6402_ai_cmdtest()
344 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); das6402_ai_cmdtest()
H A Daio_iiro_16.c133 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); aio_iiro_16_cos_cmdtest()
H A Damplc_pc236_common.c100 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pc236_intr_cmdtest()
H A Dni_labpc_isadma.c44 freq = 1000000000 / cmd->convert_arg; labpc_suggest_transfer_size()
H A Dni_tiocmd.c176 gate_source = cmd->convert_arg; ni_tio_cmd_setup()
273 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); ni_tio_cmdtest()
H A Ddt282x.c689 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 4000); dt282x_ai_cmdtest()
692 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, SLOWEST_TIMER); dt282x_ai_cmdtest()
693 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, board->ai_speed); dt282x_ai_cmdtest()
707 arg = cmd->convert_arg; dt282x_ai_cmdtest()
709 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); dt282x_ai_cmdtest()
856 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); dt282x_ao_cmdtest()
H A Ddas16.c654 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, das16_cmd_test()
673 arg = cmd->convert_arg; das16_cmd_test()
675 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); das16_cmd_test()
725 cmd->convert_arg = das16_set_pacer(dev, cmd->convert_arg, cmd->flags); das16_cmd_exec()
H A Dni_mio_common.c2146 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, ni_ai_cmdtest()
2149 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, ni_ai_cmdtest()
2151 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, ni_ai_cmdtest()
2157 unsigned int tmp = CR_CHAN(cmd->convert_arg); ni_ai_cmdtest()
2161 tmp |= (cmd->convert_arg & (CR_ALT_FILTER | CR_INVERT)); ni_ai_cmdtest()
2162 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, tmp); ni_ai_cmdtest()
2164 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); ni_ai_cmdtest()
2198 tmp = cmd->convert_arg; ni_ai_cmdtest()
2199 cmd->convert_arg = ni_ai_cmdtest()
2201 cmd->convert_arg, ni_ai_cmdtest()
2203 if (tmp != cmd->convert_arg) ni_ai_cmdtest()
2207 cmd->convert_arg * cmd->scan_end_arg) { ni_ai_cmdtest()
2209 cmd->convert_arg * cmd->scan_end_arg; ni_ai_cmdtest()
2380 (cmd->convert_arg & ~CR_EDGE)) ni_ai_cmd()
2391 if (cmd->convert_arg == 0 || cmd->convert_src == TRIG_NOW) ni_ai_cmd()
2394 timer = ni_ns_to_timer(dev, cmd->convert_arg, ni_ai_cmd()
2411 mode1 |= NISTC_AI_MODE1_CONVERT_SRC(1 + cmd->convert_arg); ni_ai_cmd()
2412 if ((cmd->convert_arg & CR_INVERT) == 0) ni_ai_cmd()
3163 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); ni_ao_cmdtest()
3357 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); ni_cdio_cmdtest()
H A Daddi_apci_3xxx.c551 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, apci3xxx_ai_cmdtest()
566 arg = cmd->convert_arg; apci3xxx_ai_cmdtest()
568 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); apci3xxx_ai_cmdtest()
H A Dcb_pcidas64.c2032 cmd->convert_arg = 0; check_adc_timing()
2034 convert_divisor = get_divisor(cmd->convert_arg, check_adc_timing()
2040 cmd->convert_arg = convert_divisor * TIMER_BASE; check_adc_timing()
2043 cmd->convert_arg = 0; check_adc_timing()
2168 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, ai_cmdtest()
2171 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, ai_cmdtest()
2180 cmd->convert_arg * ai_cmdtest()
2209 tmp_arg = cmd->convert_arg; ai_cmdtest()
2212 if (tmp_arg != cmd->convert_arg) ai_cmdtest()
2276 return cmd->convert_arg / TIMER_BASE - 3; ai_convert_counter_6xxx()
2288 (cmd->convert_arg * (cmd->chanlist_len - 1))) / ai_scan_counter_6xxx()
2292 count = cmd->convert_arg / TIMER_BASE; ai_scan_counter_6xxx()
H A Ddas800.c337 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, das800_ai_do_cmdtest()
356 unsigned int arg = cmd->convert_arg; das800_ai_do_cmdtest()
359 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); das800_ai_do_cmdtest()
H A Ds626.c1371 s626_dio_set_irq(dev, cmd->convert_arg); s626_handle_dio_interrupt()
1379 if ((irqbit >> (cmd->convert_arg - (16 * group))) == 1 && s626_handle_dio_interrupt()
1386 s626_dio_set_irq(dev, cmd->convert_arg); s626_handle_dio_interrupt()
2065 * set a counter to generate adc trigger at convert_arg s626_ai_cmd()
2068 tick = s626_ns_to_timer(&cmd->convert_arg, cmd->flags); s626_ai_cmd()
2078 s626_dio_set_irq(dev, cmd->convert_arg); s626_ai_cmd()
2156 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, 39); s626_ai_cmdtest()
2175 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, s626_ai_cmdtest()
2177 err |= comedi_check_trigger_arg_max(&cmd->convert_arg, s626_ai_cmdtest()
2206 arg = cmd->convert_arg; s626_ai_cmdtest()
2208 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); s626_ai_cmdtest()
2211 arg = cmd->convert_arg * cmd->scan_end_arg; s626_ai_cmdtest()
H A Daddi_apci_2032.c115 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); apci2032_int_cmdtest()
H A Dadv_pci1710.c719 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 10000); pci171x_ai_cmdtest()
721 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pci171x_ai_cmdtest()
737 unsigned int arg = cmd->convert_arg; pci171x_ai_cmdtest()
740 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); pci171x_ai_cmdtest()
H A Dcomedi_parport.c178 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); parport_intr_cmdtest()
H A Dpcl812.c670 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, pcl812_ai_cmdtest()
673 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pcl812_ai_cmdtest()
691 unsigned int arg = cmd->convert_arg; pcl812_ai_cmdtest()
694 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); pcl812_ai_cmdtest()
H A Dpcl818.c667 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, ai_cmdtest()
670 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); ai_cmdtest()
687 unsigned int arg = cmd->convert_arg; ai_cmdtest()
690 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); ai_cmdtest()
H A Daddi_apci_1032.c214 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); apci1032_cos_cmdtest()
H A Dni_6527.c240 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); ni6527_intr_cmdtest()
H A Dpcl711.c321 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pcl711_ai_cmdtest()
H A Dpcl726.c190 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pcl726_intr_cmdtest()
H A Daddi_apci_3120.c582 divisor = apci3120_ns_to_timer(dev, 0, cmd->convert_arg, cmd->flags); apci3120_ai_cmd()
641 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 10000); apci3120_ai_cmdtest()
659 arg = cmd->convert_arg * cmd->scan_end_arg; apci3120_ai_cmdtest()
H A Dcb_pcidas.c753 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, cb_pcidas_ai_cmdtest()
776 arg = cmd->convert_arg; cb_pcidas_ai_cmdtest()
778 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); cb_pcidas_ai_cmdtest()
H A Dusbduxfast.c409 steps = (cmd->convert_arg * 30) / 1000; usbduxfast_ai_cmdtest()
415 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); usbduxfast_ai_cmdtest()
487 steps = (cmd->convert_arg * 30) / 1000; usbduxfast_ai_cmd()
H A Daddi_apci_1564.c387 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); apci1564_cos_cmdtest()
H A Daddi_apci_1500.c419 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); apci1500_di_cmdtest()
H A Damplc_dio200_common.c399 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); dio200_subdev_intr_cmdtest()
H A Dni_65xx.c524 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); ni_65xx_intr_cmdtest()
H A Dni_at_a2150.c446 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, a2150_ai_cmdtest()
H A Dni_pcidio.c590 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); ni_pcidio_cmdtest()
H A Dpcmmio.c507 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pcmmio_cmdtest()
H A Dpcmuio.c510 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pcmuio_cmdtest()
H A Dusbdux.c941 err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 125000); usbdux_ao_cmdtest()
973 devpriv->ao_timer = cmd->convert_arg / 125000; usbdux_ao_cmd()
H A Damplc_pci224.c754 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); pci224_ao_cmdtest()
/linux-4.4.14/drivers/staging/comedi/
H A Dcomedi_compat32.c64 unsigned int convert_arg; member in struct:comedi32_cmd_struct
194 err |= __get_user(temp.uint, &cmd32->convert_arg); get_compat_cmd()
195 err |= __put_user(temp.uint, &cmd->convert_arg); get_compat_cmd()
248 err |= __get_user(temp, &cmd->convert_arg); put_compat_cmd()
249 err |= __put_user(temp, &cmd32->convert_arg); put_compat_cmd()
H A Dcomedi.h415 unsigned int convert_arg; member in struct:comedi_cmd
/linux-4.4.14/fs/notify/dnotify/
H A Ddnotify.c199 static __u32 convert_arg(unsigned long arg) convert_arg() function
307 mask = convert_arg(arg); fcntl_dirnotify()

Completed in 1198 milliseconds