Home
last modified time | relevance | path

Searched refs:num_subdevices (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/comedi/
Ddrivers.c96 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices) in comedi_alloc_subdevices() argument
101 if (num_subdevices < 1) in comedi_alloc_subdevices()
104 s = kcalloc(num_subdevices, sizeof(*s), GFP_KERNEL); in comedi_alloc_subdevices()
108 dev->n_subdevices = num_subdevices; in comedi_alloc_subdevices()
110 for (i = 0; i < num_subdevices; ++i) { in comedi_alloc_subdevices()
/linux-6.1.9/include/linux/comedi/
Dcomedidev.h1014 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices);