Lines Matching refs:intf
33 static void GetInterfaceInfo(const struct UsbInterfaceDescriptor *intf, struct UsbFnDeviceMgr *devM… in GetInterfaceInfo() argument
41 if (intf->bDescriptorType == USB_DDK_DT_INTERFACE && intf->bNumEndpoints > 0) { in GetInterfaceInfo()
47 info->index = intf->bInterfaceNumber; in GetInterfaceInfo()
48 info->interfaceClass = intf->bInterfaceClass; in GetInterfaceInfo()
49 info->subclass = intf->bInterfaceSubClass; in GetInterfaceInfo()
50 info->protocol = intf->bInterfaceProtocol; in GetInterfaceInfo()
51 info->numPipes = intf->bNumEndpoints; in GetInterfaceInfo()
57 g_epCnt += intf->bNumEndpoints; in GetInterfaceInfo()
65 struct UsbInterfaceDescriptor *intf = NULL; in CreateInterface() local
88 … intf = (struct UsbInterfaceDescriptor *)des->configs[i]->functions[j]->fsDescriptors[k]; in CreateInterface()
89 GetInterfaceInfo(intf, devMgr, fnCnt, des->configs[i]); in CreateInterface()
150 static uint32_t GetInterfaceNum(struct UsbDescriptorHeader **intf) in GetInterfaceNum() argument
155 for (i = 0; intf[i] != NULL; i++) { in GetInterfaceNum()
156 if (intf[i]->bDescriptorType == USB_DDK_DT_INTERFACE) { in GetInterfaceNum()
157 interface = (struct UsbInterfaceDescriptor *)intf[i]; in GetInterfaceNum()