Home | History | Annotate | Download | only in usb

Lines Matching defs:nrepid

181 	int maxinpktsize, size, nrepid, repid, repsz;
380 nrepid = uhidev_maxrepid(desc, size);
381 if (nrepid < 0)
383 if (nrepid > 0)
384 aprint_normal_dev(self, "%d report ids\n", nrepid);
385 nrepid++;
386 repsizes = kmem_alloc(nrepid * sizeof(*repsizes), KM_SLEEP);
387 sc->sc_subdevs = kmem_zalloc(nrepid * sizeof(sc->sc_subdevs[0]),
392 sc->sc_nrepid = nrepid;
396 for (repid = 0; repid < nrepid; repid++) {
404 for (repid = 0; repid < nrepid; repid++) {
435 kmem_free(repsizes, nrepid * sizeof(*repsizes));
521 int nrepid = sc->sc_nrepid;
522 kmem_free(sc->sc_subdevs, nrepid * sizeof(sc->sc_subdevs[0]));