Home
last modified time | relevance | path

Searched refs:configLen (Results 1 – 12 of 12) sorted by relevance

/drivers/peripheral/usb/test/unittest/mock/src/
Dmock_linux_adapter.cpp176 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/
Dcodec_adapter_interface.h59 uint32_t configLen);
61 uint32_t configLen);
/drivers/peripheral/codec/hal/passthrough/include/
Dcodec_adapter_if.h60 …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/
Dcomponent_node.h35 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/
Dcodec_adapter.cpp163 …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/
Dcomponent_node.h48 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/
Dcodec_adapter.cpp129 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/
Dlinux_adapter.c265 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()
Dliteos_adapter.c341 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()
Dusb_raw_api_library.c1173 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/
Dcomponent_node.cpp139 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/
Dcomponent_node.cpp171 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