Home
last modified time | relevance | path

Searched refs:range_table_list (Results 1 – 12 of 12) sorted by relevance

/drivers/staging/comedi/drivers/
Dni_670x.c200 const struct comedi_lrange **range_table_list; in ni_670x_auto_attach() local
202 range_table_list = kmalloc_array(32, in ni_670x_auto_attach()
205 if (!range_table_list) in ni_670x_auto_attach()
207 s->range_table_list = range_table_list; in ni_670x_auto_attach()
209 range_table_list[i] = &range_bipolar10; in ni_670x_auto_attach()
210 range_table_list[16 + i] = &range_0_20mA; in ni_670x_auto_attach()
247 kfree(s->range_table_list); in ni_670x_detach()
Djr3_pci.c114 const struct comedi_lrange *range_table_list[8 * 7 + 2]; member
641 spriv->range_table_list[j + k * 8] = &spriv->range[j].l; in jr3_pci_alloc_spriv()
649 spriv->range_table_list[56] = &spriv->range[8].l; in jr3_pci_alloc_spriv()
650 spriv->range_table_list[57] = &spriv->range[8].l; in jr3_pci_alloc_spriv()
725 s->range_table_list = spriv->range_table_list; in jr3_pci_auto_attach()
Drti802.c99 s->range_table_list = devpriv->range_type_list; in rti802_attach()
Ddt2815.c165 s->range_table_list = devpriv->range_type_list; in dt2815_attach()
Drti800.c300 s->range_table_list = devpriv->ao_range_type_list; in rti800_attach()
Dpcl726.c364 s->range_table_list = devpriv->rangelist; in pcl726_attach()
Ddt2801.c601 s->range_table_list = devpriv->dac_range_types; in dt2801_attach()
Dni_atmio16d.c655 s->range_table_list = devpriv->ao_range_type_list; in atmio16d_attach()
/drivers/staging/comedi/
Drange.c68 } else if (s->range_table_list) { in do_rangeinfo_ioctl()
71 lr = s->range_table_list[chan]; in do_rangeinfo_ioctl()
120 else if (s->range_table_list && chan < s->n_chan) in comedi_check_chanlist()
121 range_len = s->range_table_list[chan]->length; in comedi_check_chanlist()
Dcomedidev.h176 const struct comedi_lrange *const *range_table_list; member
723 return s->range_table_list[chan]->range[range].min < 0; in comedi_chan_range_is_bipolar()
746 return s->range_table_list[chan]->range[range].min >= 0; in comedi_chan_range_is_unipolar()
769 return !!(s->range_table_list[chan]->range[range].flags & RF_EXTERNAL); in comedi_chan_range_is_external()
Ddrivers.c726 if (!s->range_table && !s->range_table_list) in __comedi_device_postconfig()
Dcomedi_fops.c1017 if (s->range_table_list) in do_subdinfo_ioctl()
1077 if (!s->range_table_list) in do_chaninfo_ioctl()
1083 (s->range_table_list[i]->length); in do_chaninfo_ioctl()