Searched refs:num_subdevices (Results 1 – 2 of 2) sorted by relevance
96 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices) in comedi_alloc_subdevices() argument101 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()
1014 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices);