/drivers/peripheral/usb/test/unittest/mock/src/ |
D | mock_linux_adapter.cpp | 176 uint16_t configLen = LE16_TO_CPU(configDesc->wTotalLength); in OsParseConfigDescriptors() local 177 if (configLen < USB_DDK_DT_CONFIG_SIZE) { in OsParseConfigDescriptors() 178 HDF_LOGE("invalid wTotalLength value %u", configLen); 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() 187 dev->configDescriptors[i].actualLen = configLen; in OsParseConfigDescriptors() 188 buffer += configLen; in OsParseConfigDescriptors() 189 descLen -= configLen; in OsParseConfigDescriptors()
|
/drivers/peripheral/codec/hal/include/ |
D | codec_adapter_interface.h | 59 uint32_t configLen); 61 uint32_t configLen);
|
/drivers/peripheral/codec/hal/passthrough/include/ |
D | codec_adapter_if.h | 60 …nst struct CodecComponentNode *codecNode, OMX_INDEXTYPE index, int8_t *config, uint32_t configLen); 62 …ruct CodecComponentNode *codecNode, OMX_INDEXTYPE index, const int8_t *config, uint32_t configLen);
|
/drivers/peripheral/codec/hal/passthrough/adapter/include/ |
D | component_node.h | 35 int32_t GetConfig(OMX_INDEXTYPE index, int8_t *config, uint32_t configLen); 36 int32_t SetConfig(OMX_INDEXTYPE index, const int8_t *config, uint32_t configLen);
|
/drivers/peripheral/codec/hal/passthrough/src/ |
D | codec_adapter.cpp | 163 …onst struct CodecComponentNode *codecNode, OMX_INDEXTYPE index, int8_t *config, uint32_t configLen) in CodecAdapterGetConfig() argument 169 return codecNode->node->GetConfig(index, config, configLen); in CodecAdapterGetConfig() 173 …truct CodecComponentNode *codecNode, OMX_INDEXTYPE index, const int8_t *config, uint32_t configLen) in CodecAdapterSetConfig() argument 179 return codecNode->node->SetConfig(index, config, configLen); in CodecAdapterSetConfig()
|
/drivers/peripheral/codec/hal/v2.0/hdi_impl/include/ |
D | component_node.h | 48 int32_t GetConfig(OMX_INDEXTYPE index, int8_t *config, uint32_t configLen); 50 int32_t SetConfig(OMX_INDEXTYPE index, int8_t *config, uint32_t configLen);
|
/drivers/peripheral/codec/hal/src/ |
D | codec_adapter.cpp | 129 uint32_t configLen) in OmxAdapterGetConfig() argument 135 return codecNode->node->GetConfig(index, config, configLen); in OmxAdapterGetConfig() 139 uint32_t configLen) in OmxAdapterSetConfig() argument 145 return codecNode->node->SetConfig(index, config, configLen); in OmxAdapterSetConfig()
|
/drivers/peripheral/usb/ddk/host/src/ |
D | linux_adapter.c | 265 uint16_t configLen; in OsParseConfigDescriptors() local 277 configLen = LE16_TO_CPU(configDesc->wTotalLength); in OsParseConfigDescriptors() 278 if (configLen < USB_DDK_DT_CONFIG_SIZE) { in OsParseConfigDescriptors() 279 HDF_LOGE("invalid wTotalLength value %u", configLen); 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() 287 dev->configDescriptors[i].actualLen = configLen; in OsParseConfigDescriptors() 288 buffer += configLen; in OsParseConfigDescriptors() 289 descLen -= configLen; in OsParseConfigDescriptors()
|
D | liteos_adapter.c | 341 uint16_t configLen; in OsParseConfigDescriptors() local 353 configLen = LE16_TO_CPU(configDesc->wTotalLength); in OsParseConfigDescriptors() 354 if (configLen < USB_DDK_DT_CONFIG_SIZE) { in OsParseConfigDescriptors() 355 DPRINTFN(0, "invalid wTotalLength value %u\n", configLen); 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() 363 dev->configDescriptors[i].actualLen = configLen; in OsParseConfigDescriptors() 364 buffer += configLen; in OsParseConfigDescriptors() 365 descLen -= configLen; in OsParseConfigDescriptors()
|
D | usb_raw_api_library.c | 1173 uint16_t configLen; in RawGetConfigDescriptor() local 1191 configLen = LE16_TO_CPU(tmpConfig.desc.wTotalLength); in RawGetConfigDescriptor() 1192 buf = RawUsbMemAlloc(configLen); in RawGetConfigDescriptor() 1198 ret = GetConfigDescriptor(dev, configIndex, buf, configLen); in RawGetConfigDescriptor()
|
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/ |
D | component_node.cpp | 139 int32_t ComponentNode::GetConfig(OMX_INDEXTYPE index, int8_t *config, uint32_t configLen) in GetConfig() argument 145 (void)configLen; in GetConfig() 149 int32_t ComponentNode::SetConfig(OMX_INDEXTYPE index, int8_t *config, uint32_t configLen) in SetConfig() argument 155 (void)configLen; in SetConfig()
|
/drivers/peripheral/codec/hal/passthrough/adapter/src/ |
D | component_node.cpp | 171 int32_t ComponentNode::GetConfig(OMX_INDEXTYPE index, int8_t *config, uint32_t configLen) in GetConfig() argument 181 int32_t ComponentNode::SetConfig(OMX_INDEXTYPE index, const int8_t *config, uint32_t configLen) in SetConfig() argument
|