aref 215 drivers/media/dvb-frontends/tda10021.c u8 conf, agcref, lthr, mseth, aref; aref 282 drivers/media/dvb-frontends/tda10021.c _tda10021_writereg(state, 0x09, qam_params[qam].aref); aref 288 drivers/media/dvb-frontends/tda10023.c u8 qam, lockthr, mseth, aref, agcrefnyq, eragnyq_thd; aref 346 drivers/media/dvb-frontends/tda10023.c tda10023_writereg(state, 0x09, qam_params[qam].aref); aref 56 drivers/staging/comedi/comedi.h #define CR_PACK(chan, rng, aref) \ aref 57 drivers/staging/comedi/comedi.h ((((aref) & 0x3) << 24) | (((rng) & 0xff) << 16) | (chan)) aref 58 drivers/staging/comedi/comedi.h #define CR_PACK_FLAGS(chan, range, aref, flags) \ aref 59 drivers/staging/comedi/comedi.h (CR_PACK(chan, range, aref) | ((flags) & CR_FLAGS_MASK)) aref 384 drivers/staging/comedi/drivers/addi_apci_3xxx.c unsigned int aref = CR_AREF(chanspec); aref 403 drivers/staging/comedi/drivers/addi_apci_3xxx.c ((aref == AREF_DIFF) << 7); aref 212 drivers/staging/comedi/drivers/adl_pci9111.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 226 drivers/staging/comedi/drivers/adl_pci9111.c if (aref != aref0) { aref 303 drivers/staging/comedi/drivers/adl_pci9118.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 305 drivers/staging/comedi/drivers/adl_pci9118.c if (aref != aref0) { aref 316 drivers/staging/comedi/drivers/adl_pci9118.c if (!devpriv->usemux && aref == AREF_DIFF && aref 203 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 208 drivers/staging/comedi/drivers/adv_pci1710.c if (aref == AREF_DIFF && (chan & 1)) { aref 225 drivers/staging/comedi/drivers/adv_pci1710.c last_aref = aref; aref 261 drivers/staging/comedi/drivers/adv_pci1710.c unsigned int aref = CR_AREF(chanlist[i]); aref 264 drivers/staging/comedi/drivers/adv_pci1710.c if (aref == AREF_DIFF) aref 728 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int chan, range, aref; aref 736 drivers/staging/comedi/drivers/amplc_pci230.c aref = CR_AREF(insn->chanspec); aref 737 drivers/staging/comedi/drivers/amplc_pci230.c if (aref == AREF_DIFF) { aref 757 drivers/staging/comedi/drivers/amplc_pci230.c if (aref == AREF_DIFF) { aref 1420 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int aref = CR_AREF(chanspec); aref 1423 drivers/staging/comedi/drivers/amplc_pci230.c if (aref == AREF_DIFF && chan >= max_diff_chan) { aref 1446 drivers/staging/comedi/drivers/amplc_pci230.c if (aref != prev_aref) { aref 1460 drivers/staging/comedi/drivers/amplc_pci230.c if (aref != AREF_DIFF && range != prev_range && aref 1470 drivers/staging/comedi/drivers/amplc_pci230.c prev_aref = aref; aref 147 drivers/staging/comedi/drivers/cb_das16_cs.c int aref = CR_AREF(insn->chanspec); aref 157 drivers/staging/comedi/drivers/cb_das16_cs.c if (aref == AREF_DIFF) aref 332 drivers/staging/comedi/drivers/cb_pcidas.c unsigned int aref = CR_AREF(insn->chanspec); aref 352 drivers/staging/comedi/drivers/cb_pcidas.c if (aref != AREF_DIFF) aref 1758 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int channel, range, aref; aref 1764 drivers/staging/comedi/drivers/cb_pcidas64.c aref = CR_AREF(insn->chanspec); aref 1812 drivers/staging/comedi/drivers/cb_pcidas64.c bits |= se_diff_bit_6xxx(dev, aref == AREF_DIFF); aref 1813 drivers/staging/comedi/drivers/cb_pcidas64.c if (aref == AREF_COMMON) aref 2072 drivers/staging/comedi/drivers/cb_pcidas64.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 2074 drivers/staging/comedi/drivers/cb_pcidas64.c if (aref != aref0) { aref 731 drivers/staging/comedi/drivers/das1800.c unsigned int aref = CR_AREF(chanspec); aref 735 drivers/staging/comedi/drivers/das1800.c if (aref != AREF_DIFF) aref 737 drivers/staging/comedi/drivers/das1800.c if (aref == AREF_COMMON) aref 212 drivers/staging/comedi/drivers/das6402.c unsigned int aref = CR_AREF(chanspec); aref 215 drivers/staging/comedi/drivers/das6402.c if (aref == AREF_GROUND) aref 260 drivers/staging/comedi/drivers/das6402.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 274 drivers/staging/comedi/drivers/das6402.c if (aref != aref0) { aref 384 drivers/staging/comedi/drivers/das6402.c unsigned int aref = CR_AREF(insn->chanspec); aref 388 drivers/staging/comedi/drivers/das6402.c if (aref == AREF_DIFF && chan > (s->n_chan / 2)) aref 458 drivers/staging/comedi/drivers/dt3000.c unsigned int chan, range, aref; aref 468 drivers/staging/comedi/drivers/dt3000.c aref = CR_AREF(cmd->chanlist[0]); aref 486 drivers/staging/comedi/drivers/dt3000.c writew((aref == AREF_DIFF) ? DPR_PARAM6_AD_DIFF : 0, aref 511 drivers/staging/comedi/drivers/dt3000.c unsigned int chan, gain, aref; aref 516 drivers/staging/comedi/drivers/dt3000.c aref = CR_AREF(insn->chanspec); aref 108 drivers/staging/comedi/drivers/icp_multi.c unsigned int aref = CR_AREF(insn->chanspec); aref 114 drivers/staging/comedi/drivers/icp_multi.c if (aref == AREF_DIFF) { aref 467 drivers/staging/comedi/drivers/me4000.c unsigned int aref = CR_AREF(insn->chanspec); aref 473 drivers/staging/comedi/drivers/me4000.c if (aref == AREF_DIFF) { aref 544 drivers/staging/comedi/drivers/me4000.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 546 drivers/staging/comedi/drivers/me4000.c if (aref != aref0) { aref 552 drivers/staging/comedi/drivers/me4000.c if (aref == AREF_DIFF) { aref 636 drivers/staging/comedi/drivers/me4000.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 641 drivers/staging/comedi/drivers/me4000.c if (aref == AREF_DIFF) aref 236 drivers/staging/comedi/drivers/me_daq.c unsigned int aref = CR_AREF(insn->chanspec); aref 245 drivers/staging/comedi/drivers/me_daq.c if (aref & AREF_DIFF) { aref 264 drivers/staging/comedi/drivers/me_daq.c if (aref & AREF_DIFF) aref 374 drivers/staging/comedi/drivers/ni_at_a2150.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 383 drivers/staging/comedi/drivers/ni_at_a2150.c aref0 = aref; aref 384 drivers/staging/comedi/drivers/ni_at_a2150.c if (aref != aref0) { aref 139 drivers/staging/comedi/drivers/ni_daq_700.c unsigned int aref = CR_AREF(insn->chanspec); aref 144 drivers/staging/comedi/drivers/ni_daq_700.c if (aref == AREF_DIFF) aref 124 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int aref) aref 140 drivers/staging/comedi/drivers/ni_labpc_common.c aref == AREF_DIFF) aref 153 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int aref, aref 163 drivers/staging/comedi/drivers/ni_labpc_common.c if (aref != AREF_GROUND) aref 233 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int aref = CR_AREF(insn->chanspec); aref 240 drivers/staging/comedi/drivers/ni_labpc_common.c labpc_ai_set_chan_and_gain(dev, MODE_SINGLE_CHAN, chan, range, aref); aref 243 drivers/staging/comedi/drivers/ni_labpc_common.c range, aref, false); aref 249 drivers/staging/comedi/drivers/ni_labpc_common.c if (aref == AREF_DIFF) aref 453 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int aref = CR_AREF(cmd->chanlist[i]); aref 487 drivers/staging/comedi/drivers/ni_labpc_common.c if (aref != aref0) { aref 625 drivers/staging/comedi/drivers/ni_labpc_common.c unsigned int aref = CR_AREF(chanspec); aref 672 drivers/staging/comedi/drivers/ni_labpc_common.c labpc_ai_set_chan_and_gain(dev, mode, chan, range, aref); aref 674 drivers/staging/comedi/drivers/ni_labpc_common.c labpc_setup_cmd6_reg(dev, s, mode, xfer, range, aref, aref 741 drivers/staging/comedi/drivers/ni_labpc_common.c if (aref == AREF_DIFF) aref 1612 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int chan, range, aref; aref 1642 drivers/staging/comedi/drivers/ni_mio_common.c aref = CR_AREF(list[i]); aref 1648 drivers/staging/comedi/drivers/ni_mio_common.c switch (aref) { aref 1711 drivers/staging/comedi/drivers/ni_mio_common.c unsigned int chan, range, aref; aref 1766 drivers/staging/comedi/drivers/ni_mio_common.c aref = CR_AREF(list[i]); aref 1784 drivers/staging/comedi/drivers/ni_mio_common.c aref = AREF_DIFF; aref 1786 drivers/staging/comedi/drivers/ni_mio_common.c aref = AREF_OTHER; aref 1787 drivers/staging/comedi/drivers/ni_mio_common.c switch (aref) { aref 215 drivers/staging/comedi/drivers/pcl711.c unsigned int aref = CR_AREF(chanspec); aref 222 drivers/staging/comedi/drivers/pcl711.c if (aref == AREF_DIFF) { aref 397 drivers/staging/comedi/drivers/pcmmio.c unsigned int aref = CR_AREF(chanspec); aref 400 drivers/staging/comedi/drivers/pcmmio.c pol_bits |= (((aref || range) ? 1 : 0) << chan); aref 538 drivers/staging/comedi/drivers/pcmmio.c unsigned int aref = CR_AREF(insn->chanspec); aref 564 drivers/staging/comedi/drivers/pcmmio.c if (aref == AREF_GROUND) aref 393 drivers/staging/comedi/drivers/pcmuio.c unsigned int aref = CR_AREF(chanspec); aref 396 drivers/staging/comedi/drivers/pcmuio.c pol_bits |= ((aref || range) ? 1 : 0) << chan; aref 267 drivers/staging/comedi/drivers/quatech_daqp_cs.c unsigned int aref = CR_AREF(chanspec); aref 272 drivers/staging/comedi/drivers/quatech_daqp_cs.c if (aref == AREF_DIFF) aref 420 drivers/staging/comedi/drivers/rtd520.c unsigned int aref = CR_AREF(chanspec); aref 440 drivers/staging/comedi/drivers/rtd520.c switch (aref) {