Home
last modified time | relevance | path

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

/drivers/peripheral/usb/ddk/host/include/
Dusb_ddk_device.h42 size_t descriptorsLength; member
/drivers/peripheral/usb/test/unittest/mock/src/
Dmock_linux_adapter.cpp140 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()
/drivers/peripheral/usb/ddk/host/src/
Dliteos_adapter.c283 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()
Dlinux_adapter.c225 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()
/drivers/peripheral/usb/hdi_service/src/
Dusb_impl.cpp1085 uint32_t length = handle->devHandle->dev->descriptorsLength; in GetRawDescriptor()