Home
last modified time | relevance | path

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

/linux-2.6.39/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.c619 const struct comedi_lrange **range_table_list = in serial_2002_open() local
638 kfree(s->range_table_list); in serial_2002_open()
640 s->range_table_list = NULL; in serial_2002_open()
642 s->range_table_list = range_table_list = in serial_2002_open()
647 if (!s->range_table_list) in serial_2002_open()
661 range_table_list[chan] = in serial_2002_open()
684 kfree(s->range_table_list); in serial_2002_open()
685 s->range_table_list = NULL; in serial_2002_open()
911 kfree(s->range_table_list); in serial2002_detach()
Damplc_pci224.c1481 const struct comedi_lrange **range_table_list; in pci224_attach() local
1483 s->range_table_list = range_table_list = in pci224_attach()
1486 if (!s->range_table_list) in pci224_attach()
1501 range_table_list[n] = &range_pci234_ext; in pci224_attach()
1503 range_table_list[n] = &range_bipolar5; in pci224_attach()
1507 range_table_list[n] = in pci224_attach()
1510 range_table_list[n] = &range_bipolar10; in pci224_attach()
1578 kfree(s->range_table_list); in pci224_detach()
Djr3_pci.c123 const struct comedi_lrange *range_table_list[8 * 7 + 2]; member
894 p->range_table_list[j + k * 8] = in jr3_pci_attach()
904 p->range_table_list[56] = in jr3_pci_attach()
906 p->range_table_list[57] = in jr3_pci_attach()
912 dev->subdevices[i].range_table_list = in jr3_pci_attach()
913 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.c1418 s->range_table_list = devpriv->darangelist; in dt282x_attach()
/linux-2.6.39/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.h94 const struct comedi_lrange *const *range_table_list; member
Dcomedi_fops.c466 if (s->range_table_list) in do_subdinfo_ioctl()
533 if (!s->range_table_list) in do_chaninfo_ioctl()
539 (s->range_table_list[i]->length); in do_chaninfo_ioctl()
Ddrivers.c280 if (!s->range_table && !s->range_table_list) in postconfig()