Searched refs:range_table_list (Results 1 – 13 of 13) sorted by relevance
209 const struct comedi_lrange **range_table_list; in ni_670x_auto_attach() local211 range_table_list = kmalloc_array(32, in ni_670x_auto_attach()214 if (!range_table_list) in ni_670x_auto_attach()216 s->range_table_list = range_table_list; in ni_670x_auto_attach()218 range_table_list[i] = &range_bipolar10; in ni_670x_auto_attach()219 range_table_list[16 + i] = &range_0_20mA; in ni_670x_auto_attach()256 kfree(s->range_table_list); in ni_670x_detach()
343 const struct comedi_lrange **range_table_list = NULL; in serial2002_setup_subdevice() local359 kfree(s->range_table_list); in serial2002_setup_subdevice()361 s->range_table_list = NULL; in serial2002_setup_subdevice()365 range_table_list = kmalloc_array(s->n_chan, sizeof(*range), in serial2002_setup_subdevice()367 if (!range_table_list) in serial2002_setup_subdevice()369 s->range_table_list = range_table_list; in serial2002_setup_subdevice()375 if (range && range_table_list) { in serial2002_setup_subdevice()379 range_table_list[chan] = in serial2002_setup_subdevice()532 kfree(s->range_table_list); in serial2002_setup_subdevs()533 s->range_table_list = NULL; in serial2002_setup_subdevs()[all …]
119 const struct comedi_lrange *range_table_list[8 * 7 + 2]; member658 spriv->range_table_list[j + k * 8] = in jr3_pci_alloc_spriv()667 spriv->range_table_list[56] = (struct comedi_lrange *)&spriv->range[8]; in jr3_pci_alloc_spriv()668 spriv->range_table_list[57] = (struct comedi_lrange *)&spriv->range[8]; in jr3_pci_alloc_spriv()734 s->range_table_list = spriv->range_table_list; in jr3_pci_auto_attach()
108 s->range_table_list = devpriv->range_type_list; in rti802_attach()
174 s->range_table_list = devpriv->range_type_list; in dt2815_attach()
309 s->range_table_list = devpriv->ao_range_type_list; in rti800_attach()
373 s->range_table_list = devpriv->rangelist; in pcl726_attach()
600 s->range_table_list = devpriv->dac_range_types; in dt2801_attach()
664 s->range_table_list = devpriv->ao_range_type_list; in atmio16d_attach()
77 } else if (s->range_table_list) { in do_rangeinfo_ioctl()80 lr = s->range_table_list[chan]; in do_rangeinfo_ioctl()129 else if (s->range_table_list && chan < s->n_chan) in comedi_check_chanlist()130 range_len = s->range_table_list[chan]->length; in comedi_check_chanlist()
185 const struct comedi_lrange *const *range_table_list; member708 return s->range_table_list[chan]->range[range].min < 0; in comedi_chan_range_is_bipolar()731 return s->range_table_list[chan]->range[range].min >= 0; in comedi_chan_range_is_unipolar()754 return !!(s->range_table_list[chan]->range[range].flags & RF_EXTERNAL); in comedi_chan_range_is_external()
686 if (!s->range_table && !s->range_table_list) in __comedi_device_postconfig()
1017 if (s->range_table_list) in do_subdinfo_ioctl()1076 if (!s->range_table_list) in do_chaninfo_ioctl()1082 (s->range_table_list[i]->length); in do_chaninfo_ioctl()