Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/comedi/drivers/
Dni_670x.c215 const struct comedi_lrange **range_table_list; in ni_670x_attach() local
217 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()
Dserial2002.c614 const struct comedi_lrange **range_table_list = in serial_2002_open() local
632 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()
Damplc_pci224.c1478 const struct comedi_lrange **range_table_list; in pci224_attach() local
1480 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()
Djr3_pci.c117 const struct comedi_lrange *range_table_list[8 * 7 + 2]; member
882 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()
Drti802.c142 s->range_table_list = devpriv->range_type_list; in rti802_attach()
Ddt2815.c218 s->range_table_list = devpriv->range_type_list; in dt2815_attach()
Dpcl726.c333 s->range_table_list = devpriv->rangelist; in pcl726_attach()
Drti800.c428 s->range_table_list = devpriv->ao_range_type_list; in rti800_attach()
Ddt2811.c488 s->range_table_list = devpriv->range_type_list; in dt2811_attach()
Ddt2801.c585 s->range_table_list = devpriv->dac_range_types; in dt2801_attach()
Dii_pci20kc.c321 s->range_table_list = sdp->pci20006.ao_range_list; in pci20006_init()
Dni_atmio16d.c836 s->range_table_list = devpriv->ao_range_type_list; in atmio16d_attach()
Ddt282x.c1420 s->range_table_list = devpriv->darangelist; in dt282x_attach()
/linux-3.4.99/drivers/staging/comedi/
Drange.c74 } 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()
Dcomedidev.h91 const struct comedi_lrange *const *range_table_list; member
Dcomedi_fops.c474 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()
Ddrivers.c279 if (!s->range_table && !s->range_table_list) in postconfig()