/ohos5.0/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 [all …]
|
/ohos5.0/drivers/peripheral/usb/test/unittest/device_sdk/ |
H A D | usb_device_cdcacm_test.cpp | 39 .bDescriptorType = USB_DDK_DT_INTERFACE, 55 .bDescriptorType = USB_DDK_DT_INTERFACE, 106 .bDescriptorType = USB_DDK_DT_ENDPOINT, 115 .bDescriptorType = USB_DDK_DT_ENDPOINT, 122 .bDescriptorType = USB_DDK_DT_ENDPOINT, 143 .bDescriptorType = USB_DDK_DT_ENDPOINT, 152 .bDescriptorType = USB_DDK_DT_ENDPOINT, 160 .bDescriptorType = USB_DDK_DT_ENDPOINT, 182 .bDescriptorType = USB_DDK_DT_ENDPOINT, 190 .bDescriptorType = USB_DDK_DT_ENDPOINT, [all …]
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/usb/device/src/ |
H A D | usb_device_lite_cdcacm_test.c | 31 .bDescriptorType = USB_DDK_DT_INTERFACE, 47 .bDescriptorType = USB_DDK_DT_INTERFACE, 98 .bDescriptorType = USB_DDK_DT_ENDPOINT, 107 .bDescriptorType = USB_DDK_DT_ENDPOINT, 114 .bDescriptorType = USB_DDK_DT_ENDPOINT, 135 .bDescriptorType = USB_DDK_DT_ENDPOINT, 144 .bDescriptorType = USB_DDK_DT_ENDPOINT, 152 .bDescriptorType = USB_DDK_DT_ENDPOINT, 174 .bDescriptorType = USB_DDK_DT_ENDPOINT, 182 .bDescriptorType = USB_DDK_DT_ENDPOINT, [all …]
|
/ohos5.0/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_ENDPO… in FindNextDescriptor() 181 if ((header->bDescriptorType != USB_DDK_DT_ENDPOINT) || (header->bLength > size)) { in ParseEndpoint() 183 header->bDescriptorType, header->bLength); in ParseEndpoint() 212 …ParseDescriptor(bDescriptorType, (uint8_t *)&ddkIntfDesc, sizeof(UsbInterfaceDescriptor), buffer, … in RawParseDescriptor() 217 if ((ddkIntfDesc.interfaceDescriptor.bDescriptorType != USB_DDK_DT_INTERFACE) || in RawParseDescriptor() 220 ddkIntfDesc.interfaceDescriptor.bDescriptorType, size); in RawParseDescriptor() 311 if (header->bDescriptorType == USB_DDK_DT_INTERFACE) { in GetInterfaceNumber() 365 …bool tempFlag = (size < USB_DDK_DT_INTERFACE_SIZE) || (ifDesc->bDescriptorType != USB_DDK_DT_INTER… in ParseInterface() 497 if ((config.configDescriptor.bDescriptorType != USB_DDK_DT_CONFIG) || in ParseConfiguration() [all …]
|
/ohos5.0/drivers/peripheral/usb/hdi_service/include/ |
H A D | usbd_type.h | 145 uint8_t bDescriptorType; member 150 uint8_t bDescriptorType; member 167 uint8_t bDescriptorType; member 178 uint8_t bDescriptorType; member 190 uint8_t bDescriptorType; member
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-driverdevelopment-kit/ |
H A D | _usb_endpoint_descriptor.md | 25 | [bDescriptorType](#bdescriptortype) | 描述符类型。 | 37 ### bDescriptorType subsection 41 uint8_t UsbEndpointDescriptor::bDescriptorType
|
H A D | _usb_config_descriptor.md | 25 | [bDescriptorType](#bdescriptortype) | 描述符类型。 | 49 ### bDescriptorType subsection 53 uint8_t UsbConfigDescriptor::bDescriptorType
|
H A D | _usb_interface_descriptor.md | 25 | [bDescriptorType](#bdescriptortype) | 描述符类型。 | 50 ### bDescriptorType subsection 54 uint8_t UsbInterfaceDescriptor::bDescriptorType
|
H A D | _usb_device_descriptor.md | 25 | [bDescriptorType](#bdescriptortype) | 描述符类型。 | 67 ### bDescriptorType subsection 71 uint8_t UsbDeviceDescriptor::bDescriptorType
|
H A D | usb__ddk__types_8h.md | 65 | [bDescriptorType](#bdescriptortype) | 描述符类型。 | 153 ### bDescriptorType subsection 157 uint8_t bDescriptorType
|
/ohos5.0/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
|
/ohos5.0/docs/en/application-dev/reference/apis-driverdevelopment-kit/ |
H A D | _usb_endpoint_descriptor.md | 25 | [bDescriptorType](#bdescriptortype) | Descriptor type.| 37 ### bDescriptorType subsection 41 uint8_t UsbEndpointDescriptor::bDescriptorType
|
H A D | _usb_config_descriptor.md | 25 | [bDescriptorType](#bdescriptortype) | Descriptor type.| 49 ### bDescriptorType subsection 53 uint8_t UsbConfigDescriptor::bDescriptorType
|
H A D | _usb_interface_descriptor.md | 25 | [bDescriptorType](#bdescriptortype) | Descriptor type.| 50 ### bDescriptorType subsection 54 uint8_t UsbInterfaceDescriptor::bDescriptorType
|
H A D | _usb_device_descriptor.md | 25 | [bDescriptorType](#bdescriptortype) | Descriptor type.| 67 ### bDescriptorType subsection 71 uint8_t UsbDeviceDescriptor::bDescriptorType
|
H A D | usb__ddk__types_8h.md | 65 | [bDescriptorType](#bdescriptortype) | Descriptor type.| 153 ### bDescriptorType subsection 157 uint8_t bDescriptorType
|
/ohos5.0/base/usb/usb_manager/services/native/src/ |
H A D | usb_descriptor_parser.cpp | 156 switch (descriptorHeader.bDescriptorType) { in ParseConfigDescriptors() 180 … USB_HILOGW(MODULE_USB_SERVICE, "unrecognized type=%{public}d", descriptorHeader.bDescriptorType); in ParseConfigDescriptors() 266 …if (descriptorHeader.bDescriptorType == static_cast<uint8_t>(DescriptorType::DESCRIPTOR_TYPE_INTER… in ParseInterfaceDescriptor() 270 …ILOGD(MODULE_USB_SERVICE, "type = %{public}d, length=%{public}d", descriptorHeader.bDescriptorType, in ParseInterfaceDescriptor() 321 …if (descriptorHeader.bDescriptorType == static_cast<uint8_t>(DescriptorType::DESCRIPTOR_TYPE_ENDPO… in ParseEndpointDescriptor() 325 …MODULE_USB_SERVICE, "error type = %{public}d, length=%{public}d", descriptorHeader.bDescriptorType, in ParseEndpointDescriptor()
|
/ohos5.0/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 *de… 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() 410 ParseDescriptor(buffer, bDescriptorType, (void *)ifp); in RawParseDescriptor() 411 if ((ifp->interfaceDescriptor.bDescriptorType != USB_DDK_DT_INTERFACE) || in RawParseDescriptor() 414 ifp->interfaceDescriptor.bDescriptorType, size); in RawParseDescriptor() [all …]
|
/ohos5.0/drivers/peripheral/usb/ddk/device/src/ |
H A D | usbfn_cfg_mgr.c | 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, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseOtgDesc() 467 drsOps->GetUint8(node, DESC_TYPE, &desc->bDescriptorType, 0) != HDF_SUCCESS || in UsbFnCfgMgrParseDebugDesc() [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()
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_ddk_v1_0/cpp_target/usb/ddk/v1_0/ |
H A D | usb_ddk_types.h.txt | 65 uint8_t bDescriptorType;
|
/ohos5.0/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… in OsParseConfigDescriptors() 172 __func__, configDesc->bDescriptorType, configDesc->bLength); in OsParseConfigDescriptors()
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_ddk_v1_0/dump_ast_target/ |
H A D | dump.txt | 74 unsigned char bDescriptorType;
|
/ohos5.0/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
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_ddk_v1_0/foo/usb/ddk/v1_0/ |
H A D | UsbDdkTypes.idl | 64 unsigned char bDescriptorType;
|