Home
last modified time | relevance | path

Searched refs:CR_AREF (Results 1 – 25 of 33) sorted by relevance

12

/linux-3.4.99/drivers/staging/comedi/drivers/addi-data/
DAPCI1710_INCCPT.c91 CR_AREF(insn->chanspec), in i_APCI1710_InsnConfigINCCPT()
104 CR_AREF(insn->chanspec), in i_APCI1710_InsnConfigINCCPT()
111 CR_AREF(insn->chanspec), (unsigned char) data[0]); in i_APCI1710_InsnConfigINCCPT()
116 CR_AREF(insn->chanspec), in i_APCI1710_InsnConfigINCCPT()
122 CR_AREF(insn->chanspec), (unsigned int) data[0]); in i_APCI1710_InsnConfigINCCPT()
127 CR_AREF(insn->chanspec), in i_APCI1710_InsnConfigINCCPT()
2029 (unsigned char) CR_AREF(insn->chanspec)); in i_APCI1710_InsnBitsINCCPT()
2038 (unsigned char) CR_AREF(insn->chanspec), in i_APCI1710_InsnBitsINCCPT()
2044 (unsigned char) CR_AREF(insn->chanspec), (unsigned char) data[0]); in i_APCI1710_InsnBitsINCCPT()
2049 (unsigned char) CR_AREF(insn->chanspec), (unsigned char) data[0]); in i_APCI1710_InsnBitsINCCPT()
[all …]
DAPCI1710_82x54.c241 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnConfigInitTimer()
463 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec);
600 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnReadAllTimerValue()
696 (unsigned char)CR_AREF(insn->chanspec), in i_APCI1710_InsnBitsTimer()
703 (unsigned char)CR_AREF(insn->chanspec), in i_APCI1710_InsnBitsTimer()
710 (unsigned char)CR_AREF(insn->chanspec), in i_APCI1710_InsnBitsTimer()
717 (unsigned char)CR_AREF(insn->chanspec), in i_APCI1710_InsnBitsTimer()
DAPCI1710_Dig_io.c110 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnConfigDigitalIO()
303 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnReadDigitalIOChlValue()
491 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnWriteDigitalIOChlOnOff()
745 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnBitsDigitalIOPortOnOff()
DAPCI1710_Ttl.c114 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnConfigInitTTLIO()
423 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnBitsReadTTLIO()
666 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnReadTTLIOAllPortValue()
838 b_ModulNbr = CR_AREF(insn->chanspec);
DAPCI1710_Chrono.c146 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnConfigInitChrono()
848 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnWriteEnableDisableChrono()
1104 (unsigned char) CR_AREF(insn->chanspec), (unsigned char *) &data[0]); in i_APCI1710_InsnReadChrono()
1109 (unsigned char) CR_AREF(insn->chanspec), in i_APCI1710_InsnReadChrono()
1116 (unsigned char) CR_AREF(insn->chanspec), in i_APCI1710_InsnReadChrono()
1887 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnBitsChronoDigitalIO()
DAPCI1710_Inp_cpt.c138 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnConfigInitPulseEncoder()
428 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnWriteEnableDisablePulseEncoder()
724 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnBitsReadWritePulseEncoder()
DAPCI1710_Ssi.c131 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnConfigInitSSI()
417 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnReadSSIValue()
733 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnBitsSSIDigitalIO()
DAPCI1710_Tor.c148 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnConfigInitTorCounter()
1004 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnWriteEnableDisableTorCounter()
1479 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnReadGetTorCounterInitialisation()
1718 b_ModulNbr = CR_AREF(insn->chanspec); in i_APCI1710_InsnBitsGetTorCounterProgressStatusAndValue()
DAPCI1710_Pwm.c82 …i_ReturnValue = i_APCI1710_InitPWM(dev, (unsigned char) CR_AREF(insn->chanspec), /* b_ModulNbr */ in i_APCI1710_InsnConfigPWM()
94 …i_ReturnValue = i_APCI1710_GetPWMInitialisation(dev, (unsigned char) CR_AREF(insn->chanspec), /* … in i_APCI1710_InsnConfigPWM()
1696 (unsigned char) CR_AREF(insn->chanspec), in i_APCI1710_InsnWritePWM()
1705 (unsigned char) CR_AREF(insn->chanspec), (unsigned char) data[0]); in i_APCI1710_InsnWritePWM()
1710 (unsigned char) CR_AREF(insn->chanspec), in i_APCI1710_InsnWritePWM()
3475 b_ModulNbr = (unsigned char) CR_AREF(insn->chanspec); in i_APCI1710_InsnReadGetPWMStatus()
Dhwdrv_apci16xx.c436 unsigned char b_Command = (unsigned char) CR_AREF(insn->chanspec); in i_APCI16XX_InsnReadTTLIOAllPortValue()
/linux-3.4.99/drivers/staging/comedi/drivers/
Dni_at_a2150.c619 if (CR_AREF(cmd->chanlist[0]) != CR_AREF(cmd->chanlist[1]) || in a2150_ai_cmdtest()
620 CR_AREF(cmd->chanlist[2]) != CR_AREF(cmd->chanlist[3])) { in a2150_ai_cmdtest()
660 if (CR_AREF(cmd->chanlist[0]) == AREF_OTHER) in a2150_ai_cmd()
664 if (CR_AREF(cmd->chanlist[2]) == AREF_OTHER) in a2150_ai_cmd()
Dadv_pci1710.c1170 if (CR_AREF(chanlist[i]) == AREF_DIFF) { in check_channel_list()
1177 if (CR_AREF(chansegment[i - 1]) == AREF_DIFF) in check_channel_list()
1196 CR_AREF(chansegment[i]), in check_channel_list()
1199 CR_AREF(chansegment[i % seglen])); in check_channel_list()
1226 if (CR_AREF(chanlist[i]) == AREF_DIFF) in setup_channel_list()
Dni_labpc.c902 aref = CR_AREF(cmd->chanlist[0]); in labpc_ai_chanlist_invalid()
941 if (CR_AREF(cmd->chanlist[i]) != aref) { in labpc_ai_chanlist_invalid()
1170 aref = CR_AREF(cmd->chanlist[0]); in labpc_ai_cmd()
1643 if (CR_AREF(insn->chanspec) == AREF_DIFF) in labpc_ai_rinsn()
1651 if (CR_AREF(insn->chanspec) != AREF_GROUND) in labpc_ai_rinsn()
1672 if (CR_AREF(insn->chanspec) == AREF_DIFF) in labpc_ai_rinsn()
Dicp_multi.c746 if (CR_AREF(chanlist[i]) == AREF_DIFF) {
803 if (CR_AREF(chanlist[i]) == AREF_DIFF) { in setup_channel_list()
Dquatech_daqp_cs.c373 if (CR_AREF(insn->chanspec) == AREF_DIFF) in daqp_ai_insn_read()
644 if (CR_AREF(chanspec) == AREF_DIFF) in daqp_ai_cmd()
Dcb_pcidas64.c1956 aref = CR_AREF(insn->chanspec); in ai_rinsn()
2343 aref = CR_AREF(cmd->chanlist[0]); in ai_cmdtest()
2345 if (aref != CR_AREF(cmd->chanlist[i])) { in ai_cmdtest()
2615 if (CR_AREF(cmd->chanlist[i + 1]) != CR_AREF(cmd->chanlist[i])) in use_internal_queue_6xxx()
2640 CR_AREF(cmd->chanlist[0]) == in setup_channel_queue()
2642 if (CR_AREF(cmd->chanlist[0]) == AREF_COMMON) in setup_channel_queue()
2678 CR_AREF(cmd-> in setup_channel_queue()
2681 if (CR_AREF(cmd->chanlist[i]) == AREF_COMMON) in setup_channel_queue()
Dme4000.c950 int aref = CR_AREF(insn->chanspec); in me4000_ai_insn_read()
1121 aref = CR_AREF(cmd->chanlist[0]); in ai_check_chanlist()
1123 if (CR_AREF(cmd->chanlist[i]) != aref) { in ai_check_chanlist()
1342 aref = CR_AREF(cmd->chanlist[i]); in ai_write_chanlist()
1962 int aref = CR_AREF(insn->chanspec); in me4000_ao_insn_write()
Ddt3000.c652 aref = CR_AREF(cmd->chanlist[0]); in dt3k_ai_cmd()
723 aref = CR_AREF(insn->chanspec); in dt3k_ai_insn()
Dadl_pci9111.c780 reference = CR_AREF(cmd->chanlist[0]); in pci9111_ai_do_cmd_test()
795 if (CR_AREF(cmd->chanlist[i]) != reference) { in pci9111_ai_do_cmd_test()
Dpcmmio.c1039 pol_bits |= (CR_AREF(cmd->chanlist[n]) in pcmmio_start_intr()
1202 CR_RANGE(insn->chanspec), aref = CR_AREF(insn->chanspec); in ai_rinsn()
Damplc_pci230.c1127 aref = CR_AREF(insn->chanspec); in pci230_ai_rinsn()
1813 if (CR_AREF(cmd->chanlist[0]) == AREF_DIFF) in pci230_ai_cmdtest()
1975 aref = CR_AREF(cmd->chanlist[n]); in pci230_ai_cmdtest()
2416 if (CR_AREF(cmd->chanlist[0]) == AREF_DIFF) { in pci230_ai_cmd()
Dpcl816.c999 CR_AREF(chansegment[i]), in check_channel_list()
1002 CR_AREF(chansegment[i % seglen])); in check_channel_list()
Dadl_pci9118.c1798 if (CR_AREF(chanlist[0]) == AREF_DIFF) in check_channel_list()
1804 if ((CR_AREF(chanlist[i]) == AREF_DIFF) != in check_channel_list()
1851 if (CR_AREF(chanlist[0]) == AREF_DIFF) in setup_channel_list()
/linux-3.4.99/drivers/staging/comedi/
Drange.c102 aref = CR_AREF(chanspec); in aref_invalid()
Dcomedi.h67 #define CR_AREF(a) (((a)>>24)&0x03) macro

12