/linux-3.4.99/drivers/staging/comedi/ |
D | range.c | 97 unsigned int aref; in aref_invalid() local 102 aref = CR_AREF(chanspec); in aref_invalid() 103 switch (aref) { in aref_invalid() 123 DPRINTK("subdevice does not support aref %i", aref); in aref_invalid()
|
D | comedi.h | 60 #define CR_PACK(chan, rng, aref) \ argument 61 ((((aref)&0x3)<<24) | (((rng)&0xff)<<16) | (chan)) 62 #define CR_PACK_FLAGS(chan, range, aref, flags) \ argument 63 (CR_PACK(chan, range, aref) | ((flags) & CR_FLAGS_MASK))
|
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | dt3000.c | 638 unsigned int chan, range, aref; in dt3k_ai_cmd() local 652 aref = CR_AREF(cmd->chanlist[0]); in dt3k_ai_cmd() 682 writew(aref == AREF_DIFF, devpriv->io_addr + DPR_Params(6)); in dt3k_ai_cmd() 683 dev_dbg(dev->hw_dev, "param[6]=0x%04x\n", aref == AREF_DIFF); in dt3k_ai_cmd() 718 unsigned int chan, gain, aref; in dt3k_ai_insn() local 723 aref = CR_AREF(insn->chanspec); in dt3k_ai_insn()
|
D | me4000.c | 950 int aref = CR_AREF(insn->chanspec); in me4000_ai_insn_read() local 987 switch (aref) { in me4000_ai_insn_read() 1091 int aref; in ai_check_chanlist() local 1121 aref = CR_AREF(cmd->chanlist[0]); in ai_check_chanlist() 1123 if (CR_AREF(cmd->chanlist[i]) != aref) { in ai_check_chanlist() 1133 if (aref == SDF_DIFF) { in ai_check_chanlist() 1155 if (aref == SDF_DIFF) { in ai_check_chanlist() 1334 unsigned int aref; in ai_write_chanlist() local 1342 aref = CR_AREF(cmd->chanlist[i]); in ai_write_chanlist() 1355 if (aref == SDF_DIFF) in ai_write_chanlist() [all …]
|
D | das1800.c | 1391 int aref; in control_c_bits() local 1396 aref = CR_AREF(cmd.chanlist[0]); in control_c_bits() 1398 if (aref != AREF_DIFF) in control_c_bits() 1400 if (aref == AREF_COMMON) in control_c_bits() 1608 int chan, range, aref, chan_range; in das1800_ai_rinsn() local 1615 aref = CR_AREF(insn->chanspec); in das1800_ai_rinsn() 1617 if (aref != AREF_DIFF) in das1800_ai_rinsn() 1619 if (aref == AREF_COMMON) in das1800_ai_rinsn()
|
D | amplc_pci230.c | 1119 unsigned int chan, range, aref; in pci230_ai_rinsn() local 1127 aref = CR_AREF(insn->chanspec); in pci230_ai_rinsn() 1128 if (aref == AREF_DIFF) { in pci230_ai_rinsn() 1147 if (aref == AREF_DIFF) { in pci230_ai_rinsn() 1965 unsigned int aref, prev_aref; in pci230_ai_cmdtest() local 1975 aref = CR_AREF(cmd->chanlist[n]); in pci230_ai_cmdtest() 1980 if ((aref == AREF_DIFF) in pci230_ai_cmdtest() 1997 if (aref != prev_aref) in pci230_ai_cmdtest() 2006 if ((aref != AREF_DIFF) in pci230_ai_cmdtest() 2014 prev_aref = aref; in pci230_ai_cmdtest()
|
D | ni_labpc.c | 882 int mode, channel, range, aref, i; in labpc_ai_chanlist_invalid() local 902 aref = CR_AREF(cmd->chanlist[0]); in labpc_ai_chanlist_invalid() 941 if (CR_AREF(cmd->chanlist[i]) != aref) { in labpc_ai_chanlist_invalid() 1154 int channel, range, aref; in labpc_ai_cmd() local 1170 aref = CR_AREF(cmd->chanlist[0]); in labpc_ai_cmd() 1231 if (aref != AREF_GROUND) in labpc_ai_cmd() 1269 aref == AREF_DIFF) in labpc_ai_cmd() 1376 if (aref == AREF_DIFF) in labpc_ai_cmd()
|
D | cb_das16_cs.c | 285 int aref; in das16cs_ai_rinsn() local 291 aref = CR_AREF(insn->chanspec); in das16cs_ai_rinsn() 297 devpriv->status1 |= (aref == AREF_DIFF) ? 0 : 0x0020; in das16cs_ai_rinsn()
|
D | me_daq.c | 412 int aref = CR_AREF((&insn->chanspec)[0]); in me_ai_insn_read() local 438 value |= ((aref & AREF_DIFF) ? 0x80 : 0); in me_ai_insn_read()
|
D | pcmmio.c | 1202 CR_RANGE(insn->chanspec), aref = CR_AREF(insn->chanspec); in ai_rinsn() local 1213 if (aref != AREF_DIFF) { in ai_rinsn() 1214 aref = AREF_GROUND; in ai_rinsn()
|
D | cb_pcidas64.c | 1949 unsigned int channel, range, aref; in ai_rinsn() local 1956 aref = CR_AREF(insn->chanspec); in ai_rinsn() 1999 bits |= se_diff_bit_6xxx(dev, aref == AREF_DIFF); in ai_rinsn() 2000 if (aref == AREF_COMMON) in ai_rinsn() 2200 int aref; in ai_cmdtest() local 2343 aref = CR_AREF(cmd->chanlist[0]); in ai_cmdtest() 2345 if (aref != CR_AREF(cmd->chanlist[i])) { in ai_cmdtest()
|
D | rtd520.c | 1190 unsigned int chan, range, aref; in rtdConvertChanGain() local 1195 aref = CR_AREF(comediChan); in rtdConvertChanGain() 1216 switch (aref) { in rtdConvertChanGain()
|
D | ni_mio_common.c | 1903 unsigned int chan, range, aref; in ni_m_series_load_channelgain_list() local 1939 aref = CR_AREF(list[i]); in ni_m_series_load_channelgain_list() 1945 switch (aref) { in ni_m_series_load_channelgain_list() 2008 unsigned int chan, range, aref; in ni_load_channelgain_list() local 2066 aref = CR_AREF(list[i]); in ni_load_channelgain_list() 2084 aref = AREF_DIFF; in ni_load_channelgain_list() 2086 aref = AREF_OTHER; in ni_load_channelgain_list() 2087 switch (aref) { in ni_load_channelgain_list()
|
/linux-3.4.99/arch/s390/kernel/ |
D | kprobes.c | 140 static int __kprobes swap_instruction(void *aref) in swap_instruction() argument 144 struct ins_replace_args *args = aref; in swap_instruction()
|
/linux-3.4.99/drivers/media/dvb/frontends/ |
D | tda10021.c | 228 u8 conf, agcref, lthr, mseth, aref; member 295 _tda10021_writereg(state, 0x09, qam_params[qam].aref); in tda10021_set_parameters()
|
D | tda10023.c | 302 u8 qam, lockthr, mseth, aref, agcrefnyq, eragnyq_thd; member 360 tda10023_writereg(state, 0x09, qam_params[qam].aref); in tda10023_set_parameters()
|