usb_subr.c | 692 int i, ifcidx, nifc, len, selfpowered, power; local in function:usbd_set_config_index 706 nifc = dev->ud_cdesc->bNumInterface; 707 for (ifcidx = 0; ifcidx < nifc; ifcidx++) { 713 kmem_free(dev->ud_ifaces, nifc * sizeof(struct usbd_interface)); 873 nifc = cdp->bNumInterface; 874 if (nifc == 0) { 879 dev->ud_ifaces = kmem_alloc(nifc * sizeof(struct usbd_interface), 885 for (ifcidx = 0; ifcidx < nifc; ifcidx++) { 898 nifc * sizeof(struct usbd_interface)); 1836 int ifcidx, nifc; local in function:usb_free_device [all...] |