Searched refs:chanlist_len (Results 1 - 55 of 55) sorted by relevance

/linux-4.1.27/drivers/staging/comedi/drivers/
H A Ddas16m1.c155 if (cmd->chanlist_len == 1) das16m1_ai_check_chanlist()
158 if ((cmd->chanlist_len % 2) != 0) { das16m1_ai_check_chanlist()
164 for (i = 0; i < cmd->chanlist_len; i++) { das16m1_ai_check_chanlist()
216 cmd->chanlist_len); das16m1_cmd_test()
239 if (cmd->chanlist && cmd->chanlist_len > 0) das16m1_cmd_test()
278 for (i = 0; i < cmd->chanlist_len; i++) { das16m1_cmd_exec()
427 if (num_samples > cmd->stop_arg * cmd->chanlist_len) das16m1_handler()
428 num_samples = cmd->stop_arg * cmd->chanlist_len; das16m1_handler()
439 if (devpriv->adc_count >= cmd->stop_arg * cmd->chanlist_len) { das16m1_handler()
H A Dadl_pci9111.c53 a multiple of chanlist_len*convert_arg.
233 for (i = 1; i < cmd->chanlist_len; i++) { pci9111_ai_check_chanlist()
316 cmd->chanlist_len); pci9111_ai_do_cmd_test()
336 * must be a multiple of chanlist_len*convert_arg pci9111_ai_do_cmd_test()
339 arg = cmd->chanlist_len * cmd->convert_arg; pci9111_ai_do_cmd_test()
351 if (cmd->chanlist && cmd->chanlist_len > 0) pci9111_ai_do_cmd_test()
365 unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); pci9111_ai_do_cmd()
372 if (cmd->chanlist_len > 1) pci9111_ai_do_cmd()
397 (cmd->convert_arg * cmd->chanlist_len)) - 1; pci9111_ai_do_cmd()
410 dev_private->chunk_num_samples = cmd->chanlist_len * pci9111_ai_do_cmd()
450 if (devpriv->chunk_counter < cmd->chanlist_len) { pci9111_handle_fifo_half_full()
451 to_read = cmd->chanlist_len - pci9111_handle_fifo_half_full()
H A Dadl_pci9118.c27 * - It is not necessary to have cmd.scan_end_arg=cmd.chanlist_len but
28 * cmd.scan_end_arg modulo cmd.chanlist_len must by 0.
37 * so there is some problems if cmd->chanlist_len is odd. This driver tries
431 unsigned int stop_pos = start_pos + cmd->chanlist_len; valid_samples_in_act_dma_buf()
436 if (span_len == cmd->chanlist_len) valid_samples_in_act_dma_buf()
447 n_samples = whole_spans * cmd->chanlist_len; valid_samples_in_act_dma_buf()
488 unsigned int stop_pos = start_pos + cmd->chanlist_len; move_block_from_dma()
493 if (span_len == cmd->chanlist_len) { move_block_from_dma()
1026 cmd->chanlist_len + pci9118_ai_cmd()
1037 (devpriv->ai_add_front + cmd->chanlist_len + pci9118_ai_cmd()
1039 cmd->chanlist_len); pci9118_ai_cmd()
1042 if (!check_channel_list(dev, s, cmd->chanlist_len, pci9118_ai_cmd()
1051 pci9118_set_chanlist(dev, s, cmd->chanlist_len, cmd->chanlist, pci9118_ai_cmd()
1274 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); pci9118_ai_cmdtest()
1277 cmd->chanlist_len); pci9118_ai_cmdtest()
1279 if ((cmd->scan_end_arg % cmd->chanlist_len)) { pci9118_ai_cmdtest()
1281 cmd->chanlist_len * (cmd->scan_end_arg / cmd->chanlist_len); pci9118_ai_cmdtest()
1307 arg = cmd->convert_arg * cmd->chanlist_len; pci9118_ai_cmdtest()
1319 if (!check_channel_list(dev, s, cmd->chanlist_len, pci9118_ai_cmdtest()
H A Dni_at_a2150.c379 if (cmd->chanlist_len == 2 && (chan0 == 1 || chan0 == 3)) { a2150_ai_check_chanlist()
385 if (cmd->chanlist_len == 3) { a2150_ai_check_chanlist()
391 for (i = 1; i < cmd->chanlist_len; i++) { a2150_ai_check_chanlist()
450 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); a2150_ai_cmdtest()
452 cmd->chanlist_len); a2150_ai_cmdtest()
474 if (cmd->chanlist && cmd->chanlist_len > 0) a2150_ai_cmdtest()
503 cmd->chanlist_len) < 0) a2150_ai_cmd()
523 devpriv->count = cmd->stop_arg * cmd->chanlist_len; a2150_ai_cmd()
529 desc->size = comedi_bytes_per_sample(s) * cmd->chanlist_len * a2150_ai_cmd()
H A Dcomedi_test.c195 for (j = 0; j < cmd->chanlist_len; j++) { waveform_ai_interrupt()
261 cmd->chanlist_len); waveform_ai_cmdtest()
265 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); waveform_ai_cmdtest()
267 cmd->chanlist_len); waveform_ai_cmdtest()
H A Daddi_apci_2032.c117 cmd->chanlist_len); apci2032_int_cmdtest()
143 for (n = 0; n < cmd->chanlist_len; n++) apci2032_int_cmd()
204 for (i = 0; i < cmd->chanlist_len; i++) { apci2032_interrupt()
H A Ddas6402.c236 unsigned int chan_hi = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); das6402_ai_cmd()
264 for (i = 1; i < cmd->chanlist_len; i++) { das6402_ai_check_chanlist()
328 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); das6402_ai_cmdtest()
330 cmd->chanlist_len); das6402_ai_cmdtest()
350 if (cmd->chanlist && cmd->chanlist_len > 0) das6402_ai_cmdtest()
H A Ddmm32at.c248 for (i = 1; i < cmd->chanlist_len; i++) { dmm32at_ai_check_chanlist()
311 cmd->chanlist_len); dmm32at_ai_cmdtest()
330 if (cmd->chanlist && cmd->chanlist_len > 0) dmm32at_ai_cmdtest()
376 dmm32at_ai_set_chanspec(dev, s, cmd->chanlist[0], cmd->chanlist_len); dmm32at_ai_cmd()
428 for (i = 0; i < cmd->chanlist_len; i++) { dmm32at_isr()
H A Dni_labpc_common.c428 if (cmd->chanlist_len == 1) labpc_ai_scan_mode()
457 for (i = 0; i < cmd->chanlist_len; i++) { labpc_ai_check_chanlist()
480 if (chan != (cmd->chanlist_len - i - 1)) { labpc_ai_check_chanlist()
557 if (!cmd->chanlist_len) labpc_ai_cmdtest()
560 cmd->chanlist_len); labpc_ai_cmdtest()
573 cmd->chanlist_len); labpc_ai_cmdtest()
577 cmd->chanlist_len); labpc_ai_cmdtest()
611 if (cmd->chanlist && cmd->chanlist_len > 0) labpc_ai_cmdtest()
628 cmd->chanlist[cmd->chanlist_len - 1] : labpc_ai_cmd()
641 devpriv->count = cmd->stop_arg * cmd->chanlist_len; labpc_ai_cmd()
689 devpriv->write_byte(dev, cmd->chanlist_len, INTERVAL_COUNT_REG); labpc_ai_cmd()
H A Drtd520.c763 if (1 == cmd->chanlist_len) { /* no scanning */ rtd_ai_cmdtest()
798 if (1 == cmd->chanlist_len) { /* no scanning */ rtd_ai_cmdtest()
832 cmd->chanlist_len); rtd_ai_cmdtest()
892 rtd_load_channelgain_list(dev, cmd->chanlist_len, cmd->chanlist); rtd_ai_cmd()
895 if (cmd->chanlist_len > 1) { rtd_ai_cmd()
919 devpriv->xfer_count = cmd->chanlist_len; rtd_ai_cmd()
924 (TRANS_TARGET_PERIOD * cmd->chanlist_len) / rtd_ai_cmd()
926 if (devpriv->xfer_count < cmd->chanlist_len) { rtd_ai_cmd()
928 devpriv->xfer_count = cmd->chanlist_len; rtd_ai_cmd()
932 cmd->chanlist_len - 1) rtd_ai_cmd()
933 / cmd->chanlist_len; rtd_ai_cmd()
934 devpriv->xfer_count *= cmd->chanlist_len; rtd_ai_cmd()
961 devpriv->ai_count = cmd->stop_arg * cmd->chanlist_len; rtd_ai_cmd()
992 if (cmd->chanlist_len > 1) { rtd_ai_cmd()
H A Damplc_pci224.c545 room /= cmd->chanlist_len; pci224_ao_handle_fifo()
554 cmd->chanlist_len); pci224_ao_handle_fifo()
555 for (i = 0; i < cmd->chanlist_len; i++) { pci224_ao_handle_fifo()
629 for (i = 0; i < cmd->chanlist_len; i++) { pci224_ao_check_chanlist()
731 arg = cmd->chanlist_len * CONVERT_PERIOD; pci224_ao_cmdtest()
756 cmd->chanlist_len); pci224_ao_cmdtest()
796 if (cmd->chanlist && cmd->chanlist_len > 0) pci224_ao_cmdtest()
839 if (!cmd->chanlist || cmd->chanlist_len == 0) pci224_ao_cmd()
845 for (i = 0; i < cmd->chanlist_len; i++) { pci224_ao_cmd()
849 for (j = 0; j < cmd->chanlist_len; j++) { pci224_ao_cmd()
H A Dme4000.c589 for (i = 0; i < cmd->chanlist_len; i++) { me4000_ai_check_chanlist()
697 for (i = 0; i < cmd->chanlist_len; i++) { ai_write_chanlist()
769 outl(cmd->chanlist_len * cmd->stop_arg, ai_prepare()
886 if (cmd->chanlist_len < 1) { me4000_ai_do_cmd_test()
887 cmd->chanlist_len = 1; me4000_ai_do_cmd_test()
928 if (scan_ticks <= cmd->chanlist_len * chan_ticks) { me4000_ai_do_cmd_test()
932 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; me4000_ai_do_cmd_test()
963 if (scan_ticks <= cmd->chanlist_len * chan_ticks) { me4000_ai_do_cmd_test()
967 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; me4000_ai_do_cmd_test()
1020 if (cmd->chanlist && cmd->chanlist_len > 0) me4000_ai_do_cmd_test()
H A Dcb_pcidas64.c2022 min_scan_divisor = convert_divisor * cmd->chanlist_len; check_adc_timing()
2024 (convert_divisor * cmd->chanlist_len - 1) + check_adc_timing()
2046 for (i = 1; i < cmd->chanlist_len; i++) { cb_pcidas64_ai_check_chanlist()
2059 for (i = 1; i < cmd->chanlist_len; i++) { cb_pcidas64_ai_check_chanlist()
2068 if (cmd->chanlist_len == 3) { cb_pcidas64_ai_check_chanlist()
2155 cmd->chanlist_len); ai_cmdtest()
2160 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); ai_cmdtest()
2162 cmd->chanlist_len); ai_cmdtest()
2196 if (cmd->chanlist && cmd->chanlist_len > 0) ai_cmdtest()
2262 (cmd->convert_arg * (cmd->chanlist_len - 1))) / ai_scan_counter_6xxx()
2386 for (i = 0; i + 1 < cmd->chanlist_len; i++) { use_internal_queue_6xxx()
2426 (CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1])), setup_channel_queue()
2446 for (i = 0; i < cmd->chanlist_len; i++) { setup_channel_queue()
2464 if (i == cmd->chanlist_len - 1) setup_channel_queue()
2484 for (i = 0; i < cmd->chanlist_len; i++) { setup_channel_queue()
2578 if (cmd->chanlist_len == 4) ai_cmd()
2580 else if (cmd->chanlist_len == 2) ai_cmd()
2588 [cmd->chanlist_len - 1])); ai_cmd()
3128 for (i = 0; i < cmd->chanlist_len; i++) { set_dac_control1_reg()
3149 last_channel = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); set_dac_select_reg()
3293 for (i = 1; i < cmd->chanlist_len; i++) { cb_pcidas64_ao_check_chanlist()
3356 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); ao_cmdtest()
3358 cmd->chanlist_len); ao_cmdtest()
3377 if (cmd->chanlist && cmd->chanlist_len > 0) ao_cmdtest()
H A Dusbduxfast.c377 if (!cmd->chanlist_len) usbduxfast_ai_cmdtest()
381 cmd->chanlist_len); usbduxfast_ai_cmdtest()
383 if (cmd->chanlist_len == 1) usbduxfast_ai_cmdtest()
485 for (i = 0; i < cmd->chanlist_len; ++i) { usbduxfast_ai_cmd()
494 && (cmd->chanlist_len > 3)) { usbduxfast_ai_cmd()
509 if ((steps < MIN_SAMPLING_PERIOD) && (cmd->chanlist_len != 1)) { usbduxfast_ai_cmd()
521 if ((cmd->start_src == TRIG_EXT) && (cmd->chanlist_len != 1) usbduxfast_ai_cmd()
522 && (cmd->chanlist_len != 16)) { usbduxfast_ai_cmd()
529 switch (cmd->chanlist_len) { usbduxfast_ai_cmd()
H A Dcb_pcidas.c750 for (i = 1; i < cmd->chanlist_len; i++) { cb_pcidas_ai_check_chanlist()
834 cmd->chanlist_len); cb_pcidas_ai_cmdtest()
843 cmd->chanlist_len); cb_pcidas_ai_cmdtest()
870 if (cmd->chanlist && cmd->chanlist_len > 0) cb_pcidas_ai_cmdtest()
898 END_SCAN(CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1])) | cb_pcidas_ai_cmd()
925 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) { cb_pcidas_ai_cmd()
955 if (cmd->convert_src == TRIG_NOW && cmd->chanlist_len > 1) cb_pcidas_ai_cmd()
968 if (cmd->chanlist_len > 1) { cb_pcidas_ao_check_chanlist()
1021 cmd->chanlist_len); cb_pcidas_ao_cmdtest()
1045 if (cmd->chanlist && cmd->chanlist_len > 0) cb_pcidas_ao_cmdtest()
1134 for (i = 0; i < cmd->chanlist_len; i++) { cb_pcidas_ao_cmd()
H A Damplc_pci230.c853 for (i = 1; i < cmd->chanlist_len; i++) { pci230_ao_check_chanlist()
972 cmd->chanlist_len); pci230_ao_cmdtest()
995 if (cmd->chanlist && cmd->chanlist_len > 0) pci230_ao_cmdtest()
1069 for (i = 0; i < cmd->chanlist_len; i++) { pci230_handle_ao_nofifo()
1134 room /= cmd->chanlist_len; pci230_handle_ao_fifo()
1140 for (i = 0; i < cmd->chanlist_len; i++) { pci230_handle_ao_fifo()
1324 for (i = 0; i < cmd->chanlist_len; i++) pci230_ao_cmd()
1375 unsigned int min_scan_period, chanlist_len; pci230_ai_check_scan_period() local
1378 chanlist_len = cmd->chanlist_len; pci230_ai_check_scan_period()
1379 if (cmd->chanlist_len == 0) pci230_ai_check_scan_period()
1380 chanlist_len = 1; pci230_ai_check_scan_period()
1382 min_scan_period = chanlist_len * cmd->convert_arg; pci230_ai_check_scan_period()
1383 if (min_scan_period < chanlist_len || pci230_ai_check_scan_period()
1410 for (i = 0; i < cmd->chanlist_len; i++) { pci230_ai_check_chanlist()
1469 subseq_len = cmd->chanlist_len; pci230_ai_check_chanlist()
1471 if (cmd->chanlist_len % subseq_len) { pci230_ai_check_chanlist()
1572 if (cmd->chanlist && cmd->chanlist_len > 0) { pci230_ai_cmdtest()
1634 cmd->chanlist_len); pci230_ai_cmdtest()
1697 if (cmd->chanlist && cmd->chanlist_len > 0) pci230_ai_cmdtest()
2143 for (i = 0; i < cmd->chanlist_len; i++) { pci230_ai_cmd()
H A Ddas1800.c713 for (i = 1; i < cmd->chanlist_len; i++) { das1800_ai_check_chanlist()
774 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); das1800_ai_do_cmdtest()
776 cmd->chanlist_len); das1800_ai_do_cmdtest()
806 arg = cmd->convert_arg * cmd->chanlist_len; das1800_ai_do_cmdtest()
823 if (cmd->chanlist && cmd->chanlist_len > 0) das1800_ai_do_cmdtest()
920 samples = ns / (cmd->scan_begin_arg * cmd->chanlist_len); das1800_ai_transfer_size()
972 n = cmd->chanlist_len; program_chanlist()
1041 outb(cmd->chanlist_len - 1, dev->iobase + DAS1800_BURST_LENGTH); das1800_ai_do_cmd()
H A Ddas800.c282 for (i = 1; i < cmd->chanlist_len; i++) { das800_ai_check_chanlist()
341 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); das800_ai_do_cmdtest()
343 cmd->chanlist_len); das800_ai_do_cmdtest()
366 if (cmd->chanlist && cmd->chanlist_len > 0) das800_ai_do_cmdtest()
383 unsigned int end_chan = (start_chan + cmd->chanlist_len - 1) % 8; das800_ai_do_cmd()
H A Dgsc_hpdi.c363 for (i = 0; i < cmd->chanlist_len; i++) { gsc_hpdi_check_chanlist()
409 if (!cmd->chanlist_len || !cmd->chanlist) { gsc_hpdi_cmd_test()
410 cmd->chanlist_len = 32; gsc_hpdi_cmd_test()
414 cmd->chanlist_len); gsc_hpdi_cmd_test()
428 if (cmd->chanlist && cmd->chanlist_len > 0) gsc_hpdi_cmd_test()
H A Dpcl816.c383 cmd->chanlist_len); pcl816_ai_cmdtest()
408 cmd->chanlist_len)) pcl816_ai_cmdtest()
426 seglen = check_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len); pcl816_ai_cmd()
H A Daio_iiro_16.c135 cmd->chanlist_len); aio_iiro_16_cos_cmdtest()
H A Damplc_pc236_common.c102 cmd->chanlist_len); pc236_intr_cmdtest()
H A Dni_atmio16d.c276 cmd->chanlist_len); atmio16d_ai_cmdtest()
304 if (cmd->chanlist_len < 2) { atmio16d_ai_cmd()
315 for (i = 0; i < cmd->chanlist_len; ++i) { atmio16d_ai_cmd()
392 if (cmd->chanlist_len > 1) { atmio16d_ai_cmd()
H A Dadv_pci1710.c268 if (cmd->chanlist_len == 1) { pci171x_ai_check_chanlist()
269 devpriv->saved_seglen = cmd->chanlist_len; pci171x_ai_check_chanlist()
276 for (i = 1; i < cmd->chanlist_len; i++) { pci171x_ai_check_chanlist()
304 for (i = 0; i < cmd->chanlist_len; i++) { pci171x_ai_check_chanlist()
667 pci171x_ai_setup_chanlist(dev, s, cmd->chanlist, cmd->chanlist_len, pci171x_ai_cmd()
742 cmd->chanlist_len); pci171x_ai_cmdtest()
H A Ddas16.c570 for (i = 1; i < cmd->chanlist_len; i++) { das16_ai_check_chanlist()
644 cmd->chanlist_len); das16_cmd_test()
650 cmd->chanlist_len); das16_cmd_test()
681 if (cmd->chanlist && cmd->chanlist_len > 0) das16_cmd_test()
707 unsigned int last_chan = CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1]); das16_cmd_exec()
734 byte |= DAS16_PACER_BURST_LEN(cmd->chanlist_len - 1); das16_cmd_exec()
H A Dusbdux.c263 for (i = 0; i < cmd->chanlist_len; i++) { usbduxsub_ai_handle_urb()
399 *datap++ = cmd->chanlist_len; usbduxsub_ao_handle_urb()
400 for (i = 0; i < cmd->chanlist_len; i++) { usbduxsub_ao_handle_urb()
561 while (i < (cmd->chanlist_len)) usbdux_ai_cmdtest()
589 cmd->chanlist_len); usbdux_ai_cmdtest()
683 int len = cmd->chanlist_len; usbdux_ai_cmd()
958 cmd->chanlist_len); usbdux_ao_cmdtest()
H A Dusbduxsigma.c225 for (i = 0; i < cmd->chanlist_len; i++) { usbduxsigma_ai_handle_urb()
355 *datap++ = cmd->chanlist_len; usbduxsigma_ao_handle_urb()
356 for (i = 0; i < cmd->chanlist_len; i++) { usbduxsigma_ao_handle_urb()
483 int interval = usbduxsigma_chans_to_interval(cmd->chanlist_len); usbduxsigma_ai_cmdtest()
543 cmd->chanlist_len); usbduxsigma_ai_cmdtest()
641 unsigned int len = cmd->chanlist_len; usbduxsigma_ai_cmd()
905 cmd->chanlist_len); usbduxsigma_ao_cmdtest()
H A Damplc_dio200_common.c229 for (n = 0; n < cmd->chanlist_len; n++) dio200_start_intr()
269 for (n = 0; n < cmd->chanlist_len; n++) { dio200_read_scan_intr()
400 cmd->chanlist_len); dio200_subdev_intr_cmdtest()
H A Dpcmmio.c349 for (i = 0; i < cmd->chanlist_len; i++) { pcmmio_handle_dio_intr()
402 for (i = 0; i < cmd->chanlist_len; i++) { pcmmio_start_intr()
509 cmd->chanlist_len); pcmmio_cmdtest()
H A Dpcmuio.c328 for (i = 0; i < cmd->chanlist_len; i++) { pcmuio_handle_intr_subdev()
398 for (i = 0; i < cmd->chanlist_len; i++) { pcmuio_start_intr()
512 cmd->chanlist_len); pcmuio_cmdtest()
H A Ddt3000.c440 cmd->chanlist_len); dt3k_ai_cmdtest()
485 for (i = 0; i < cmd->chanlist_len; i++) { dt3k_ai_cmd()
H A Daddi_apci_3120.c515 for (i = 0; i < cmd->chanlist_len; i++) { apci3120_interrupt()
565 apci3120_set_chanlist(dev, s, cmd->chanlist_len, cmd->chanlist); apci3120_ai_cmd()
646 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); apci3120_ai_cmdtest()
648 cmd->chanlist_len); apci3120_ai_cmdtest()
H A Dcomedi_parport.c180 cmd->chanlist_len); parport_intr_cmdtest()
H A Ddt2814.c157 cmd->chanlist_len); dt2814_ai_cmdtest()
H A Ddt282x.c695 cmd->chanlist_len); dt282x_ai_cmdtest()
753 dt282x_load_changain(dev, cmd->chanlist_len, cmd->chanlist); dt282x_ai_cmd()
858 cmd->chanlist_len); dt282x_ao_cmdtest()
920 devpriv->ntrig = cmd->stop_arg * cmd->chanlist_len; dt282x_ao_cmd()
H A Dpcl812.c674 err |= comedi_check_trigger_arg_min(&cmd->chanlist_len, 1); pcl812_ai_cmdtest()
676 cmd->chanlist_len); pcl812_ai_cmdtest()
713 for (i = 1; i < cmd->chanlist_len; i++) pcl812_ai_cmd()
730 if (cmd->chanlist_len == 1) pcl812_ai_cmd()
H A Dni_mio_common.c1638 chan_index %= cmd->chanlist_len; ni_ai_munge()
2274 ni_min_ai_scan_period_ns(dev, cmd->chanlist_len)); ni_ai_cmdtest()
2314 cmd->chanlist_len); ni_ai_cmdtest()
2401 ni_load_channelgain_list(dev, s, cmd->chanlist_len, cmd->chanlist); ni_ai_cmd()
2441 if (cmd->chanlist_len == 1 || devpriv->is_611x || devpriv->is_6143) { ni_ai_cmd()
2470 /* this is required to get the last sample for chanlist_len > 1, not sure why */ ni_ai_cmd()
2471 if (cmd->chanlist_len > 1) ni_ai_cmd()
2756 chan_index %= cmd->chanlist_len; ni_ao_munge()
3075 for (i = 0; i < cmd->chanlist_len; i++) { ni_ao_cmd()
3085 ni_ao_config_chanlist(dev, s, cmd->chanlist, cmd->chanlist_len, 1); ni_ao_cmd()
3310 cmd->chanlist_len); ni_ao_cmdtest()
3459 for (i = 0; i < cmd->chanlist_len; ++i) { ni_cdio_check_chanlist()
3500 cmd->chanlist_len); ni_cdio_cmdtest()
3510 if (cmd->chanlist && cmd->chanlist_len > 0) ni_cdio_cmdtest()
H A Dquatech_daqp_cs.c416 cmd->chanlist_len); daqp_ai_cmdtest()
496 for (i = 0; i < cmd->chanlist_len; i++) { daqp_ai_cmd()
H A Daddi_apci_1032.c215 cmd->chanlist_len); apci1032_cos_cmdtest()
H A Dni_6527.c242 cmd->chanlist_len); ni6527_intr_cmdtest()
H A Dni_tiocmd.c282 cmd->chanlist_len); ni_tio_cmdtest()
H A Dpcl711.c322 cmd->chanlist_len); pcl711_ai_cmdtest()
H A Dpcl726.c192 cmd->chanlist_len); pcl726_intr_cmdtest()
H A Dpcl818.c684 cmd->chanlist_len); ai_cmdtest()
710 cmd->chanlist_len)) ai_cmdtest()
729 seglen = check_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len); pcl818_ai_cmd()
H A Ds626.c1369 devpriv->ai_convert_count = cmd->chanlist_len; s626_handle_dio_interrupt()
1375 devpriv->ai_convert_count = cmd->chanlist_len; s626_handle_dio_interrupt()
1462 devpriv->ai_convert_count = cmd->chanlist_len; s626_check_counter_interrupts()
1483 for (i = 0; i < cmd->chanlist_len; i++) { s626_handle_eos_interrupt()
1909 for (n = 0; n < cmd->chanlist_len; n++) { s626_ai_load_polllist()
2187 cmd->chanlist_len); s626_ai_cmdtest()
H A Daddi_apci_1564.c384 cmd->chanlist_len); apci1564_cos_cmdtest()
H A Daddi_apci_1500.c421 cmd->chanlist_len); apci1500_di_cmdtest()
H A Daddi_apci_3xxx.c554 cmd->chanlist_len); apci3xxx_ai_cmdtest()
H A Dni_65xx.c526 cmd->chanlist_len); ni_65xx_intr_cmdtest()
H A Dni_pcidio.c592 cmd->chanlist_len); ni_pcidio_cmdtest()
/linux-4.1.27/drivers/staging/comedi/
H A Dcomedi_compat32.c70 unsigned int chanlist_len; member in struct:comedi32_cmd_struct
206 err |= __get_user(temp.uint, &cmd32->chanlist_len); get_compat_cmd()
207 err |= __put_user(temp.uint, &cmd->chanlist_len); get_compat_cmd()
258 err |= __get_user(temp, &cmd->chanlist_len); put_compat_cmd()
259 err |= __put_user(temp, &cmd32->chanlist_len); put_compat_cmd()
H A Dcomedi_fops.c1568 if (cmd->chanlist_len > s->len_chanlist) { __comedi_get_user_cmd()
1570 cmd->chanlist_len, s->len_chanlist); __comedi_get_user_cmd()
1602 cmd->chanlist_len * sizeof(unsigned int)); __comedi_get_user_chanlist()
1607 ret = comedi_check_chanlist(s, cmd->chanlist_len, chanlist); __comedi_get_user_chanlist()
1665 if (cmd.chanlist_len < 1) { do_cmd_ioctl()
1667 cmd.chanlist_len); do_cmd_ioctl()
H A Dcomedi_buf.c314 async->munge_chan %= async->cmd.chanlist_len; comedi_buf_munge()
H A Ddrivers.c429 async->cur_chan %= cmd->chanlist_len; comedi_inc_scan_progress()
H A Dcomedi.h424 unsigned int chanlist_len; member in struct:comedi_cmd

Completed in 866 milliseconds