Searched refs:num_subdevices (Results 1 – 2 of 2) sorted by relevance
97 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices) in comedi_alloc_subdevices() argument102 if (num_subdevices < 1) in comedi_alloc_subdevices()105 s = kcalloc(num_subdevices, sizeof(*s), GFP_KERNEL); in comedi_alloc_subdevices()109 dev->n_subdevices = num_subdevices; in comedi_alloc_subdevices()111 for (i = 0; i < num_subdevices; ++i) { in comedi_alloc_subdevices()
1015 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices);