/drivers/peripheral/usb/interfaces/ddk/common/ |
H A D | usb_ddk.h | 158 uint8_t bDescriptorType;
member 163 uint8_t bDescriptorType;
member 180 uint8_t bDescriptorType;
member 191 uint8_t bDescriptorType;
member 197 uint8_t bDescriptorType;
member 209 uint8_t bDescriptorType;
member 220 uint8_t bDescriptorType;
member 227 uint8_t bDescriptorType;
member 235 uint8_t bDescriptorType;
member 247 uint8_t bDescriptorType;
member 253 uint8_t bDescriptorType; global() member 260 uint8_t bDescriptorType; global() member 284 uint8_t bDescriptorType; global() member 316 uint8_t bDescriptorType; global() member 323 uint8_t bDescriptorType; global() member 334 uint8_t bDescriptorType; global() member 341 uint8_t bDescriptorType; global() member 349 uint8_t bDescriptorType; global() member 356 uint8_t bDescriptorType; global() member [all...] |
/drivers/peripheral/usb/test/unittest/device_sdk/ |
H A D | usb_device_cdcacm_test.cpp | 24 .bDescriptorType = USB_DDK_DT_INTERFACE_ASSOCIATION, 39 .bDescriptorType = USB_DDK_DT_INTERFACE, 55 .bDescriptorType = USB_DDK_DT_INTERFACE, 71 .bDescriptorType = USB_DDK_DT_CS_INTERFACE, 78 .bDescriptorType = USB_DDK_DT_CS_INTERFACE, 86 .bDescriptorType = USB_DDK_DT_CS_INTERFACE, 93 .bDescriptorType = USB_DDK_DT_CS_INTERFACE, 106 .bDescriptorType = USB_DDK_DT_ENDPOINT, 115 .bDescriptorType = USB_DDK_DT_ENDPOINT, 122 .bDescriptorType [all...] |
/drivers/peripheral/usb/hdi_service/include/ |
H A D | usbd_type.h | 142 uint8_t bDescriptorType;
member 147 uint8_t bDescriptorType;
member 164 uint8_t bDescriptorType;
member 175 uint8_t bDescriptorType;
member 187 uint8_t bDescriptorType;
member
|
/drivers/external_device_manager/interfaces/ddk/usb/ |
H A D | usb_ddk_types.h | 78 uint8_t bDescriptorType; member 116 uint8_t bDescriptorType; member 144 uint8_t bDescriptorType; member 171 uint8_t bDescriptorType; member
|
/drivers/external_device_manager/frameworks/ddk/usb/ |
H A D | usb_config_desc_parser.cpp | 26 uint8_t bDescriptorType; member 120 if (header->bDescriptorType == USB_DDK_DT_INTERFACE || header->bDescriptorType == USB_DDK_DT_ENDPOINT) { in FindNextDescriptor() 181 if ((header->bDescriptorType != USB_DDK_DT_ENDPOINT) || (header->bLength > size)) { in ParseEndpoint() 183 header->bDescriptorType, header->bLength); in ParseEndpoint() 209 int32_t size, const uint8_t *buffer, UsbDdkDescriptorType bDescriptorType, UsbDdkInterfaceDescriptor &ddkIntfDesc) in RawParseDescriptor() 212 ParseDescriptor(bDescriptorType, (uint8_t *)&ddkIntfDesc, sizeof(UsbInterfaceDescriptor), buffer, size); in RawParseDescriptor() 217 if ((ddkIntfDesc.interfaceDescriptor.bDescriptorType != USB_DDK_DT_INTERFACE) || in RawParseDescriptor() 220 ddkIntfDesc.interfaceDescriptor.bDescriptorType, size); in RawParseDescriptor() 311 if (header->bDescriptorType in GetInterfaceNumber() 208 RawParseDescriptor( int32_t size, const uint8_t *buffer, UsbDdkDescriptorType bDescriptorType, UsbDdkInterfaceDescriptor &ddkIntfDesc) RawParseDescriptor() argument [all...] |
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/ |
H A D | usb_device_lite_cdcacm_test.c | 16 .bDescriptorType = USB_DDK_DT_INTERFACE_ASSOCIATION, 31 .bDescriptorType = USB_DDK_DT_INTERFACE, 47 .bDescriptorType = USB_DDK_DT_INTERFACE, 63 .bDescriptorType = USB_DDK_DT_CS_INTERFACE, 70 .bDescriptorType = USB_DDK_DT_CS_INTERFACE, 78 .bDescriptorType = USB_DDK_DT_CS_INTERFACE, 85 .bDescriptorType = USB_DDK_DT_CS_INTERFACE, 98 .bDescriptorType = USB_DDK_DT_ENDPOINT, 107 .bDescriptorType = USB_DDK_DT_ENDPOINT, 114 .bDescriptorType [all...] |
/drivers/peripheral/usb/ddk/host/src/ |
H A D | usb_raw_api_library.c | 181 if (header->bDescriptorType == USB_DDK_DT_INTERFACE) { in GetInterfaceNumber() 196 if (h->bDescriptorType == USB_DDK_DT_INTERFACE || h->bDescriptorType == USB_DDK_DT_ENDPOINT) { in FindNextDescriptor() 248 static void ParseDescriptor(const void *source, enum UsbRawDescriptorType bDescriptorType, void *dest) in ParseDescriptor() argument 257 switch (bDescriptorType) { in ParseDescriptor() 296 HDF_LOGE("%{public}s: error bDescriptorType = %{public}d", __func__, bDescriptorType); in ParseDescriptor() 323 if ((header->bDescriptorType != USB_DDK_DT_ENDPOINT) || (header->bLength > size)) { in ParseEndpoint() 325 __func__, __LINE__, header->bDescriptorType, header->bLength); in ParseEndpoint() 405 static int32_t RawParseDescriptor(int32_t size, const uint8_t *buffer, enum UsbRawDescriptorType bDescriptorType, in RawParseDescriptor() argument [all...] |
H A D | liteos_adapter.c | 313 osDev->adapterDevice->cdesc->bDescriptorType); in OsReadDescriptors() 350 if ((configDesc->bDescriptorType != USB_DDK_DT_CONFIG) || (configDesc->bLength < USB_DDK_DT_CONFIG_SIZE)) { in OsParseConfigDescriptors() 352 configDesc->bDescriptorType, configDesc->bLength); in OsParseConfigDescriptors()
|
H A D | linux_adapter.c | 275 if ((configDesc->bDescriptorType != USB_DDK_DT_CONFIG) || (configDesc->bLength < USB_DDK_DT_CONFIG_SIZE)) { in OsParseConfigDescriptors() 277 __func__, __LINE__, configDesc->bDescriptorType, configDesc->bLength); in OsParseConfigDescriptors()
|
/drivers/peripheral/usb/ddk/device/src/ |
H A D | usbfn_cfg_mgr.c | 46 if (drsOps->GetUint8(devDescNode, DESC_TYPE, &devDesc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseDevDesc() 58 if (devDesc->bDescriptorType != USB_DDK_DT_DEVICE) { in UsbFnCfgMgrParseDevDesc() 266 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseAccocInterfaceDesc() 290 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseInterfaceDesc() 315 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseEndpointDesc() 345 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseStringDesc() 367 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseSspIsocEndpointDesc() 390 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseSsEndpointDesc() 413 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseQualifierDesc() 441 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, in UsbFnCfgMgrParseOtgDesc() [all...] |
H A D | usbfn_dev_mgr.c | 42 if (intf->bDescriptorType == USB_DDK_DT_INTERFACE && intf->bNumEndpoints > 0) { in GetInterfaceInfo() 157 if (intf[i]->bDescriptorType == USB_DDK_DT_INTERFACE) { in GetInterfaceNum()
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/ |
H A D | usb_dev_subscriber.cpp | 32 uint8_t bDescriptorType; member
|
/drivers/peripheral/usb/test/unittest/mock/src/ |
H A D | mock_linux_adapter.cpp | 170 if ((configDesc->bDescriptorType != USB_DDK_DT_CONFIG) || (configDesc->bLength < USB_DDK_DT_CONFIG_SIZE)) { in OsParseConfigDescriptors() 172 __func__, configDesc->bDescriptorType, configDesc->bLength); in OsParseConfigDescriptors()
|
/drivers/peripheral/usb/net/src/ |
H A D | usb_net_host.c | 846 HARCH_INFO_PRINT("bDescriptorType = %{public}d", tmpConfig->configDescriptor.bDescriptorType); in UsbnetHostPrintConfigDescriptor() 860 HARCH_INFO_PRINT("bDescriptorType = %{public}d", in UsbnetHostPrintConfigDescriptor() 861 tmpConfig->interface[i]->altsetting[j].endPoint[k].endpointDescriptor.bDescriptorType); in UsbnetHostPrintConfigDescriptor()
|