Lines Matching refs:ifc
150 struct usb_interface_descriptor *ifc; in filter_usb_device() local
222 ifc = (struct usb_interface_descriptor *)ptr; in filter_usb_device()
223 len -= ifc->bLength; in filter_usb_device()
224 ptr += ifc->bLength; in filter_usb_device()
228 info.ifc_class = ifc->bInterfaceClass; in filter_usb_device()
229 info.ifc_subclass = ifc->bInterfaceSubClass; in filter_usb_device()
230 info.ifc_protocol = ifc->bInterfaceProtocol; in filter_usb_device()
232 for(e = 0; e < ifc->bNumEndpoints; e++) { in filter_usb_device()
270 sysfs_name, sysfs_name, ifc->bInterfaceNumber); in filter_usb_device()
278 *ifc_id = ifc->bInterfaceNumber; in filter_usb_device()
350 int n, in, out, ifc; in find_usb_device() local
377 if (filter_usb_device(de->d_name, desc, n, writable, callback, &in, &out, &ifc) == 0) { in find_usb_device()
384 n = ioctl(fd, USBDEVFS_CLAIMINTERFACE, &ifc); in find_usb_device()