Searched refs:num_subdevices (Results 1 – 1 of 1) sorted by relevance
64 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices) in comedi_alloc_subdevices() argument69 if (num_subdevices < 1) in comedi_alloc_subdevices()72 s = kcalloc(num_subdevices, sizeof(*s), GFP_KERNEL); in comedi_alloc_subdevices()76 dev->n_subdevices = num_subdevices; in comedi_alloc_subdevices()78 for (i = 0; i < num_subdevices; ++i) { in comedi_alloc_subdevices()