Searched refs:ifDes (Results 1 – 1 of 1) sorted by relevance
156 const struct UsbRawInterfaceDescriptor *ifDes, uint8_t idx) in UsbGetEpDesc() argument158 if (ifDes == NULL) { in UsbGetEpDesc()162 if (ifDes->interfaceDescriptor.bNumEndpoints < (idx + 1)) { in UsbGetEpDesc()163 …HDF_LOGE("%{public}s:invalid param numEp:%d+idx:%hhu\n", __func__, ifDes->interfaceDescriptor.bNum… in UsbGetEpDesc()168 return &ifDes->endPoint[idx]; in UsbGetEpDesc()172 const struct UsbRawInterfaceDescriptor *ifDes, const struct UsbSdkInterface *interfaceObj) in UsbProtocalCreatePipeObj() argument178 for (int32_t cnep = 0; cnep < ifDes->interfaceDescriptor.bNumEndpoints; cnep++) { in UsbProtocalCreatePipeObj()179 if (ifDes->interfaceDescriptor.bNumEndpoints > USB_MAXENDPOINTS) { in UsbProtocalCreatePipeObj()181 __func__, __LINE__, ifDes->interfaceDescriptor.bNumEndpoints); in UsbProtocalCreatePipeObj()185 ep = UsbGetEpDesc(ifDes, cnep); in UsbProtocalCreatePipeObj()[all …]