Home
last modified time | relevance | path

Searched refs:UsbInterfaceDescriptor (Results 1 – 9 of 9) sorted by relevance

/drivers/external_device_manager/interfaces/ddk/usb/
Dusb_ddk_types.h140 typedef struct UsbInterfaceDescriptor { struct
159 } __attribute__((packed)) UsbInterfaceDescriptor; typedef
209 struct UsbInterfaceDescriptor interfaceDescriptor;
/drivers/external_device_manager/frameworks/ddk/usb/
Dusb_config_desc_parser.cpp212 …ParseDescriptor(bDescriptorType, (uint8_t *)&ddkIntfDesc, sizeof(UsbInterfaceDescriptor), buffer, … in RawParseDescriptor()
266 auto desc = reinterpret_cast<const UsbInterfaceDescriptor *>(header); in GetInterfaceNumberDes()
321 const UsbInterfaceDescriptor *ifDesc = nullptr; in ParseInterface()
364 ifDesc = reinterpret_cast<const UsbInterfaceDescriptor *>(buffer); in ParseInterface()
452 auto ifDesc = reinterpret_cast<const UsbInterfaceDescriptor *>(buffer); in ParseConfigurationDes()
/drivers/peripheral/usb/ddk/device/src/
Dusbfn_dev_mgr.c33 static void GetInterfaceInfo(const struct UsbInterfaceDescriptor *intf, struct UsbFnDeviceMgr *devM… in GetInterfaceInfo()
65 struct UsbInterfaceDescriptor *intf = NULL; in CreateInterface()
88 … intf = (struct UsbInterfaceDescriptor *)des->configs[i]->functions[j]->fsDescriptors[k]; in CreateInterface()
154 struct UsbInterfaceDescriptor *interface = NULL; in GetInterfaceNum()
157 interface = (struct UsbInterfaceDescriptor *)intf[i]; in GetInterfaceNum()
Dusbfn_cfg_mgr.c282 struct UsbInterfaceDescriptor *desc = NULL; in UsbFnCfgMgrParseInterfaceDesc()
287 desc = (struct UsbInterfaceDescriptor *)descBuff; in UsbFnCfgMgrParseInterfaceDesc()
/drivers/peripheral/usb/interfaces/ddk/host/
Dusb_raw_api.h170 struct UsbInterfaceDescriptor interfaceDescriptor;
/drivers/peripheral/usb/ddk/host/src/
Dusb_raw_api_library.c137 struct UsbInterfaceDescriptor *desc = NULL; in GetInterfaceNumberDes()
139 desc = (struct UsbInterfaceDescriptor *)header; in GetInterfaceNumberDes()
268 … ret = memcpy_s(dest, sizeof(struct UsbInterfaceDescriptor), source, USB_DDK_DT_INTERFACE_SIZE); in ParseDescriptor()
475 const struct UsbInterfaceDescriptor *ifDesc = NULL; in ParseInterface()
519 ifDesc = (const struct UsbInterfaceDescriptor *)buffer; in ParseInterface()
557 struct UsbInterfaceDescriptor *ifDesc = (struct UsbInterfaceDescriptor *)buffer; in ParseConfigurationDes()
/drivers/peripheral/usb/interfaces/ddk/common/
Dusb_ddk.h195 struct UsbInterfaceDescriptor { struct
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_cdcacm_test.cpp37 static struct UsbInterfaceDescriptor g_acmControlInterfaceDesc = {
53 static struct UsbInterfaceDescriptor g_acmDataInterfaceDesc = {
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
Dusb_device_lite_cdcacm_test.c29 static struct UsbInterfaceDescriptor g_acmControlInterfaceDesc = {
45 static struct UsbInterfaceDescriptor g_acmDataInterfaceDesc = {