/src/sys/dev/usb/ |
uhidev.c | 181 int maxinpktsize, size, nrepid, repid, repsz; local in function:uhidev_attach 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++) 521 int nrepid = sc->sc_nrepid; local in function:uhidev_detach [all...] |
uhidev.c | 181 int maxinpktsize, size, nrepid, repid, repsz; local in function:uhidev_attach 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++) 521 int nrepid = sc->sc_nrepid; local in function:uhidev_detach [all...] |
uhidev.c | 181 int maxinpktsize, size, nrepid, repid, repsz; local in function:uhidev_attach 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++) 521 int nrepid = sc->sc_nrepid; local in function:uhidev_detach [all...] |
uhidev.c | 181 int maxinpktsize, size, nrepid, repid, repsz; local in function:uhidev_attach 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++) 521 int nrepid = sc->sc_nrepid; local in function:uhidev_detach [all...] |
uhidev.c | 181 int maxinpktsize, size, nrepid, repid, repsz; local in function:uhidev_attach 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++) 521 int nrepid = sc->sc_nrepid; local in function:uhidev_detach [all...] |