/drivers/peripheral/usb/test/unittest/hal/src/ |
D | usbd_request_test.cpp | 110 uint8_t configIndex = INDEX_1; variable 112 auto ret = g_usbInterface->SetConfig(dev, configIndex); 126 uint8_t configIndex = INDEX_1; variable 128 auto ret = g_usbInterface->SetConfig(dev, configIndex); 142 uint8_t configIndex = INDEX_1; variable 144 auto ret = g_usbInterface->SetConfig(dev, configIndex); 158 uint8_t configIndex = INDEX_INVALID; variable 160 auto ret = g_usbInterface->SetConfig(dev, configIndex); 162 configIndex = INDEX_1; 163 ret = g_usbInterface->SetConfig(dev, configIndex); [all …]
|
/drivers/peripheral/usb/test/unittest/mock/src/ |
D | usbd_request_auto_test.cpp | 128 uint8_t configIndex = INDEX_1; variable 130 auto ret = g_usbInterface->SetConfig(dev, configIndex); 143 uint8_t configIndex = INDEX_1; variable 145 auto ret = g_usbInterface->SetConfig(dev, configIndex); 158 uint8_t configIndex = INDEX_1; variable 160 auto ret = g_usbInterface->SetConfig(dev, configIndex); 173 uint8_t configIndex = INDEX_INVALID; variable 175 auto ret = g_usbInterface->SetConfig(dev, configIndex); 177 configIndex = INDEX_1; 178 ret = g_usbInterface->SetConfig(dev, configIndex); [all …]
|
D | mock_linux_adapter.cpp | 283 int32_t FuncAdapterGetConfigDescriptor(const UsbDevice *dev, uint8_t configIndex, void *buffer, siz… in FuncAdapterGetConfigDescriptor() argument 287 …if (dev == nullptr || buffer == nullptr || (configIndex > dev->deviceDescriptor.bNumConfigurations… in FuncAdapterGetConfigDescriptor() 290 configIndex = 1; in FuncAdapterGetConfigDescriptor() 292 if (configIndex == dev->configDescriptors[i].desc->bConfigurationValue) { in FuncAdapterGetConfigDescriptor()
|
/drivers/peripheral/usb/interfaces/ddk/host/ |
D | usb_raw_api.h | 302 const UsbRawDevice *rawDev, uint8_t configIndex, struct UsbRawConfigDescriptor ** const config); 517 … const UsbRawHandle *rawHandle, uint8_t configIndex, uint8_t *configDesc, uint32_t configDescLen);
|
/drivers/peripheral/usb/test/unittest/mock/include/ |
D | mock_linux_adapter.h | 27 int32_t FuncAdapterGetConfigDescriptor(const UsbDevice *dev, uint8_t configIndex, void *buffer, siz…
|
/drivers/external_device_manager/interfaces/ddk/usb/ |
D | usb_ddk_api.h | 92 uint64_t deviceId, uint8_t configIndex, struct UsbDdkConfigDescriptor ** const config);
|
/drivers/peripheral/usb/ddk_service/include/ |
D | usb_ddk_service.h | 37 …int32_t GetConfigDescriptor(uint64_t deviceId, uint8_t configIndex, std::vector<uint8_t> &configDe…
|
/drivers/peripheral/usb/interfaces/ddk/device/ |
D | usbfn_interface.h | 190 uint8_t configIndex; member
|
/drivers/peripheral/usb/test/benchmarktest/ |
D | usb_benchmark_request_test.cpp | 113 uint8_t configIndex = INDEX_1; in BENCHMARK_F() local 117 ret = g_usbInterface->SetConfig(g_dev, configIndex); in BENCHMARK_F() 137 uint8_t configIndex = INDEX_1; in BENCHMARK_F() local 141 ret = g_usbInterface->GetConfig(g_dev, configIndex); in BENCHMARK_F()
|
/drivers/external_device_manager/test/unittest/bus_extension_usb_test/include/ |
D | usb_impl_mock.h | 64 MOCK_METHOD2(SetConfig, int32_t(const UsbDev &dev, uint8_t configIndex)); 65 MOCK_METHOD2(GetConfig, int32_t(const UsbDev &dev, uint8_t &configIndex));
|
/drivers/external_device_manager/frameworks/ddk/usb/ |
D | usb_ddk_api.cpp | 75 uint64_t deviceId, uint8_t configIndex, struct UsbDdkConfigDescriptor ** const config) in OH_Usb_GetConfigDescriptor() argument 86 int32_t ret = g_ddk->GetConfigDescriptor(deviceId, configIndex, configDescriptor); in OH_Usb_GetConfigDescriptor()
|
/drivers/peripheral/usb/ddk/host/include/ |
D | liteos_adapter.h | 97 …int32_t (*getConfigDescriptor)(const struct UsbDevice *device, uint8_t configIndex, void *buffer, …
|
D | linux_adapter.h | 118 …int32_t (*getConfigDescriptor)(const struct UsbDevice *device, uint8_t configIndex, void *buffer, …
|
D | usb_raw_api_library.h | 113 int32_t RawGetConfigDescriptor(const struct UsbDevice *dev, uint8_t configIndex,
|
/drivers/peripheral/usb/ddk_service/src/ |
D | usb_ddk_service.cpp | 145 int32_t UsbDdkService::GetConfigDescriptor(uint64_t deviceId, uint8_t configIndex, std::vector<uint… in GetConfigDescriptor() argument 155 …rawHandle, configIndex, reinterpret_cast<uint8_t *>(&tmpDesc), sizeof(struct UsbConfigDescriptor)); in GetConfigDescriptor() 163 ret = GetRawConfigDescriptor(rawHandle, configIndex, tmpBuffer.data(), tmpDesc.wTotalLength); in GetConfigDescriptor()
|
/drivers/peripheral/usb/ddk/host/src/ |
D | usb_raw_api.c | 83 const UsbRawDevice *rawDev, uint8_t configIndex, struct UsbRawConfigDescriptor ** const config) in UsbRawGetConfigDescriptor() argument 90 return RawGetConfigDescriptor((const struct UsbDevice *)rawDev, configIndex, config); in UsbRawGetConfigDescriptor()
|
D | usb_raw_api_library.c | 236 const UsbRawHandle *rawHandle, uint8_t configIndex, uint8_t *configDesc, uint32_t configDescLen) in GetRawConfigDescriptor() argument 244 return GetConfigDescriptor(devHandle->dev, configIndex, configDesc, configDescLen); in GetRawConfigDescriptor() 1169 const struct UsbDevice *dev, uint8_t configIndex, struct UsbRawConfigDescriptor ** const config) in RawGetConfigDescriptor() argument 1181 if (configIndex > dev->deviceDescriptor.bNumConfigurations) { in RawGetConfigDescriptor() 1186 ret = GetConfigDescriptor(dev, configIndex, tmpConfig.buf, sizeof(tmpConfig.buf)); in RawGetConfigDescriptor() 1198 ret = GetConfigDescriptor(dev, configIndex, buf, configLen); in RawGetConfigDescriptor()
|
D | linux_adapter.c | 980 static int32_t AdapterGetConfigDescriptor(const struct UsbDevice *dev, uint8_t configIndex, void *b… in AdapterGetConfigDescriptor() argument 985 if (dev == NULL || buffer == NULL || (configIndex > dev->deviceDescriptor.bNumConfigurations)) { in AdapterGetConfigDescriptor() 991 if (configIndex == dev->configDescriptors[i].desc->bConfigurationValue) { in AdapterGetConfigDescriptor()
|
D | liteos_adapter.c | 1185 static int32_t AdapterGetConfigDescriptor(const struct UsbDevice *dev, uint8_t configIndex, void *b… in AdapterGetConfigDescriptor() argument
|
/drivers/peripheral/usb/hdi_service/include/ |
D | usb_impl.h | 53 int32_t SetConfig(const UsbDev &dev, uint8_t configIndex) override; 54 int32_t GetConfig(const UsbDev &dev, uint8_t &configIndex) override;
|
/drivers/peripheral/usb/hdi_service/src/ |
D | usb_impl.cpp | 1106 int32_t UsbImpl::SetConfig(const UsbDev &dev, uint8_t configIndex) in SetConfig() argument 1124 if (configIndex == configIdOld) { in SetConfig() 1126 configIndex, configIdOld); in SetConfig() 1131 …MakeSetActiveUsbControlParams(&controlParams, &configIndex, length, static_cast<int32_t>(configInd… in SetConfig() 1141 if (ret != HDF_SUCCESS || configIndex != configIdNew) { in SetConfig() 1145 if (configIndex != 0) { in SetConfig() 1155 int32_t UsbImpl::GetConfig(const UsbDev &dev, uint8_t &configIndex) in GetConfig() argument 1165 MakeGetActiveUsbControlParams(&controlParams, &configIndex, length, 0, 0); in GetConfig()
|
/drivers/interface/usb/ddk/v1_0/ |
D | IUsbDdk.idl | 75 …* @param configIndex Configuration index, which corresponds to <b>bConfigurationValue</b> in the U… 82 …GetConfigDescriptor([in] unsigned long deviceId, [in] unsigned char configIndex, [out] List<unsign…
|
/drivers/interface/usb/v1_0/ |
D | IUsbInterface.idl | 137 * @param configIndex Indicates the configuration information of the USB device. 142 SetConfig([in] struct UsbDev dev, [in] unsigned char configIndex); 148 * @param configIndex Indicates the configuration information of the USB device. 153 GetConfig([in] struct UsbDev dev, [out] unsigned char configIndex);
|
/drivers/peripheral/usb/ddk/device/src/ |
D | usbfn_dev_mgr.c | 52 info->configIndex = config->configurationValue; in GetInterfaceInfo()
|
/drivers/peripheral/usb/gadget/function/mtp/src/ |
D | usbfn_mtp_impl.cpp | 698 …e->info.interfaceClass, fnIface->info.subclass, fnIface->info.protocol, fnIface->info.configIndex); in UsbMtpDeviceParseEachPipe() 754 … iface->info.configIndex, iface->info.interfaceClass, iface->info.subclass, iface->info.protocol); in UsbFnInterfaceIsUsbMtpPtpDevice()
|