Searched refs:descriptorsLength (Results 1 – 5 of 5) sorted by relevance
42 size_t descriptorsLength; member
140 dev->descriptorsLength = DESCRIPTORSLENGTH; in OsReadDescriptors()141 … if (memcpy_s(dev->descriptors, dev->descriptorsLength, g_buf.data(), DESCRIPTORSLENGTH) != EOK) { in OsReadDescriptors()162 size_t descLen = dev->descriptorsLength - USB_DDK_DT_DEVICE_SIZE; in OsParseConfigDescriptors()200 dev->descriptorsLength = 0; in OsInitDevice()
283 if ((dev->descriptors == NULL) || (dev->descriptorsLength > allocLen)) { in OsReadDescriptors()287 uint8_t *ptr = (uint8_t *)dev->descriptors + dev->descriptorsLength; in OsReadDescriptors()312 dev->descriptorsLength += count; in OsReadDescriptors()313 } while (dev->descriptorsLength == allocLen); in OsReadDescriptors()337 descLen = dev->descriptorsLength; in OsParseConfigDescriptors()423 dev->descriptorsLength = 0; in OsInitDevice()
225 uint8_t *ptr = (uint8_t *)dev->descriptors + dev->descriptorsLength; in OsReadDescriptors()236 dev->descriptorsLength += (size_t)len; in OsReadDescriptors()237 } while (dev->descriptorsLength == allocLen); in OsReadDescriptors()261 descLen = dev->descriptorsLength - USB_DDK_DT_DEVICE_SIZE; in OsParseConfigDescriptors()315 dev->descriptorsLength = 0; in OsInitDevice()
1085 uint32_t length = handle->devHandle->dev->descriptorsLength; in GetRawDescriptor()