Home
last modified time | relevance | path

Searched refs:bDescriptorType (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/drivers/peripheral/usb/interfaces/ddk/common/
H A Dusb_ddk.h158 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 Dusb_device_cdcacm_test.cpp39 .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 Dusb_device_lite_cdcacm_test.c31 .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 Dusb_config_desc_parser.cpp26 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 Dusbd_type.h145 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.md25 | [bDescriptorType](#bdescriptortype) | 描述符类型。 |
37 ### bDescriptorType subsection
41 uint8_t UsbEndpointDescriptor::bDescriptorType
H A D_usb_config_descriptor.md25 | [bDescriptorType](#bdescriptortype) | 描述符类型。 |
49 ### bDescriptorType subsection
53 uint8_t UsbConfigDescriptor::bDescriptorType
H A D_usb_interface_descriptor.md25 | [bDescriptorType](#bdescriptortype) | 描述符类型。 |
50 ### bDescriptorType subsection
54 uint8_t UsbInterfaceDescriptor::bDescriptorType
H A D_usb_device_descriptor.md25 | [bDescriptorType](#bdescriptortype) | 描述符类型。 |
67 ### bDescriptorType subsection
71 uint8_t UsbDeviceDescriptor::bDescriptorType
H A Dusb__ddk__types_8h.md65 | [bDescriptorType](#bdescriptortype) | 描述符类型。 |
153 ### bDescriptorType subsection
157 uint8_t bDescriptorType
/ohos5.0/drivers/external_device_manager/interfaces/ddk/usb/
H A Dusb_ddk_types.h78 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.md25 | [bDescriptorType](#bdescriptortype) | Descriptor type.|
37 ### bDescriptorType subsection
41 uint8_t UsbEndpointDescriptor::bDescriptorType
H A D_usb_config_descriptor.md25 | [bDescriptorType](#bdescriptortype) | Descriptor type.|
49 ### bDescriptorType subsection
53 uint8_t UsbConfigDescriptor::bDescriptorType
H A D_usb_interface_descriptor.md25 | [bDescriptorType](#bdescriptortype) | Descriptor type.|
50 ### bDescriptorType subsection
54 uint8_t UsbInterfaceDescriptor::bDescriptorType
H A D_usb_device_descriptor.md25 | [bDescriptorType](#bdescriptortype) | Descriptor type.|
67 ### bDescriptorType subsection
71 uint8_t UsbDeviceDescriptor::bDescriptorType
H A Dusb__ddk__types_8h.md65 | [bDescriptorType](#bdescriptortype) | Descriptor type.|
153 ### bDescriptorType subsection
157 uint8_t bDescriptorType
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_descriptor_parser.cpp156 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 Dusb_raw_api_library.c181 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 Dusbfn_cfg_mgr.c58 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 Dusbfn_dev_mgr.c42 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 Dusb_ddk_types.h.txt65 uint8_t bDescriptorType;
/ohos5.0/drivers/peripheral/usb/test/unittest/mock/src/
H A Dmock_linux_adapter.cpp170 …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 Ddump.txt74 unsigned char bDescriptorType;
/ohos5.0/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/
H A Dusb_dev_subscriber.cpp32 uint8_t bDescriptorType; member
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_ddk_v1_0/foo/usb/ddk/v1_0/
H A DUsbDdkTypes.idl64 unsigned char bDescriptorType;

12