Searched refs:is_unipolar (Results 1 – 2 of 2) sorted by relevance
814 bool is_unipolar; in dt9812_auto_attach() local833 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()
944 bool is_unipolar = comedi_range_is_unipolar(s, range); in das1800_ai_insn_read() local973 if (!is_unipolar) in das1800_ai_insn_read()