Home
last modified time | relevance | path

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

12

/linux-2.6.39/drivers/staging/comedi/
Drange.c140 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/
Dusbduxfast.c788 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 …]
Dpcl816.c268 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()
Dadl_pci9111.c781 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()
Dcb_pcidas.c820 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()
Ddas800.c707 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()
Ddmm32at.c491 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()
Damplc_pci224.c533 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()
Ddas1800.c1340 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()
Damplc_pci230.c1129 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()
Daio_aio12_8.c98 (CR_RANGE(insn->chanspec) << 3) | CR_CHAN(insn->chanspec); in aio_aio12_8_ai_read()
Dadv_pci1710.c420 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()
Dadq12b.c332 range = CR_RANGE(insn->chanspec); in adq12b_ai_rinsn()
Dpoc.c202 if ((CR_RANGE(insn->chanspec) & 0x2) == 0) in dac02_ao_winsn()
Dadl_pci9118.c1799 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()
Ddas16m1.c374 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()
Dicp_multi.c407 range = CR_RANGE(insn->chanspec); in icp_multi_insn_write_ao()
825 range = this_board->rangecode[CR_RANGE(chanlist[i])]; in setup_channel_list()
Dme_daq.c414 int rang = CR_RANGE((&insn->chanspec)[0]); in me_ai_insn_read()
536 rang = CR_RANGE((&insn->chanspec)[i]); in me_ao_insn_write()
Dpcmmio.c1036 || 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()
Ddas16.c904 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()
Dni_labpc.c883 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()
Dquatech_daqp_cs.c371 | 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/
Dhwdrv_apci16xx.c293 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()
Dhwdrv_apci3xxx.c359 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()
DAPCI1710_Ssi.c433 b_ReadType = (unsigned char) CR_RANGE(insn->chanspec); in i_APCI1710_InsnReadSSIValue()

12