Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/comedi/drivers/
Dni_670x.c199 const struct comedi_lrange **range_table_list; in ni_670x_auto_attach() local
201 range_table_list = kmalloc_array(32, in ni_670x_auto_attach()
204 if (!range_table_list) in ni_670x_auto_attach()
206 s->range_table_list = range_table_list; in ni_670x_auto_attach()
208 range_table_list[i] = &range_bipolar10; in ni_670x_auto_attach()
209 range_table_list[16 + i] = &range_0_20mA; in ni_670x_auto_attach()
246 kfree(s->range_table_list); in ni_670x_detach()
Djr3_pci.c113 const struct comedi_lrange *range_table_list[8 * 7 + 2]; member
625 spriv->range_table_list[j + k * 8] = &spriv->range[j].l; in jr3_pci_alloc_spriv()
633 spriv->range_table_list[56] = &spriv->range[8].l; in jr3_pci_alloc_spriv()
634 spriv->range_table_list[57] = &spriv->range[8].l; in jr3_pci_alloc_spriv()
709 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.c167 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.c365 s->range_table_list = devpriv->rangelist; in pcl726_attach()
Ddt2801.c601 s->range_table_list = devpriv->dac_range_types; in dt2801_attach()
Dni_atmio16d.c644 s->range_table_list = devpriv->ao_range_type_list; in atmio16d_attach()
/linux-6.6.21/drivers/comedi/
Drange.c65 } else if (s->range_table_list) { in do_rangeinfo_ioctl()
68 lr = s->range_table_list[chan]; in do_rangeinfo_ioctl()
117 else if (s->range_table_list && chan < s->n_chan) in comedi_check_chanlist()
118 range_len = s->range_table_list[chan]->length; in comedi_check_chanlist()
Ddrivers.c725 if (!s->range_table && !s->range_table_list) in __comedi_device_postconfig()
Dcomedi_fops.c1023 if (s->range_table_list) in do_subdinfo_ioctl()
1080 if (!s->range_table_list) in do_chaninfo_ioctl()
1086 (s->range_table_list[i]->length); in do_chaninfo_ioctl()
/linux-6.6.21/include/linux/comedi/
Dcomedidev.h175 const struct comedi_lrange *const *range_table_list; member
722 return s->range_table_list[chan]->range[range].min < 0; in comedi_chan_range_is_bipolar()
745 return s->range_table_list[chan]->range[range].min >= 0; in comedi_chan_range_is_unipolar()
768 return !!(s->range_table_list[chan]->range[range].flags & RF_EXTERNAL); in comedi_chan_range_is_external()