Home
last modified time | relevance | path

Searched refs:is_unipolar (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/comedi/drivers/
H A Ddt9812.c814 bool is_unipolar; in dt9812_auto_attach() local
833 is_unipolar = (devpriv->device == DT9812_DEVID_DT9812_2PT5); in dt9812_auto_attach()
863 s->range_table = is_unipolar ? &range_unipolar2_5 : &range_bipolar10; in dt9812_auto_attach()
872 s->range_table = is_unipolar ? &range_unipolar2_5 : &range_bipolar10; in dt9812_auto_attach()
881 s->readback[i] = is_unipolar ? 0x0000 : 0x0800; in dt9812_auto_attach()
H A Ddas1800.c944 bool is_unipolar = comedi_range_is_unipolar(s, range); in das1800_ai_insn_read() local
973 if (!is_unipolar) in das1800_ai_insn_read()