/linux-6.1.9/drivers/comedi/drivers/ |
D | ni_labpc_common.c | 123 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 …]
|
D | das6402.c | 210 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()
|
D | ni_daq_700.c | 138 unsigned int aref = CR_AREF(insn->chanspec); in daq700_ai_rinsn() local 143 if (aref == AREF_DIFF) in daq700_ai_rinsn()
|
D | me4000.c | 466 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()
|
D | pcmmio.c | 396 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()
|
D | adv_pci1710.c | 202 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()
|
D | icp_multi.c | 107 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()
|
D | me_daq.c | 235 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()
|
D | amplc_pci230.c | 726 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()
|
D | dt3000.c | 456 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()
|
D | ni_at_a2150.c | 372 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()
|
D | cb_das16_cs.c | 145 int aref = CR_AREF(insn->chanspec); in das16cs_ai_insn_read() local 155 if (aref == AREF_DIFF) in das16cs_ai_insn_read()
|
D | pcl711.c | 213 unsigned int aref = CR_AREF(chanspec); in pcl711_set_changain() local 220 if (aref == AREF_DIFF) { in pcl711_set_changain()
|
D | pcmuio.c | 392 unsigned int aref = CR_AREF(chanspec); in pcmuio_start_intr() local 395 pol_bits |= ((aref || range) ? 1 : 0) << chan; in pcmuio_start_intr()
|
D | quatech_daqp_cs.c | 266 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()
|
D | adl_pci9111.c | 211 unsigned int aref = CR_AREF(cmd->chanlist[i]); in pci9111_ai_check_chanlist() local 225 if (aref != aref0) { in pci9111_ai_check_chanlist()
|
D | das1800.c | 729 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()
|
D | addi_apci_3xxx.c | 383 unsigned int aref = CR_AREF(chanspec); in apci3xxx_ai_setup() local 402 ((aref == AREF_DIFF) << 7); in apci3xxx_ai_setup()
|
D | adl_pci9118.c | 302 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()
|
D | rtd520.c | 419 unsigned int aref = CR_AREF(chanspec); in rtd_convert_chan_gain() local 439 switch (aref) { in rtd_convert_chan_gain()
|
D | cb_pcidas64.c | 1752 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()
|
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-6.1.9/include/uapi/linux/ |
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-6.1.9/drivers/media/dvb-frontends/ |
D | tda10021.c | 225 u8 conf, agcref, lthr, mseth, aref; member 292 _tda10021_writereg(state, 0x09, qam_params[qam].aref); in tda10021_set_parameters()
|
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()
|