Searched refs:range_table_list (Results 1 – 17 of 17) sorted by relevance
215 const struct comedi_lrange **range_table_list; in ni_670x_attach() local217 range_table_list = kmalloc(sizeof(struct comedi_lrange *) * 32, in ni_670x_attach()219 if (!range_table_list) in ni_670x_attach()221 s->range_table_list = range_table_list; in ni_670x_attach()223 range_table_list[i] = &range_bipolar10; in ni_670x_attach()224 range_table_list[16 + i] = &range_0_20mA; in ni_670x_attach()256 kfree(dev->subdevices[0].range_table_list); in ni_670x_detach()
614 const struct comedi_lrange **range_table_list = in serial_2002_open() local632 kfree(s->range_table_list); in serial_2002_open()634 s->range_table_list = NULL; in serial_2002_open()636 s->range_table_list = range_table_list = in serial_2002_open()641 if (!s->range_table_list) in serial_2002_open()654 range_table_list[chan] = in serial_2002_open()677 kfree(s->range_table_list); in serial_2002_open()678 s->range_table_list = NULL; in serial_2002_open()899 kfree(s->range_table_list); in serial2002_detach()
1478 const struct comedi_lrange **range_table_list; in pci224_attach() local1480 s->range_table_list = range_table_list = in pci224_attach()1483 if (!s->range_table_list) in pci224_attach()1498 range_table_list[n] = &range_pci234_ext; in pci224_attach()1500 range_table_list[n] = &range_bipolar5; in pci224_attach()1504 range_table_list[n] = in pci224_attach()1507 range_table_list[n] = &range_bipolar10; in pci224_attach()1575 kfree(s->range_table_list); in pci224_detach()
117 const struct comedi_lrange *range_table_list[8 * 7 + 2]; member882 p->range_table_list[j + k * 8] = in jr3_pci_attach()892 p->range_table_list[56] = in jr3_pci_attach()894 p->range_table_list[57] = in jr3_pci_attach()900 dev->subdevices[i].range_table_list = in jr3_pci_attach()901 p->range_table_list; in jr3_pci_attach()
142 s->range_table_list = devpriv->range_type_list; in rti802_attach()
218 s->range_table_list = devpriv->range_type_list; in dt2815_attach()
333 s->range_table_list = devpriv->rangelist; in pcl726_attach()
428 s->range_table_list = devpriv->ao_range_type_list; in rti800_attach()
488 s->range_table_list = devpriv->range_type_list; in dt2811_attach()
585 s->range_table_list = devpriv->dac_range_types; in dt2801_attach()
321 s->range_table_list = sdp->pci20006.ao_range_list; in pci20006_init()
836 s->range_table_list = devpriv->ao_range_type_list; in atmio16d_attach()
1420 s->range_table_list = devpriv->darangelist; in dt282x_attach()
74 } else if (s->range_table_list) { in do_rangeinfo_ioctl()77 lr = s->range_table_list[chan]; in do_rangeinfo_ioctl()148 } else if (s->range_table_list) { in comedi_check_chanlist()153 s->range_table_list[chan]->length in comedi_check_chanlist()
91 const struct comedi_lrange *const *range_table_list; member
474 if (s->range_table_list) in do_subdinfo_ioctl()541 if (!s->range_table_list) in do_chaninfo_ioctl()547 (s->range_table_list[i]->length); in do_chaninfo_ioctl()
279 if (!s->range_table && !s->range_table_list) in postconfig()