Home
last modified time | relevance | path

Searched refs:CR_RANGE (Results 1 – 25 of 53) sorted by relevance

123

/drivers/staging/comedi/drivers/
Dusbduxfast.c332 unsigned int gain0 = CR_RANGE(cmd->chanlist[0]); in usbduxfast_ai_check_chanlist()
342 unsigned int gain = CR_RANGE(cmd->chanlist[i]); in usbduxfast_ai_check_chanlist()
502 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd()
585 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd()
596 if (CR_RANGE(cmd->chanlist[1]) > 0) in usbduxfast_ai_cmd()
619 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd()
643 if (CR_RANGE(cmd->chanlist[j]) > 0) in usbduxfast_ai_cmd()
656 if (CR_RANGE(cmd->chanlist[j + 1]) > 0) in usbduxfast_ai_cmd()
676 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd()
691 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd()
[all …]
Ddas6402.c218 unsigned int range = CR_RANGE(chanspec); in das6402_ai_set_mode()
260 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in das6402_ai_check_chanlist()
266 unsigned int range = CR_RANGE(cmd->chanlist[i]); in das6402_ai_check_chanlist()
430 unsigned int range = CR_RANGE(insn->chanspec); in das6402_ao_insn_write()
Ddas800.c279 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in das800_ai_check_chanlist()
284 unsigned int range = CR_RANGE(cmd->chanlist[i]); in das800_ai_check_chanlist()
381 unsigned int gain = CR_RANGE(cmd->chanlist[0]); in das800_ai_do_cmd()
537 unsigned int range = CR_RANGE(insn->chanspec); in das800_ai_insn_read()
Damplc_pci224.c422 unsigned int range = CR_RANGE(insn->chanspec); in pci224_ao_insn_write()
628 range_check_0 = board->ao_range_check[CR_RANGE(cmd->chanlist[0])]; in pci224_ao_check_chanlist()
640 if (board->ao_range_check[CR_RANGE(cmd->chanlist[i])] != in pci224_ao_check_chanlist()
860 range = CR_RANGE(cmd->chanlist[0]); in pci224_ao_cmd()
925 if ((board->ao_hwrange[CR_RANGE(cmd->chanlist[0])] & in pci224_ao_munge()
Ddyna_pci10xx.c84 range = range_codes_pci1050_ai[CR_RANGE((insn->chanspec))]; in dyna_pci10xx_insn_read_ai()
121 range = range_codes_pci1050_ai[CR_RANGE((insn->chanspec))]; in dyna_pci10xx_insn_write_ao()
Dpcl816.c163 range = CR_RANGE(chanlist[i]); in pcl816_ai_setup_chanlist()
319 CR_RANGE(chansegment[i]), in check_channel_list()
322 CR_RANGE(chanlist[i % seglen]), in check_channel_list()
507 unsigned int range = CR_RANGE(insn->chanspec); in pcl816_ai_insn_read()
Dadl_pci9111.c214 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in pci9111_ai_check_chanlist()
220 unsigned int range = CR_RANGE(cmd->chanlist[i]); in pci9111_ai_check_chanlist()
351 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in pci9111_ai_do_cmd()
543 unsigned int range = CR_RANGE(insn->chanspec); in pci9111_ai_insn_read()
Dicp_multi.c116 unsigned int range = CR_RANGE(insn->chanspec); in icp_multi_ai_insn_read()
169 unsigned int range = CR_RANGE(insn->chanspec); in icp_multi_ao_insn_write()
Ddas1800.c710 unsigned int unipolar0 = CR_RANGE(cmd->chanlist[0]) & UNIPOLAR; in das1800_ai_check_chanlist()
714 unsigned int unipolar = CR_RANGE(cmd->chanlist[i]) & UNIPOLAR; in das1800_ai_check_chanlist()
870 if (CR_RANGE(cmd->chanlist[0]) & UNIPOLAR) in control_c_bits()
981 ((CR_RANGE(cmd->chanlist[i]) & range_mask) << in program_chanlist()
1071 if (CR_RANGE(insn->chanspec) & UNIPOLAR) in das1800_ai_rinsn()
1081 range = CR_RANGE(insn->chanspec) & 0x3; in das1800_ai_rinsn()
Dcb_pcidas.c340 unsigned int range = CR_RANGE(insn->chanspec); in cb_pcidas_ai_insn_read()
419 unsigned int range = CR_RANGE(insn->chanspec); in cb_pcidas_ao_nofifo_insn_write()
450 unsigned int range = CR_RANGE(insn->chanspec); in cb_pcidas_ao_fifo_insn_write()
662 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in cb_pcidas_ai_check_chanlist()
667 unsigned int range = CR_RANGE(cmd->chanlist[i]); in cb_pcidas_ai_check_chanlist()
801 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in cb_pcidas_ai_cmd()
1052 unsigned int range = CR_RANGE(cmd->chanlist[i]); in cb_pcidas_ao_cmd()
Ddmm32at.c171 unsigned int range = CR_RANGE(chanspec); in dmm32at_ai_set_chanspec()
245 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in dmm32at_ai_check_chanlist()
250 unsigned int range = CR_RANGE(cmd->chanlist[i]); in dmm32at_ai_check_chanlist()
Damplc_pci230.c731 range = CR_RANGE(insn->chanspec); in pci230_ai_insn_read()
825 unsigned int range = CR_RANGE(insn->chanspec); in pci230_ao_insn_write()
850 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in pci230_ao_check_chanlist()
855 unsigned int range = CR_RANGE(cmd->chanlist[i]); in pci230_ao_check_chanlist()
1315 range = CR_RANGE(cmd->chanlist[0]); in pci230_ao_cmd()
1413 unsigned int range = CR_RANGE(chanspec); in pci230_ai_check_chanlist()
2136 range = CR_RANGE(cmd->chanlist[0]); in pci230_ai_cmd()
2147 range = CR_RANGE(cmd->chanlist[i]); in pci230_ai_cmd()
Dadv_pci1710.c289 CR_RANGE(chansegment[i]), in pci171x_ai_check_chanlist()
292 CR_RANGE(cmd->chanlist[i % seglen]), in pci171x_ai_check_chanlist()
316 unsigned int range = CR_RANGE(chanlist[i]); in pci171x_ai_setup_chanlist()
427 unsigned int range = CR_RANGE(insn->chanspec); in pci171x_ao_insn_write()
475 unsigned int range = CR_RANGE(insn->chanspec); in pci1720_ao_insn_write()
Ddac02.c83 unsigned int range = CR_RANGE(insn->chanspec); in dac02_ao_insn_write()
Ddas08.c190 range = CR_RANGE(insn->chanspec); in das08_ai_insn_read()
206 range = CR_RANGE(insn->chanspec); in das08_ai_insn_read()
Dpcmmio.c405 unsigned int range = CR_RANGE(chanspec); in pcmmio_start_intr()
546 unsigned int range = CR_RANGE(insn->chanspec); in pcmmio_ai_insn_read()
629 unsigned int range = CR_RANGE(insn->chanspec); in pcmmio_ao_insn_write()
Dpcmad.c82 unsigned int range = CR_RANGE(insn->chanspec); in pcmad_ai_insn_read()
Dpcl818.c356 range = CR_RANGE(chanlist[i]); in pcl818_ai_setup_chanlist()
612 CR_RANGE(chansegment[i]), in check_channel_list()
615 CR_RANGE(chanlist[i % seglen]), in check_channel_list()
805 unsigned int range = CR_RANGE(insn->chanspec); in pcl818_ai_insn_read()
Ddas16.c567 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in das16_ai_check_chanlist()
572 unsigned int range = CR_RANGE(cmd->chanlist[i]); in das16_ai_check_chanlist()
708 unsigned int range = CR_RANGE(cmd->chanlist[0]); in das16_cmd_exec()
832 unsigned int range = CR_RANGE(insn->chanspec); in das16_ai_insn_read()
Dni_labpc_common.c239 unsigned int range = CR_RANGE(insn->chanspec); in labpc_ai_insn_read()
453 unsigned int range0 = CR_RANGE(cmd->chanlist[0]); in labpc_ai_check_chanlist()
459 unsigned int range = CR_RANGE(cmd->chanlist[i]); in labpc_ai_check_chanlist()
631 unsigned int range = CR_RANGE(chanspec); in labpc_ai_cmd()
920 range = CR_RANGE(insn->chanspec); in labpc_ao_insn_write()
Drtd520.c428 unsigned int range = CR_RANGE(chanspec); in rtd_convert_chan_gain()
546 unsigned int range = CR_RANGE(insn->chanspec); in rtd_ai_rinsn()
593 unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); in ai_read_n()
1026 unsigned int range = CR_RANGE(insn->chanspec); in rtd_ao_insn_write()
Dme_daq.c244 unsigned int range = CR_RANGE(insn->chanspec); in me_ai_insn_read()
311 unsigned int range = CR_RANGE(insn->chanspec); in me_ao_insn_write()
Dadq12b.c122 unsigned int range = CR_RANGE(insn->chanspec); in adq12b_ai_insn_read()
Ddas16m1.c282 Q_RANGE(CR_RANGE(cmd->chanlist[i])); in das16m1_cmd_exec()
352 Q_CHAN(CR_CHAN(insn->chanspec)) | Q_RANGE(CR_RANGE(insn->chanspec)); in das16m1_ai_rinsn()
/drivers/staging/comedi/
Drange.c134 CR_RANGE(chanspec) >= range_len) { in comedi_check_chanlist()

123