Home
last modified time | relevance | path

Searched refs:aref (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/drivers/staging/comedi/
Drange.c97 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()
Dcomedi.h60 #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/
Ddt3000.c638 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()
Dme4000.c950 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 …]
Ddas1800.c1391 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()
Damplc_pci230.c1119 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()
Dni_labpc.c882 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()
Dcb_das16_cs.c285 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()
Dme_daq.c412 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()
Dpcmmio.c1202 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()
Dcb_pcidas64.c1949 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()
Drtd520.c1190 unsigned int chan, range, aref; in rtdConvertChanGain() local
1195 aref = CR_AREF(comediChan); in rtdConvertChanGain()
1216 switch (aref) { in rtdConvertChanGain()
Dni_mio_common.c1903 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/
Dkprobes.c140 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/
Dtda10021.c228 u8 conf, agcref, lthr, mseth, aref; member
295 _tda10021_writereg(state, 0x09, qam_params[qam].aref); in tda10021_set_parameters()
Dtda10023.c302 u8 qam, lockthr, mseth, aref, agcrefnyq, eragnyq_thd; member
360 tda10023_writereg(state, 0x09, qam_params[qam].aref); in tda10023_set_parameters()