Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/staging/comedi/drivers/
Dni_labpc_common.c124 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
240 labpc_ai_set_chan_and_gain(dev, MODE_SINGLE_CHAN, chan, range, aref); in labpc_ai_insn_read()
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()
[all …]
Ddas6402.c212 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()
Ddt3000.c458 unsigned int chan, range, aref; in dt3k_ai_cmd() local
468 aref = CR_AREF(cmd->chanlist[0]); in dt3k_ai_cmd()
486 writew((aref == AREF_DIFF) ? DPR_PARAM6_AD_DIFF : 0, in dt3k_ai_cmd()
511 unsigned int chan, gain, aref; in dt3k_ai_insn_read() local
516 aref = CR_AREF(insn->chanspec); in dt3k_ai_insn_read()
Dni_daq_700.c139 unsigned int aref = CR_AREF(insn->chanspec); in daq700_ai_rinsn() local
144 if (aref == AREF_DIFF) in daq700_ai_rinsn()
Dme4000.c467 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()
Dpcmmio.c397 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()
Dicp_multi.c108 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()
Dadv_pci1710.c203 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()
Dme_daq.c236 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()
Damplc_pci230.c728 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()
Dni_at_a2150.c374 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()
Dcb_das16_cs.c147 int aref = CR_AREF(insn->chanspec); in das16cs_ai_insn_read() local
157 if (aref == AREF_DIFF) in das16cs_ai_insn_read()
Dpcl711.c215 unsigned int aref = CR_AREF(chanspec); in pcl711_set_changain() local
222 if (aref == AREF_DIFF) { in pcl711_set_changain()
Dpcmuio.c393 unsigned int aref = CR_AREF(chanspec); in pcmuio_start_intr() local
396 pol_bits |= ((aref || range) ? 1 : 0) << chan; in pcmuio_start_intr()
Dadl_pci9111.c212 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci9111_ai_check_chanlist() local
226 if (aref != aref0) { in pci9111_ai_check_chanlist()
Dquatech_daqp_cs.c266 unsigned int aref = CR_AREF(chanspec); in daqp_ai_set_one_scanlist_entry() local
271 if (aref == AREF_DIFF) in daqp_ai_set_one_scanlist_entry()
Ddas1800.c731 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()
Daddi_apci_3xxx.c384 unsigned int aref = CR_AREF(chanspec); in apci3xxx_ai_setup() local
403 ((aref == AREF_DIFF) << 7); in apci3xxx_ai_setup()
Dadl_pci9118.c303 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()
Drtd520.c420 unsigned int aref = CR_AREF(chanspec); in rtd_convert_chan_gain() local
440 switch (aref) { in rtd_convert_chan_gain()
Dcb_pcidas64.c1758 unsigned int channel, range, aref; in ai_rinsn() local
1764 aref = CR_AREF(insn->chanspec); in ai_rinsn()
1812 bits |= se_diff_bit_6xxx(dev, aref == AREF_DIFF); in ai_rinsn()
1813 if (aref == AREF_COMMON) in ai_rinsn()
2072 unsigned int aref = CR_AREF(cmd->chanlist[i]); in cb_pcidas64_ai_check_chanlist() local
2074 if (aref != aref0) { in cb_pcidas64_ai_check_chanlist()
Dni_mio_common.c1612 unsigned int chan, range, aref; in ni_m_series_load_channelgain_list() local
1642 aref = CR_AREF(list[i]); in ni_m_series_load_channelgain_list()
1648 switch (aref) { in ni_m_series_load_channelgain_list()
1711 unsigned int chan, range, aref; in ni_load_channelgain_list() local
1766 aref = CR_AREF(list[i]); in ni_load_channelgain_list()
1784 aref = AREF_DIFF; in ni_load_channelgain_list()
1786 aref = AREF_OTHER; in ni_load_channelgain_list()
1787 switch (aref) { in ni_load_channelgain_list()
/Linux-v4.19/drivers/staging/comedi/
Dcomedi.h56 #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-v4.19/drivers/media/dvb-frontends/
Dtda10021.c227 u8 conf, agcref, lthr, mseth, aref; member
294 _tda10021_writereg(state, 0x09, qam_params[qam].aref); in tda10021_set_parameters()
Dtda10023.c300 u8 qam, lockthr, mseth, aref, agcrefnyq, eragnyq_thd; member
358 tda10023_writereg(state, 0x09, qam_params[qam].aref); in tda10023_set_parameters()

12