n_subdevices 772 drivers/staging/comedi/comedi_fops.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 788 drivers/staging/comedi/comedi_fops.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 877 drivers/staging/comedi/comedi_fops.c if (bc.subdevice >= dev->n_subdevices) n_subdevices 939 drivers/staging/comedi/comedi_fops.c devinfo.n_subdevs = dev->n_subdevices; n_subdevices 982 drivers/staging/comedi/comedi_fops.c tmp = kcalloc(dev->n_subdevices, sizeof(*tmp), GFP_KERNEL); n_subdevices 987 drivers/staging/comedi/comedi_fops.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 1028 drivers/staging/comedi/comedi_fops.c ret = copy_to_user(arg, tmp, dev->n_subdevices * sizeof(*tmp)); n_subdevices 1059 drivers/staging/comedi/comedi_fops.c if (it.subdev >= dev->n_subdevices) n_subdevices 1119 drivers/staging/comedi/comedi_fops.c if (bi.subdevice >= dev->n_subdevices) n_subdevices 1347 drivers/staging/comedi/comedi_fops.c if (insn->subdev >= dev->n_subdevices) { n_subdevices 1396 drivers/staging/comedi/comedi_fops.c if (insn->subdev >= dev->n_subdevices) { n_subdevices 1683 drivers/staging/comedi/comedi_fops.c if (cmd->subdev >= dev->n_subdevices) { n_subdevices 1943 drivers/staging/comedi/comedi_fops.c if (arg >= dev->n_subdevices) n_subdevices 1976 drivers/staging/comedi/comedi_fops.c if (arg >= dev->n_subdevices) n_subdevices 2011 drivers/staging/comedi/comedi_fops.c if (arg >= dev->n_subdevices) n_subdevices 2045 drivers/staging/comedi/comedi_fops.c if (arg >= dev->n_subdevices) n_subdevices 2081 drivers/staging/comedi/comedi_fops.c if (arg >= dev->n_subdevices) n_subdevices 2124 drivers/staging/comedi/comedi_fops.c if (arg >= dev->n_subdevices) n_subdevices 2787 drivers/staging/comedi/comedi_fops.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 561 drivers/staging/comedi/comedidev.h int n_subdevices; n_subdevices 109 drivers/staging/comedi/drivers.c dev->n_subdevices = num_subdevices; n_subdevices 165 drivers/staging/comedi/drivers.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 178 drivers/staging/comedi/drivers.c dev->n_subdevices = 0; n_subdevices 704 drivers/staging/comedi/drivers.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 69 drivers/staging/comedi/drivers/8255.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 105 drivers/staging/comedi/drivers/8255.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 760 drivers/staging/comedi/drivers/addi_apci_3xxx.c int n_subdevices; n_subdevices 791 drivers/staging/comedi/drivers/addi_apci_3xxx.c n_subdevices = (board->ai_n_chan ? 0 : 1) + board->has_ao + n_subdevices 794 drivers/staging/comedi/drivers/addi_apci_3xxx.c ret = comedi_alloc_subdevices(dev, n_subdevices); n_subdevices 752 drivers/staging/comedi/drivers/adv_pci1710.c int ret, subdev, n_subdevices; n_subdevices 776 drivers/staging/comedi/drivers/adv_pci1710.c n_subdevices = 1; /* all boards have analog inputs */ n_subdevices 778 drivers/staging/comedi/drivers/adv_pci1710.c n_subdevices++; n_subdevices 784 drivers/staging/comedi/drivers/adv_pci1710.c n_subdevices += 3; n_subdevices 787 drivers/staging/comedi/drivers/adv_pci1710.c ret = comedi_alloc_subdevices(dev, n_subdevices); n_subdevices 787 drivers/staging/comedi/drivers/amplc_dio200_common.c for (n = 0; n < dev->n_subdevices; n++) { n_subdevices 298 drivers/staging/comedi/drivers/jr3_pci.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 432 drivers/staging/comedi/drivers/jr3_pci.c for (subdev = 0; subdev < dev->n_subdevices; subdev++) n_subdevices 595 drivers/staging/comedi/drivers/jr3_pci.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 713 drivers/staging/comedi/drivers/jr3_pci.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 730 drivers/staging/comedi/drivers/jr3_pci.c for (i = 0; i < dev->n_subdevices; i++) n_subdevices 757 drivers/staging/comedi/drivers/jr3_pci.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 445 drivers/staging/comedi/drivers/ni_660x.c for (i = 0; i < dev->n_subdevices; ++i) { n_subdevices 244 drivers/staging/comedi/drivers/ni_670x.c if (dev->n_subdevices) { n_subdevices 102 drivers/staging/comedi/drivers/pcl724.c int n_subdevices; n_subdevices 107 drivers/staging/comedi/drivers/pcl724.c n_subdevices = board->numofports; n_subdevices 113 drivers/staging/comedi/drivers/pcl724.c n_subdevices = 4; n_subdevices 120 drivers/staging/comedi/drivers/pcl724.c ret = comedi_alloc_subdevices(dev, n_subdevices); n_subdevices 124 drivers/staging/comedi/drivers/pcl724.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 1135 drivers/staging/comedi/drivers/pcl812.c int n_subdevices; n_subdevices 1181 drivers/staging/comedi/drivers/pcl812.c n_subdevices = 1; /* all boardtypes have analog inputs */ n_subdevices 1183 drivers/staging/comedi/drivers/pcl812.c n_subdevices++; n_subdevices 1185 drivers/staging/comedi/drivers/pcl812.c n_subdevices += 2; n_subdevices 1187 drivers/staging/comedi/drivers/pcl812.c ret = comedi_alloc_subdevices(dev, n_subdevices); n_subdevices 207 drivers/staging/comedi/drivers/pcm3724.c for (i = 0; i < dev->n_subdevices; i++) { n_subdevices 571 drivers/staging/comedi/drivers/pcmuio.c for (i = 0; i < dev->n_subdevices; ++i) { n_subdevices 81 drivers/staging/comedi/kcomedilib/kcomedilib_main.c if (insn->subdev >= dev->n_subdevices) { n_subdevices 218 drivers/staging/comedi/kcomedilib/kcomedilib_main.c for (; subd < dev->n_subdevices; subd++) { n_subdevices 235 drivers/staging/comedi/kcomedilib/kcomedilib_main.c if (!dev->attached || subdevice >= dev->n_subdevices) n_subdevices 41 drivers/staging/comedi/proc.c dev->board_name, dev->n_subdevices); n_subdevices 63 drivers/staging/comedi/range.c if (subd >= dev->n_subdevices)