Home
last modified time | relevance | path

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

/drivers/peripheral/usb/ddk/device/include/
Dusbfn_cfg_mgr.h115 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/
Dusbfn_cfg_mgr.c959 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 …]
Dusbfn_dev_mgr.c33 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
88intf = (struct UsbInterfaceDescriptor *)des->configs[i]->functions[j]->fsDescriptors[k]; in CreateInterface()
[all …]
/drivers/peripheral/usb/ddk/host/src/
Dddk_sysfs_device.c99 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/
Dhi35xx_disp.c102 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/
Dusbfn_interface.h240 typedef int32_t (*UsbFnPropCallback)(const struct UsbFnInterface *intf, const char *name, const cha…
/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c753 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, &registInfo); in UsbSerialRegistProp()
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_sdk_if_test.cpp340 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/
Dusb_device_lite_sdk_if_test.c453 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()