Searched refs:descLen (Results 1 – 7 of 7) sorted by relevance
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
D | devmgr_dump.c | 351 const uint32_t descLen = 128; in DevMgrQueryUserDevice() local 352 char desc[descLen]; in DevMgrQueryUserDevice() 383 const uint32_t descLen = 128; in DevMgrQueryUserService() local 384 char desc[descLen]; in DevMgrQueryUserService() 416 const uint32_t descLen = 128; in DevMgrQueryKernelDevice() local 417 char desc[descLen]; in DevMgrQueryKernelDevice() 447 const uint32_t descLen = 128; in DevMgrQueryKernelService() local 448 char desc[descLen]; in DevMgrQueryKernelService()
|
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
D | hdf_audio_pnp_uevent.c | 95 size_t descLen; member 132 if (usbDevice->descLen > USB_DES_LEN_MAX) { in CheckUsbDesc() 136 for (size_t len = 0; len < usbDevice->descLen;) { in CheckUsbDesc() 137 size_t descLen = usbDevice->desc[len]; in CheckUsbDesc() local 138 if (descLen == 0) { in CheckUsbDesc() 143 if (descLen < USB_IF_DESC_LEN) { in CheckUsbDesc() 144 len += descLen; in CheckUsbDesc() 150 len += descLen; in CheckUsbDesc() 164 len += descLen; in CheckUsbDesc() 213 usbDevice.descLen = len; in ReadAndScanUsbDev()
|
/drivers/peripheral/usb/test/unittest/mock/src/ |
D | mock_linux_adapter.cpp | 162 size_t descLen = dev->descriptorsLength - USB_DDK_DT_DEVICE_SIZE; in OsParseConfigDescriptors() local 164 if (descLen < USB_DDK_DT_CONFIG_SIZE) { in OsParseConfigDescriptors() 165 HDF_LOGE("%{public}s: read %zu", __func__, descLen); in OsParseConfigDescriptors() 182 if (configLen > descLen) { in OsParseConfigDescriptors() 183 HDF_LOGI("%{public}s: read %zu/%u", __func__, descLen, configLen); in OsParseConfigDescriptors() 184 configLen = static_cast<uint16_t>(descLen); in OsParseConfigDescriptors() 189 descLen -= configLen; in OsParseConfigDescriptors()
|
/drivers/hdf_core/framework/model/audio/usb/include/ |
D | audio_usb_validate_desc.h | 27 void *AudioUsbFindDesc(void *descStart, int32_t descLen, void *after, uint8_t dtype);
|
/drivers/peripheral/usb/ddk/host/src/ |
D | linux_adapter.c | 248 size_t descLen; in OsParseConfigDescriptors() local 261 descLen = dev->descriptorsLength - USB_DDK_DT_DEVICE_SIZE; in OsParseConfigDescriptors() 267 if (descLen < USB_DDK_DT_CONFIG_SIZE) { in OsParseConfigDescriptors() 268 HDF_LOGE("%{public}s:%d read %zu", __func__, __LINE__, descLen); in OsParseConfigDescriptors() 282 if (configLen > descLen) { in OsParseConfigDescriptors() 283 HDF_LOGD("%{public}s:%d read %zu/%u", __func__, __LINE__, descLen, configLen); in OsParseConfigDescriptors() 284 configLen = (uint16_t)descLen; in OsParseConfigDescriptors() 289 descLen -= configLen; in OsParseConfigDescriptors()
|
D | liteos_adapter.c | 323 size_t descLen; in OsParseConfigDescriptors() local 337 descLen = dev->descriptorsLength; in OsParseConfigDescriptors() 343 if (descLen < USB_DDK_DT_CONFIG_SIZE) { in OsParseConfigDescriptors() 344 DPRINTFN(0, "%s:%d read %zu", __func__, __LINE__, descLen); in OsParseConfigDescriptors() 358 if (configLen > descLen) { in OsParseConfigDescriptors() 359 DPRINTFN(0, "%s:%d read %zu/%u\n", __func__, __LINE__, descLen, configLen); in OsParseConfigDescriptors() 360 configLen = (uint16_t)descLen; in OsParseConfigDescriptors() 365 descLen -= configLen; in OsParseConfigDescriptors()
|
/drivers/hdf_core/framework/model/audio/usb/src/ |
D | audio_usb_validate_desc.c | 118 void *AudioUsbFindDesc(void *descStart, int32_t descLen, void *after, uint8_t descType) in AudioUsbFindDesc() argument 129 end = start + descLen; in AudioUsbFindDesc()
|