/drivers/peripheral/usb/ddk/device/include/ |
D | usbfn_cfg_mgr.h | 115 const struct UsbFnInterface *intf; member 126 int32_t UsbFnCfgMgrSetProp(const struct UsbFnInterface *intf, const char *name, const char *value); 127 int32_t UsbFnCfgMgrGetProp(const struct UsbFnInterface *intf, const char *name, char *value); 128 int32_t UsbFnCfgMgrRegisterProp(const struct UsbFnInterface *intf,
|
/drivers/peripheral/usb/ddk/device/src/ |
D | usbfn_cfg_mgr.c | 959 static uint8_t IsPropRegisted(const struct UsbFnInterface *intf, const char *name) in IsPropRegisted() argument 968 if (obj->intf && (obj->intf == intf) && strcmp(name, obj->name) == 0) { in IsPropRegisted() 975 static int32_t IsDevDescPropAndGetValue(const struct UsbFnInterface *intf, const char *name, uint16… in IsDevDescPropAndGetValue() argument 977 if (name == NULL || intf == NULL) { in IsDevDescPropAndGetValue() 980 struct UsbFnDeviceMgr *fnDevMgr = (struct UsbFnDeviceMgr *)intf->object; in IsDevDescPropAndGetValue() 1033 const struct UsbFnInterface *intf, const struct DeviceResourceIface *drsOps, in UsbFnCfgGetPropValueFromPropList() argument 1051 if ((intf->info.index != interfaceNum) || (intf->info.configIndex != configNum)) { in UsbFnCfgGetPropValueFromPropList() 1084 …bFnCfgGetPropValueFromHcs(const struct UsbFnDeviceMgr *fnDevMgr, const struct UsbFnInterface *intf, in UsbFnCfgGetPropValueFromHcs() argument 1107 propValue = UsbFnCfgGetPropValueFromPropList(fnDevMgr, intf, drsOps, propListNode, name); in UsbFnCfgGetPropValueFromHcs() 1116 static const char *UsbFnCfgFindPropFromHcs(const struct UsbFnInterface *intf, const char *name) in UsbFnCfgFindPropFromHcs() argument [all …]
|
D | usbfn_dev_mgr.c | 33 static void GetInterfaceInfo(const struct UsbInterfaceDescriptor *intf, struct UsbFnDeviceMgr *devM… in GetInterfaceInfo() argument 41 if (intf->bDescriptorType == USB_DDK_DT_INTERFACE && intf->bNumEndpoints > 0) { in GetInterfaceInfo() 47 info->index = intf->bInterfaceNumber; in GetInterfaceInfo() 48 info->interfaceClass = intf->bInterfaceClass; in GetInterfaceInfo() 49 info->subclass = intf->bInterfaceSubClass; in GetInterfaceInfo() 50 info->protocol = intf->bInterfaceProtocol; in GetInterfaceInfo() 51 info->numPipes = intf->bNumEndpoints; in GetInterfaceInfo() 57 g_epCnt += intf->bNumEndpoints; in GetInterfaceInfo() 65 struct UsbInterfaceDescriptor *intf = NULL; in CreateInterface() local 88 … intf = (struct UsbInterfaceDescriptor *)des->configs[i]->functions[j]->fsDescriptors[k]; in CreateInterface() [all …]
|
/drivers/peripheral/usb/ddk/host/src/ |
D | ddk_sysfs_device.c | 99 const char *deviceDir, const char *intfDir, struct UsbPnpNotifyInterfaceInfo * const intf) in DdkSysfsGetInterface() argument 110 intf->interfaceClass = (uint8_t)value; in DdkSysfsGetInterface() 112 intf->interfaceSubClass = (uint8_t)value; in DdkSysfsGetInterface() 114 intf->interfaceProtocol = (uint8_t)value; in DdkSysfsGetInterface() 116 intf->interfaceNumber = (uint8_t)value; in DdkSysfsGetInterface()
|
/drivers/hdf_core/framework/model/display/driver/adapter_soc/ |
D | hi35xx_disp.c | 102 static void LcdPinMuxCfg(uint32_t intf) in LcdPinMuxCfg() argument 107 if (intf == MIPI_DSI) { in LcdPinMuxCfg() 109 } else if (intf == LCD_6BIT) { in LcdPinMuxCfg() 111 } else if (intf == LCD_8BIT) { in LcdPinMuxCfg() 113 } else if (intf == LCD_24BIT) { in LcdPinMuxCfg() 116 HDF_LOGE("%s: not support intf: %d", __func__, intf); in LcdPinMuxCfg()
|
/drivers/peripheral/usb/interfaces/ddk/device/ |
D | usbfn_interface.h | 240 typedef int32_t (*UsbFnPropCallback)(const struct UsbFnInterface *intf, const char *name, const cha…
|
/drivers/peripheral/usb/gadget/function/acm/ |
D | cdcacm.c | 753 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialGetProp() local 762 ret = UsbFnGetInterfaceProp(intf, propName, propValue); in UsbSerialGetProp() 775 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialSetProp() local 792 ret = UsbFnSetInterfaceProp(intf, propName, tmp); in UsbSerialSetProp() 800 static int32_t UsbSerialRegistPropAGet(const struct UsbFnInterface *intf, const char *name, const c… in UsbSerialRegistPropAGet() argument 802 (void)intf; in UsbSerialRegistPropAGet() 809 static int32_t UsbSerialRegistPropASet(const struct UsbFnInterface *intf, const char *name, const c… in UsbSerialRegistPropASet() argument 811 (void)intf; in UsbSerialRegistPropASet() 820 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialRegistProp() local 836 ret = UsbFnRegistInterfaceProp(intf, ®istInfo); in UsbSerialRegistProp()
|
/drivers/peripheral/usb/test/unittest/device_sdk/ |
D | usb_device_sdk_if_test.cpp | 340 int32_t PropCallBack(const struct UsbFnInterface *intf, const char *name, const char *value) in PropCallBack() argument 342 if (intf == nullptr || name == nullptr || value == nullptr) { in PropCallBack()
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/ |
D | usb_device_lite_sdk_if_test.c | 453 static int32_t PropCallBack(const struct UsbFnInterface *intf, const char *name, const char *value) in PropCallBack() argument 455 if (intf == NULL || name == NULL || value == NULL) { in PropCallBack()
|