Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/usb/ddk/host/src/
H A Dusb_raw_api_library.c133 const struct UsbDescriptorHeader *header, uint8_t nIntf[], uint8_t nAlts[], int32_t *num) in GetInterfaceNumberDes() argument
147 if (nIntf[i] == inum) { in GetInterfaceNumberDes()
156 nIntf[*num] = inum; in GetInterfaceNumberDes()
162 static int32_t GetInterfaceNumber(const uint8_t *buffer, size_t size, uint8_t nIntf[], uint8_t nAlt… in GetInterfaceNumber() argument
182 GetInterfaceNumberDes(header, nIntf, nAlts, &num); in GetInterfaceNumber()
536 struct UsbRawInterface *usbInterface, const uint8_t *nIntf) in ParseConfigurationDes() argument
569 if (nIntf[i] == ifDesc->bInterfaceNumber) { in ParseConfigurationDes()
589 uint8_t nIntf[USB_MAXINTERFACES] = {0}; in ParseConfiguration() local
608 intfNum = GetInterfaceNumber(buffer, size, nIntf, nAlts); in ParseConfiguration()
628 return ParseConfigurationDes(config, buffer, size, usbInterface, nIntf); in ParseConfiguration()