Home
last modified time | relevance | path

Searched refs:intf (Results 1 - 12 of 12) sorted by relevance

/drivers/hdf_core/adapter/uhdf2/ipc/src/
H A Dhdf_dump.cpp83 IPCInterfaceInfo intf = intfs[j]; in HdfDumpIpcStatGet() local
86 result += Str16ToStr8(intf.desc) + std::string("_") + std::to_string(intf.code); in HdfDumpIpcStatGet()
89 IPCPayloadStatistics::GetDescriptorCodeCount(pid, intf.desc, intf.code)); in HdfDumpIpcStatGet()
94 IPCPayloadStatistics::GetDescriptorCodeCost(pid, intf.desc, intf.code).totalCost); in HdfDumpIpcStatGet()
97 IPCPayloadStatistics::GetDescriptorCodeCost(pid, intf.desc, intf.code).maxCost); in HdfDumpIpcStatGet()
100 IPCPayloadStatistics::GetDescriptorCodeCost(pid, intf in HdfDumpIpcStatGet()
[all...]
/drivers/peripheral/usb/ddk/device/include/
H A 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/
H A Dusbfn_cfg_mgr.c965 static uint8_t IsPropRegisted(const struct UsbFnInterface *intf, const char *name) in IsPropRegisted() argument
974 if (obj->intf && (obj->intf == intf) && strcmp(name, obj->name) == 0) { in IsPropRegisted()
981 static int32_t IsDevDescPropAndGetValue(const struct UsbFnInterface *intf, const char *name, uint16_t *value) in IsDevDescPropAndGetValue() argument
983 if (name == NULL || intf == NULL) { in IsDevDescPropAndGetValue()
986 struct UsbFnDeviceMgr *fnDevMgr = (struct UsbFnDeviceMgr *)intf->object; in IsDevDescPropAndGetValue()
1039 const struct UsbFnInterface *intf, const struct DeviceResourceIface *drsOps, in UsbFnCfgGetPropValueFromPropList()
1057 if ((intf->info.index != interfaceNum) || (intf in UsbFnCfgGetPropValueFromPropList()
1038 UsbFnCfgGetPropValueFromPropList(const struct UsbFnDeviceMgr *fnDevMgr, const struct UsbFnInterface *intf, const struct DeviceResourceIface *drsOps, const struct DeviceResourceNode *propListNode, const char *name) UsbFnCfgGetPropValueFromPropList() argument
1090 UsbFnCfgGetPropValueFromHcs(const struct UsbFnDeviceMgr *fnDevMgr, const struct UsbFnInterface *intf, const struct DeviceResourceIface *drsOps, const struct DeviceResourceNode *customNode, const char *name) UsbFnCfgGetPropValueFromHcs() argument
1122 UsbFnCfgFindPropFromHcs(const struct UsbFnInterface *intf, const char *name) UsbFnCfgFindPropFromHcs() argument
1189 UsbFnCfgChangeDevceDes(const struct UsbFnInterface *intf, const char *name, const char *value) UsbFnCfgChangeDevceDes() argument
1225 UsbfnCfgMgrFindPropMgr(const struct UsbFnInterface *intf, const char *name) UsbfnCfgMgrFindPropMgr() argument
1241 UsbFnCfgMgrCheckRegist(const struct UsbFnInterface *intf, const struct UsbFnRegistInfo *registInfo, uint8_t isDevProp, int32_t isRegist, struct UsbFnCfgPropMgr *fnCfgPropMgr) UsbFnCfgMgrCheckRegist() argument
1264 UsbFnCfgMgrRegisterProp(const struct UsbFnInterface *intf, const struct UsbFnRegistInfo *registInfo) UsbFnCfgMgrRegisterProp() argument
1323 UsbFnCfgMgrGetProp(const struct UsbFnInterface *intf, const char *name, char *value) UsbFnCfgMgrGetProp() argument
1368 UsbFnCfgMgrSetProp(const struct UsbFnInterface *intf, const char *name, const char *value) UsbFnCfgMgrSetProp() argument
[all...]
H A Dusbfn_dev_mgr.c34 static void GetInterfaceInfo(const struct UsbInterfaceDescriptor *intf, struct UsbFnDeviceMgr *devMgr, uint32_t fnCnt, in GetInterfaceInfo() argument
42 if (intf->bDescriptorType == USB_DDK_DT_INTERFACE && intf->bNumEndpoints > 0) { in GetInterfaceInfo()
48 info->index = intf->bInterfaceNumber; in GetInterfaceInfo()
49 info->interfaceClass = intf->bInterfaceClass; in GetInterfaceInfo()
50 info->subclass = intf->bInterfaceSubClass; in GetInterfaceInfo()
51 info->protocol = intf->bInterfaceProtocol; in GetInterfaceInfo()
52 info->numPipes = intf->bNumEndpoints; in GetInterfaceInfo()
58 g_epCnt += intf->bNumEndpoints; in GetInterfaceInfo()
66 struct UsbInterfaceDescriptor *intf in CreateInterface() local
151 GetInterfaceNum(struct UsbDescriptorHeader **intf) GetInterfaceNum() argument
[all...]
/drivers/peripheral/usb/ddk/host/src/
H A Dddk_sysfs_device.c100 const char *deviceDir, const char *intfDir, struct UsbPnpNotifyInterfaceInfo * const intf) in DdkSysfsGetInterface()
111 intf->interfaceClass = (uint8_t)value; in DdkSysfsGetInterface()
113 intf->interfaceSubClass = (uint8_t)value; in DdkSysfsGetInterface()
115 intf->interfaceProtocol = (uint8_t)value; in DdkSysfsGetInterface()
117 intf->interfaceNumber = (uint8_t)value; in DdkSysfsGetInterface()
99 DdkSysfsGetInterface( const char *deviceDir, const char *intfDir, struct UsbPnpNotifyInterfaceInfo * const intf) DdkSysfsGetInterface() argument
/drivers/hdf_core/framework/model/display/driver/adapter_soc/
H A 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()
258 HDF_LOGE("%s: not support intf: %d", __func__, type); in GetLcdIntfType()
/drivers/peripheral/usb/interfaces/ddk/device/
H A Dusbfn_interface.h240 typedef int32_t (*UsbFnPropCallback)(const struct UsbFnInterface *intf, const char *name, const char *value);
/drivers/hdf_core/framework/core/manager/test/unittest/common/
H A Ddevmgr_uevent_test.cpp230 OHOS::sptr<IFooInterface> intf = proxy->AsInterface(); in HWTEST_F() local
231 ASSERT_NE(intf, nullptr); in HWTEST_F()
/drivers/peripheral/usb/net/include/
H A Dusb_net_host.h87 struct UsbRawInterfaceDescriptor *intf; member
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c759 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialGetProp() local
768 ret = UsbFnGetInterfaceProp(intf, propName, propValue); in UsbSerialGetProp()
781 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialSetProp() local
798 ret = UsbFnSetInterfaceProp(intf, propName, tmp); in UsbSerialSetProp()
806 static int32_t UsbSerialRegistPropAGet(const struct UsbFnInterface *intf, const char *name, const char *value) in UsbSerialRegistPropAGet() argument
808 (void)intf; in UsbSerialRegistPropAGet()
815 static int32_t UsbSerialRegistPropASet(const struct UsbFnInterface *intf, const char *name, const char *value) in UsbSerialRegistPropASet() argument
817 (void)intf; in UsbSerialRegistPropASet()
826 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialRegistProp() local
842 ret = UsbFnRegistInterfaceProp(intf, in UsbSerialRegistProp()
[all...]
/drivers/peripheral/usb/test/unittest/device_sdk/
H A 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/
H A 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()

Completed in 12 milliseconds