Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/comedi/drivers/
Dni_labpc_common.c123 unsigned int aref) in labpc_ai_set_chan_and_gain() argument
139 aref == AREF_DIFF) in labpc_ai_set_chan_and_gain()
152 unsigned int aref, in labpc_setup_cmd6_reg() argument
162 if (aref != AREF_GROUND) in labpc_setup_cmd6_reg()
232 unsigned int aref = CR_AREF(insn->chanspec); in labpc_ai_insn_read() local
239 labpc_ai_set_chan_and_gain(dev, MODE_SINGLE_CHAN, chan, range, aref); in labpc_ai_insn_read()
242 range, aref, false); in labpc_ai_insn_read()
248 if (aref == AREF_DIFF) in labpc_ai_insn_read()
452 unsigned int aref = CR_AREF(cmd->chanlist[i]); in labpc_ai_check_chanlist() local
486 if (aref != aref0) { in labpc_ai_check_chanlist()
[all …]
Ddas6402.c210 unsigned int aref = CR_AREF(chanspec); in das6402_ai_set_mode() local
213 if (aref == AREF_GROUND) in das6402_ai_set_mode()
258 unsigned int aref = CR_AREF(cmd->chanlist[i]); in das6402_ai_check_chanlist() local
272 if (aref != aref0) { in das6402_ai_check_chanlist()
382 unsigned int aref = CR_AREF(insn->chanspec); in das6402_ai_insn_read() local
386 if (aref == AREF_DIFF && chan > (s->n_chan / 2)) in das6402_ai_insn_read()
Dni_daq_700.c138 unsigned int aref = CR_AREF(insn->chanspec); in daq700_ai_rinsn() local
143 if (aref == AREF_DIFF) in daq700_ai_rinsn()
Dme4000.c466 unsigned int aref = CR_AREF(insn->chanspec); in me4000_ai_insn_read() local
472 if (aref == AREF_DIFF) { in me4000_ai_insn_read()
543 unsigned int aref = CR_AREF(cmd->chanlist[i]); in me4000_ai_check_chanlist() local
545 if (aref != aref0) { in me4000_ai_check_chanlist()
551 if (aref == AREF_DIFF) { in me4000_ai_check_chanlist()
635 unsigned int aref = CR_AREF(cmd->chanlist[i]); in me4000_ai_write_chanlist() local
640 if (aref == AREF_DIFF) in me4000_ai_write_chanlist()
Dpcmmio.c396 unsigned int aref = CR_AREF(chanspec); in pcmmio_start_intr() local
399 pol_bits |= (((aref || range) ? 1 : 0) << chan); in pcmmio_start_intr()
537 unsigned int aref = CR_AREF(insn->chanspec); in pcmmio_ai_insn_read() local
563 if (aref == AREF_GROUND) in pcmmio_ai_insn_read()
Dadv_pci1710.c202 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci1710_ai_check_chanlist() local
207 if (aref == AREF_DIFF && (chan & 1)) { in pci1710_ai_check_chanlist()
224 last_aref = aref; in pci1710_ai_check_chanlist()
260 unsigned int aref = CR_AREF(chanlist[i]); in pci1710_ai_setup_chanlist() local
263 if (aref == AREF_DIFF) in pci1710_ai_setup_chanlist()
Dicp_multi.c107 unsigned int aref = CR_AREF(insn->chanspec); in icp_multi_ai_insn_read() local
113 if (aref == AREF_DIFF) { in icp_multi_ai_insn_read()
Dme_daq.c235 unsigned int aref = CR_AREF(insn->chanspec); in me_ai_insn_read() local
244 if (aref & AREF_DIFF) { in me_ai_insn_read()
263 if (aref & AREF_DIFF) in me_ai_insn_read()
Damplc_pci230.c726 unsigned int chan, range, aref; in pci230_ai_insn_read() local
734 aref = CR_AREF(insn->chanspec); in pci230_ai_insn_read()
735 if (aref == AREF_DIFF) { in pci230_ai_insn_read()
755 if (aref == AREF_DIFF) { in pci230_ai_insn_read()
1418 unsigned int aref = CR_AREF(chanspec); in pci230_ai_check_chanlist() local
1421 if (aref == AREF_DIFF && chan >= max_diff_chan) { in pci230_ai_check_chanlist()
1444 if (aref != prev_aref) { in pci230_ai_check_chanlist()
1458 if (aref != AREF_DIFF && range != prev_range && in pci230_ai_check_chanlist()
1468 prev_aref = aref; in pci230_ai_check_chanlist()
Ddt3000.c456 unsigned int chan, range, aref; in dt3k_ai_cmd() local
466 aref = CR_AREF(cmd->chanlist[0]); in dt3k_ai_cmd()
484 writew((aref == AREF_DIFF) ? DPR_PARAM6_AD_DIFF : 0, in dt3k_ai_cmd()
Dni_at_a2150.c372 unsigned int aref = CR_AREF(cmd->chanlist[i]); in a2150_ai_check_chanlist() local
381 aref0 = aref; in a2150_ai_check_chanlist()
382 if (aref != aref0) { in a2150_ai_check_chanlist()
Dcb_das16_cs.c145 int aref = CR_AREF(insn->chanspec); in das16cs_ai_insn_read() local
155 if (aref == AREF_DIFF) in das16cs_ai_insn_read()
Dpcl711.c213 unsigned int aref = CR_AREF(chanspec); in pcl711_set_changain() local
220 if (aref == AREF_DIFF) { in pcl711_set_changain()
Dpcmuio.c392 unsigned int aref = CR_AREF(chanspec); in pcmuio_start_intr() local
395 pol_bits |= ((aref || range) ? 1 : 0) << chan; in pcmuio_start_intr()
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()
Dadl_pci9111.c211 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci9111_ai_check_chanlist() local
225 if (aref != aref0) { in pci9111_ai_check_chanlist()
Ddas1800.c729 unsigned int aref = CR_AREF(chanspec); in das1800_ai_chanspec_bits() local
733 if (aref != AREF_DIFF) in das1800_ai_chanspec_bits()
735 if (aref == AREF_COMMON) in das1800_ai_chanspec_bits()
Daddi_apci_3xxx.c383 unsigned int aref = CR_AREF(chanspec); in apci3xxx_ai_setup() local
402 ((aref == AREF_DIFF) << 7); in apci3xxx_ai_setup()
Dadl_pci9118.c302 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci9118_ai_check_chanlist() local
304 if (aref != aref0) { in pci9118_ai_check_chanlist()
315 if (!devpriv->usemux && aref == AREF_DIFF && in pci9118_ai_check_chanlist()
Drtd520.c419 unsigned int aref = CR_AREF(chanspec); in rtd_convert_chan_gain() local
439 switch (aref) { in rtd_convert_chan_gain()
Dcb_pcidas64.c1752 unsigned int channel, range, aref; in ai_rinsn() local
1758 aref = CR_AREF(insn->chanspec); in ai_rinsn()
1806 bits |= se_diff_bit_6xxx(dev, aref == AREF_DIFF); in ai_rinsn()
1807 if (aref == AREF_COMMON) in ai_rinsn()
2066 unsigned int aref = CR_AREF(cmd->chanlist[i]); in cb_pcidas64_ai_check_chanlist() local
2068 if (aref != aref0) { in cb_pcidas64_ai_check_chanlist()
Dni_mio_common.c1611 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-6.1.9/include/uapi/linux/
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-6.1.9/drivers/media/dvb-frontends/
Dtda10021.c225 u8 conf, agcref, lthr, mseth, aref; member
292 _tda10021_writereg(state, 0x09, qam_params[qam].aref); in tda10021_set_parameters()
Dtda10023.c288 u8 qam, lockthr, mseth, aref, agcrefnyq, eragnyq_thd; member
346 tda10023_writereg(state, 0x09, qam_params[qam].aref); in tda10023_set_parameters()

12