/linux/drivers/comedi/drivers/ |
A D | ni_labpc_common.c | 124 unsigned int aref) in labpc_ai_set_chan_and_gain() argument 140 aref == AREF_DIFF) in labpc_ai_set_chan_and_gain() 153 unsigned int aref, in labpc_setup_cmd6_reg() argument 163 if (aref != AREF_GROUND) in labpc_setup_cmd6_reg() 233 unsigned int aref = CR_AREF(insn->chanspec); in labpc_ai_insn_read() local 243 range, aref, false); in labpc_ai_insn_read() 249 if (aref == AREF_DIFF) in labpc_ai_insn_read() 453 unsigned int aref = CR_AREF(cmd->chanlist[i]); in labpc_ai_check_chanlist() local 487 if (aref != aref0) { in labpc_ai_check_chanlist() 624 unsigned int aref = CR_AREF(chanspec); in labpc_ai_cmd() local [all …]
|
A D | das6402.c | 212 unsigned int aref = CR_AREF(chanspec); in das6402_ai_set_mode() local 215 if (aref == AREF_GROUND) in das6402_ai_set_mode() 260 unsigned int aref = CR_AREF(cmd->chanlist[i]); in das6402_ai_check_chanlist() local 274 if (aref != aref0) { in das6402_ai_check_chanlist() 384 unsigned int aref = CR_AREF(insn->chanspec); in das6402_ai_insn_read() local 388 if (aref == AREF_DIFF && chan > (s->n_chan / 2)) in das6402_ai_insn_read()
|
A D | ni_daq_700.c | 139 unsigned int aref = CR_AREF(insn->chanspec); in daq700_ai_rinsn() local 144 if (aref == AREF_DIFF) in daq700_ai_rinsn()
|
A D | me4000.c | 467 unsigned int aref = CR_AREF(insn->chanspec); in me4000_ai_insn_read() local 473 if (aref == AREF_DIFF) { in me4000_ai_insn_read() 544 unsigned int aref = CR_AREF(cmd->chanlist[i]); in me4000_ai_check_chanlist() local 546 if (aref != aref0) { in me4000_ai_check_chanlist() 552 if (aref == AREF_DIFF) { in me4000_ai_check_chanlist() 636 unsigned int aref = CR_AREF(cmd->chanlist[i]); in me4000_ai_write_chanlist() local 641 if (aref == AREF_DIFF) in me4000_ai_write_chanlist()
|
A D | pcmmio.c | 397 unsigned int aref = CR_AREF(chanspec); in pcmmio_start_intr() local 400 pol_bits |= (((aref || range) ? 1 : 0) << chan); in pcmmio_start_intr() 538 unsigned int aref = CR_AREF(insn->chanspec); in pcmmio_ai_insn_read() local 564 if (aref == AREF_GROUND) in pcmmio_ai_insn_read()
|
A D | adv_pci1710.c | 203 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci1710_ai_check_chanlist() local 208 if (aref == AREF_DIFF && (chan & 1)) { in pci1710_ai_check_chanlist() 225 last_aref = aref; in pci1710_ai_check_chanlist() 261 unsigned int aref = CR_AREF(chanlist[i]); in pci1710_ai_setup_chanlist() local 264 if (aref == AREF_DIFF) in pci1710_ai_setup_chanlist()
|
A D | me_daq.c | 236 unsigned int aref = CR_AREF(insn->chanspec); in me_ai_insn_read() local 245 if (aref & AREF_DIFF) { in me_ai_insn_read() 264 if (aref & AREF_DIFF) in me_ai_insn_read()
|
A D | icp_multi.c | 108 unsigned int aref = CR_AREF(insn->chanspec); in icp_multi_ai_insn_read() local 114 if (aref == AREF_DIFF) { in icp_multi_ai_insn_read()
|
A D | amplc_pci230.c | 728 unsigned int chan, range, aref; in pci230_ai_insn_read() local 736 aref = CR_AREF(insn->chanspec); in pci230_ai_insn_read() 737 if (aref == AREF_DIFF) { in pci230_ai_insn_read() 757 if (aref == AREF_DIFF) { in pci230_ai_insn_read() 1420 unsigned int aref = CR_AREF(chanspec); in pci230_ai_check_chanlist() local 1423 if (aref == AREF_DIFF && chan >= max_diff_chan) { in pci230_ai_check_chanlist() 1446 if (aref != prev_aref) { in pci230_ai_check_chanlist() 1460 if (aref != AREF_DIFF && range != prev_range && in pci230_ai_check_chanlist() 1470 prev_aref = aref; in pci230_ai_check_chanlist()
|
A D | dt3000.c | 457 unsigned int chan, range, aref; in dt3k_ai_cmd() local 467 aref = CR_AREF(cmd->chanlist[0]); in dt3k_ai_cmd() 485 writew((aref == AREF_DIFF) ? DPR_PARAM6_AD_DIFF : 0, in dt3k_ai_cmd()
|
A D | ni_at_a2150.c | 374 unsigned int aref = CR_AREF(cmd->chanlist[i]); in a2150_ai_check_chanlist() local 383 aref0 = aref; in a2150_ai_check_chanlist() 384 if (aref != aref0) { in a2150_ai_check_chanlist()
|
A D | cb_das16_cs.c | 147 int aref = CR_AREF(insn->chanspec); in das16cs_ai_insn_read() local 157 if (aref == AREF_DIFF) in das16cs_ai_insn_read()
|
A D | pcl711.c | 215 unsigned int aref = CR_AREF(chanspec); in pcl711_set_changain() local 222 if (aref == AREF_DIFF) { in pcl711_set_changain()
|
A D | pcmuio.c | 393 unsigned int aref = CR_AREF(chanspec); in pcmuio_start_intr() local 396 pol_bits |= ((aref || range) ? 1 : 0) << chan; in pcmuio_start_intr()
|
A D | quatech_daqp_cs.c | 267 unsigned int aref = CR_AREF(chanspec); in daqp_ai_set_one_scanlist_entry() local 272 if (aref == AREF_DIFF) in daqp_ai_set_one_scanlist_entry()
|
A D | adl_pci9111.c | 212 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci9111_ai_check_chanlist() local 226 if (aref != aref0) { in pci9111_ai_check_chanlist()
|
A D | das1800.c | 731 unsigned int aref = CR_AREF(chanspec); in das1800_ai_chanspec_bits() local 735 if (aref != AREF_DIFF) in das1800_ai_chanspec_bits() 737 if (aref == AREF_COMMON) in das1800_ai_chanspec_bits()
|
A D | addi_apci_3xxx.c | 384 unsigned int aref = CR_AREF(chanspec); in apci3xxx_ai_setup() local 403 ((aref == AREF_DIFF) << 7); in apci3xxx_ai_setup()
|
A D | adl_pci9118.c | 303 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci9118_ai_check_chanlist() local 305 if (aref != aref0) { in pci9118_ai_check_chanlist() 316 if (!devpriv->usemux && aref == AREF_DIFF && in pci9118_ai_check_chanlist()
|
A D | rtd520.c | 420 unsigned int aref = CR_AREF(chanspec); in rtd_convert_chan_gain() local 440 switch (aref) { in rtd_convert_chan_gain()
|
A D | cb_pcidas64.c | 1753 unsigned int channel, range, aref; in ai_rinsn() local 1759 aref = CR_AREF(insn->chanspec); in ai_rinsn() 1807 bits |= se_diff_bit_6xxx(dev, aref == AREF_DIFF); in ai_rinsn() 1808 if (aref == AREF_COMMON) in ai_rinsn() 2067 unsigned int aref = CR_AREF(cmd->chanlist[i]); in cb_pcidas64_ai_check_chanlist() local 2069 if (aref != aref0) { in cb_pcidas64_ai_check_chanlist()
|
A D | ni_mio_common.c | 1611 unsigned int chan, range, aref; in ni_m_series_load_channelgain_list() local 1641 aref = CR_AREF(list[i]); in ni_m_series_load_channelgain_list() 1647 switch (aref) { in ni_m_series_load_channelgain_list() 1710 unsigned int chan, range, aref; in ni_load_channelgain_list() local 1765 aref = CR_AREF(list[i]); in ni_load_channelgain_list() 1783 aref = AREF_DIFF; in ni_load_channelgain_list() 1785 aref = AREF_OTHER; in ni_load_channelgain_list() 1786 switch (aref) { in ni_load_channelgain_list()
|
/linux/drivers/comedi/ |
A D | comedi.h | 56 #define CR_PACK(chan, rng, aref) \ argument 57 ((((aref) & 0x3) << 24) | (((rng) & 0xff) << 16) | (chan)) 58 #define CR_PACK_FLAGS(chan, range, aref, flags) \ argument 59 (CR_PACK(chan, range, aref) | ((flags) & CR_FLAGS_MASK))
|
/linux/drivers/media/dvb-frontends/ |
A D | tda10021.c | 225 u8 conf, agcref, lthr, mseth, aref; member 292 _tda10021_writereg(state, 0x09, qam_params[qam].aref); in tda10021_set_parameters()
|
A D | tda10023.c | 288 u8 qam, lockthr, mseth, aref, agcrefnyq, eragnyq_thd; member 346 tda10023_writereg(state, 0x09, qam_params[qam].aref); in tda10023_set_parameters()
|