Home
last modified time | relevance | path

Searched refs:bDescriptorType (Results 1 - 14 of 14) sorted by relevance

/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
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 Dusb_device_cdcacm_test.cpp24 .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 Dusbd_type.h142 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 Dusb_ddk_types.h78 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 Dusb_config_desc_parser.cpp26 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 Dusb_device_lite_cdcacm_test.c16 .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 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 *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 Dliteos_adapter.c313 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 Dlinux_adapter.c275 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 Dusbfn_cfg_mgr.c46 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 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()
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/
H A Dusb_dev_subscriber.cpp32 uint8_t bDescriptorType; member
/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_SIZE)) { in OsParseConfigDescriptors()
172 __func__, configDesc->bDescriptorType, configDesc->bLength); in OsParseConfigDescriptors()
/drivers/peripheral/usb/net/src/
H A Dusb_net_host.c846 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()

Completed in 22 milliseconds