Searched refs:n_subdevs (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | amplc_dio200.c | 362 unsigned short n_subdevs; /* number of subdevices */ member 371 .n_subdevs = 6, 381 .n_subdevs = 4, 389 .n_subdevs = 5, 398 .n_subdevs = 7, 409 .n_subdevs = 4, 1407 ret = alloc_subdevices(dev, layout->n_subdevs); in dio200_attach()
|
D | pcmuio.c | 290 int sdev_no, chans_left, n_subdevs, port, asic, thisasic_chanct = 0; in pcmuio_attach() local 335 n_subdevs = CALC_N_SUBDEVS(chans_left); in pcmuio_attach() 337 kcalloc(n_subdevs, sizeof(struct pcmuio_subdev_private), in pcmuio_attach() 350 if (alloc_subdevices(dev, n_subdevs) < 0) { in pcmuio_attach()
|
D | pcmmio.c | 366 int sdev_no, chans_left, n_dio_subdevs, n_subdevs, port, asic, in pcmmio_attach() local 416 n_subdevs = n_dio_subdevs + 2; in pcmmio_attach() 418 kcalloc(n_subdevs, sizeof(struct pcmmio_subdev_private), in pcmmio_attach() 431 if (alloc_subdevices(dev, n_subdevs) < 0) { in pcmmio_attach()
|
/linux-3.4.99/drivers/staging/comedi/ |
D | comedi.h | 411 unsigned int n_subdevs; member
|
D | comedi_fops.c | 393 devinfo.n_subdevs = dev->n_subdevices; in do_devinfo_ioctl()
|