/linux-2.6.39/drivers/staging/comedi/ |
D | range.c | 140 CR_RANGE(chanlist[i]) >= s->range_table->length in comedi_check_chanlist() 152 CR_RANGE(chanlist[i]) >= in comedi_check_chanlist()
|
/linux-2.6.39/drivers/staging/comedi/drivers/ |
D | usbduxfast.c | 788 gain = CR_RANGE(cmd->chanlist[0]); in usbduxfast_ai_cmd() 798 if ((gain != CR_RANGE(cmd->chanlist[i])) in usbduxfast_ai_cmd() 854 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd() 957 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd() 971 if (CR_RANGE(cmd->chanlist[1]) > 0) in usbduxfast_ai_cmd() 1001 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd() 1030 if (CR_RANGE(cmd->chanlist[j]) > 0) in usbduxfast_ai_cmd() 1045 if (CR_RANGE(cmd->chanlist[j + 1]) > 0) in usbduxfast_ai_cmd() 1071 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd() 1090 if (CR_RANGE(cmd->chanlist[0]) > 0) in usbduxfast_ai_cmd() [all …]
|
D | pcl816.c | 268 outb(CR_RANGE(insn->chanspec), dev->iobase + PCL816_RANGE); in pcl816_ai_insn_read() 963 CR_RANGE(chanlist[i]));) in check_channel_list() 988 CR_RANGE(chansegment[i % seglen]), in check_channel_list() 990 CR_RANGE(chanlist[i]));) in check_channel_list() 997 CR_RANGE(chansegment[i]), in check_channel_list() 1000 CR_RANGE(chanlist[i % seglen]), in check_channel_list() 1030 outb(CR_RANGE(chanlist[0]), dev->iobase + PCL816_RANGE); in setup_channel_list()
|
D | adl_pci9111.c | 781 range = CR_RANGE(cmd->chanlist[0]); in pci9111_ai_do_cmd_test() 792 if (CR_RANGE(cmd->chanlist[i]) != range) { in pci9111_ai_do_cmd_test() 848 pci9111_ai_range_set(CR_RANGE(async_cmd->chanlist[0])); in pci9111_ai_do_cmd() 1134 CR_RANGE((&insn->chanspec)[0]), insn->n); in pci9111_ai_insn_read() 1139 if ((pci9111_ai_range_get()) != CR_RANGE((&insn->chanspec)[0])) in pci9111_ai_insn_read() 1140 pci9111_ai_range_set(CR_RANGE((&insn->chanspec)[0])); in pci9111_ai_insn_read()
|
D | cb_pcidas.c | 820 END_SCAN(channel) | GAIN_BITS(CR_RANGE(insn->chanspec)); in cb_pcidas_ai_rinsn() 822 if (CR_RANGE(insn->chanspec) & IS_UNIPOLAR) in cb_pcidas_ai_rinsn() 901 DACEN | DAC_RANGE(channel, CR_RANGE(insn->chanspec)); in cb_pcidas_ao_nofifo_winsn() 932 CR_RANGE(insn-> in cb_pcidas_ao_fifo_winsn() 1226 gain = CR_RANGE(cmd->chanlist[0]); in cb_pcidas_ai_cmdtest() 1235 if (CR_RANGE(cmd->chanlist[i]) != gain) { in cb_pcidas_ai_cmdtest() 1267 GAIN_BITS(CR_RANGE(cmd->chanlist[0])); in cb_pcidas_ai_cmd() 1269 if (CR_RANGE(cmd->chanlist[0]) & IS_UNIPOLAR) in cb_pcidas_ai_cmd() 1473 CR_RANGE(cmd-> in cb_pcidas_ao_cmd()
|
D | das800.c | 707 gain = CR_RANGE(cmd->chanlist[0]); in das800_ai_do_cmdtest() 716 if (CR_RANGE(cmd->chanlist[i]) != gain) { in das800_ai_do_cmdtest() 757 gain = CR_RANGE(async->cmd.chanlist[0]); in das800_ai_do_cmd() 834 range = CR_RANGE(insn->chanspec); in das800_ai_rinsn()
|
D | dmm32at.c | 491 range = CR_RANGE(insn->chanspec); in dmm32at_ai_rinsn() 712 gain = CR_RANGE(cmd->chanlist[0]); in dmm32at_ai_cmdtest() 721 if (CR_RANGE(cmd->chanlist[i]) != gain) { in dmm32at_ai_cmdtest() 749 range = CR_RANGE(cmd->chanlist[0]); in dmm32at_ai_cmd()
|
D | amplc_pci224.c | 533 range = CR_RANGE(insn->chanspec); in pci224_ao_insn_write() 1030 range = CR_RANGE(cmd->chanlist[0]); in pci224_ao_cmdtest() 1039 if (CR_RANGE(cmd->chanlist[n]) != range) in pci224_ao_cmdtest() 1102 range = CR_RANGE(cmd->chanlist[0]); in pci224_ao_cmd() 1253 if ((devpriv->hwrange[CR_RANGE(async->cmd.chanlist[0])] & in pci224_ao_munge()
|
D | das1800.c | 1340 unipolar = CR_RANGE(cmd->chanlist[0]) & UNIPOLAR; in das1800_ai_do_cmdtest() 1342 if (unipolar != (CR_RANGE(cmd->chanlist[i]) & UNIPOLAR)) { in das1800_ai_do_cmdtest() 1400 if (CR_RANGE(cmd.chanlist[0]) & UNIPOLAR) in control_c_bits() 1529 chanlist[i]) | ((CR_RANGE(cmd.chanlist[i]) & in program_chanlist() 1623 if (CR_RANGE(insn->chanspec) & UNIPOLAR) in das1800_ai_rinsn() 1633 range = CR_RANGE(insn->chanspec) & 0x3; in das1800_ai_rinsn()
|
D | amplc_pci230.c | 1129 range = CR_RANGE(insn->chanspec); in pci230_ai_rinsn() 1232 range = CR_RANGE(insn->chanspec); in pci230_ao_winsn() 1441 first_range = CR_RANGE(cmd->chanlist[0]); in pci230_ao_cmdtest() 1445 range = CR_RANGE(cmd->chanlist[n]); in pci230_ao_cmdtest() 1639 range = CR_RANGE(cmd->chanlist[0]); in pci230_ao_cmd() 1977 range = CR_RANGE(cmd->chanlist[n]); in pci230_ai_cmdtest() 2429 range = CR_RANGE(cmd->chanlist[0]); in pci230_ai_cmd() 2440 range = CR_RANGE(cmd->chanlist[i]); in pci230_ai_cmd()
|
D | aio_aio12_8.c | 98 (CR_RANGE(insn->chanspec) << 3) | CR_CHAN(insn->chanspec); in aio_aio12_8_ai_read()
|
D | adv_pci1710.c | 420 range = CR_RANGE(insn->chanspec); in pci171x_insn_write_ao() 589 rangereg |= (CR_RANGE(insn->chanspec) << (chan << 1)); in pci1720_insn_write_ao() 1195 CR_RANGE(chansegment[i]), in check_channel_list() 1198 CR_RANGE(chanlist[i % seglen]), in check_channel_list() 1225 range = this_board->rangecode_ai[CR_RANGE(chanlist[i])]; in setup_channel_list()
|
D | adq12b.c | 332 range = CR_RANGE(insn->chanspec); in adq12b_ai_rinsn()
|
D | poc.c | 202 if ((CR_RANGE(insn->chanspec) & 0x2) == 0) in dac02_ao_winsn()
|
D | adl_pci9118.c | 1799 if (CR_RANGE(chanlist[0]) < PCI9118_BIPOLAR_RANGES) in check_channel_list() 1810 if ((CR_RANGE(chanlist[i]) < PCI9118_BIPOLAR_RANGES) != in check_channel_list() 1852 if (CR_RANGE(chanlist[0]) < PCI9118_BIPOLAR_RANGES) in setup_channel_list() 1894 gain = CR_RANGE(chanlist[0]); in setup_channel_list() 1910 gain = CR_RANGE(chanlist[i]); /* get gain number */ in setup_channel_list() 1922 gain = CR_RANGE(chanlist[0]); /* get gain number */ in setup_channel_list()
|
D | das16m1.c | 374 Q_RANGE(CR_RANGE(cmd->chanlist[i])); in das16m1_cmd_exec() 430 Q_CHAN(CR_CHAN(insn->chanspec)) | Q_RANGE(CR_RANGE(insn->chanspec)); in das16m1_ai_rinsn()
|
D | icp_multi.c | 407 range = CR_RANGE(insn->chanspec); in icp_multi_insn_write_ao() 825 range = this_board->rangecode[CR_RANGE(chanlist[i])]; in setup_channel_list()
|
D | me_daq.c | 414 int rang = CR_RANGE((&insn->chanspec)[0]); in me_ai_insn_read() 536 rang = CR_RANGE((&insn->chanspec)[i]); in me_ao_insn_write()
|
D | pcmmio.c | 1036 || CR_RANGE(cmd-> in pcmmio_start_intr() 1198 CR_RANGE(insn->chanspec), aref = CR_AREF(insn->chanspec); in ai_rinsn() 1300 CR_RANGE(insn->chanspec); in ao_winsn()
|
D | das16.c | 904 gain = CR_RANGE(cmd->chanlist[0]); in das16_cmd_test() 915 if (CR_RANGE(cmd->chanlist[i]) != gain) { in das16_cmd_test() 966 range = CR_RANGE(cmd->chanlist[0]); in das16_cmd_exec() 1088 range = CR_RANGE(insn->chanspec); in das16_ai_rinsn()
|
D | ni_labpc.c | 883 range = CR_RANGE(cmd->chanlist[0]); in labpc_ai_chanlist_invalid() 917 if (CR_RANGE(cmd->chanlist[i]) != range) { in labpc_ai_chanlist_invalid() 1149 range = CR_RANGE(cmd->chanlist[0]); in labpc_ai_cmd() 1606 range = CR_RANGE(insn->chanspec); in labpc_ai_rinsn() 1692 range = CR_RANGE(insn->chanspec); in labpc_ao_winsn()
|
D | quatech_daqp_cs.c | 371 | DAQP_SCANLIST_GAIN(CR_RANGE(insn->chanspec)); in daqp_ai_insn_read() 642 | DAQP_SCANLIST_GAIN(CR_RANGE(chanspec)); in daqp_ai_cmd()
|
/linux-2.6.39/drivers/staging/comedi/drivers/addi-data/ |
D | hwdrv_apci16xx.c | 293 unsigned char b_SelectedPort = CR_RANGE(insn->chanspec); in i_APCI16XX_InsnBitsReadTTLIO() 580 unsigned char b_SelectedPort = CR_RANGE(insn->chanspec); in i_APCI16XX_InsnBitsWriteTTLIO()
|
D | hwdrv_apci3xxx.c | 359 unsigned char b_Configuration = (unsigned char) CR_RANGE(insn->chanspec); in i_APCI3XXX_InsnReadAnalogInput() 652 unsigned char b_Range = (unsigned char) CR_RANGE(insn->chanspec); in i_APCI3XXX_InsnWriteAnalogOutput()
|
D | APCI1710_Ssi.c | 433 b_ReadType = (unsigned char) CR_RANGE(insn->chanspec); in i_APCI1710_InsnReadSSIValue()
|