Home
last modified time | relevance | path

Searched refs:nifc (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/dev/usb/
H A Dusb_subr.c692 int i, ifcidx, nifc, len, selfpowered, power; in usbd_set_config_index() local
706 nifc = dev->ud_cdesc->bNumInterface; in usbd_set_config_index()
707 for (ifcidx = 0; ifcidx < nifc; ifcidx++) { in usbd_set_config_index()
713 kmem_free(dev->ud_ifaces, nifc * sizeof(struct usbd_interface)); in usbd_set_config_index()
873 nifc = cdp->bNumInterface; in usbd_set_config_index()
874 if (nifc == 0) { in usbd_set_config_index()
879 dev->ud_ifaces = kmem_alloc(nifc * sizeof(struct usbd_interface), in usbd_set_config_index()
885 for (ifcidx = 0; ifcidx < nifc; ifcidx++) { in usbd_set_config_index()
898 nifc * sizeof(struct usbd_interface)); in usbd_set_config_index()
1836 int ifcidx, nifc; in usb_free_device() local
[all …]
/netbsd-src/usr.sbin/route6d/
H A Droute6d.c133 static int nifc; /* number of valid ifc's */ variable
554 nifc = 0; in init()
1340 nifc++; in ifconfig()
2718 fprintf(dump, " Number of interfaces: %d\n", nifc); in ifdump()