Searched refs:descriptorType (Results 1 - 1 of 1) sorted by relevance
/drivers/external_device_manager/frameworks/ddk/usb/ |
H A D | usb_config_desc_parser.cpp | 54 static int32_t GetDescriptorLength(UsbDdkDescriptorType descriptorType) in GetDescriptorLength() argument 56 switch (descriptorType) { in GetDescriptorLength() 64 EDM_LOGE(MODULE_USB_DDK, "invalid descriptorType:%{public}d", descriptorType); in GetDescriptorLength() 70 UsbDdkDescriptorType descriptorType, uint8_t *dest, uint32_t destLen, const uint8_t *source, int32_t sourceLen) in ParseDescriptor() 78 int32_t descriptorLen = GetDescriptorLength(descriptorType); in ParseDescriptor() 84 EDM_LOGE(MODULE_USB_DDK, "invalid sourceLen:%{public}u, descriptorType:%{public}d", sourceLen, descriptorType); in ParseDescriptor() 94 switch (descriptorType) { in ParseDescriptor() 108 EDM_LOGE(MODULE_USB_DDK, "invalid descriptorType in ParseDescriptor() 69 ParseDescriptor( UsbDdkDescriptorType descriptorType, uint8_t *dest, uint32_t destLen, const uint8_t *source, int32_t sourceLen) ParseDescriptor() argument [all...] |
Completed in 1 milliseconds