Home
last modified time | relevance | path

Searched refs:HdfDeviceInfo (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/core/shared/src/
H A Dhdf_device_info.c16 void HdfDeviceInfoConstruct(struct HdfDeviceInfo *deviceInfo) in HdfDeviceInfoConstruct()
35 struct HdfDeviceInfo *HdfDeviceInfoNewInstance(void) in HdfDeviceInfoNewInstance()
37 struct HdfDeviceInfo *deviceInfo = in HdfDeviceInfoNewInstance()
38 (struct HdfDeviceInfo*)OsalMemCalloc(sizeof(struct HdfDeviceInfo)); in HdfDeviceInfoNewInstance()
47 void HdfDeviceInfoFreeInstance(struct HdfDeviceInfo *deviceInfo) in HdfDeviceInfoFreeInstance()
56 struct HdfDeviceInfo *deviceInfo = (struct HdfDeviceInfo *)listEntry; in HdfDeviceInfoDelete()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/shared/test/
H A Ddev_attribute_serialize_test.cpp40 struct HdfDeviceInfo *attribute = HdfDeviceInfoNewInstance();
61 struct HdfDeviceInfo *attribute = HdfDeviceInfoNewInstance();
76 struct HdfDeviceInfo *attribute = HdfDeviceInfoNewInstance();
107 struct HdfDeviceInfo *attribute = DeviceAttributeDeserialize(buf);
124 struct HdfDeviceInfo *attribute = DeviceAttributeDeserialize(buf);
144 struct HdfDeviceInfo *attribute = DeviceAttributeDeserialize(buf);
167 struct HdfDeviceInfo *attribute = DeviceAttributeDeserialize(buf);
193 struct HdfDeviceInfo *attribute = DeviceAttributeDeserialize(buf);
222 struct HdfDeviceInfo *attribute = DeviceAttributeDeserialize(buf);
254 struct HdfDeviceInfo *attribute = DeviceAttributeDeserialize(buf);
[all …]
/ohos5.0/drivers/hdf_core/interfaces/inner_api/host/shared/
H A Dhdf_device_info.h28 struct HdfDeviceInfo { struct
49 struct HdfDeviceInfo *HdfDeviceInfoNewInstance(void); argument
50 void HdfDeviceInfoConstruct(struct HdfDeviceInfo *deviceInfo);
51 void HdfDeviceInfoFreeInstance(struct HdfDeviceInfo *deviceInfo);
H A Dhdf_device_node.h66 struct HdfDeviceNode *HdfDeviceNodeNewInstance(const struct HdfDeviceInfo *deviceInfo, struct HdfDr…
/ohos5.0/drivers/hdf_core/framework/core/common/src/
H A Dhdf_attribute_macro.c105 struct HdfDeviceInfo *attrFirstMacro = NULL; in HdfDeviceListCompareMacro()
106 struct HdfDeviceInfo *attrSecondMacro = NULL; in HdfDeviceListCompareMacro()
110 attrFirstMacro = (struct HdfDeviceInfo *)listEntryFirst; in HdfDeviceListCompareMacro()
111 attrSecondMacro = (struct HdfDeviceInfo *)listEntrySecond; in HdfDeviceListCompareMacro()
115 static bool CheckDeviceInfoMacro(const struct HdfDeviceInfo *deviceNodeInfo) in CheckDeviceInfoMacro()
135 static bool GetDeviceNodeInfo(const struct HdfDeviceNodeType *deviceNode, struct HdfDeviceInfo *dev… in GetDeviceNodeInfo()
154 struct HdfDeviceInfo *devInfo = NULL; in GetDevcieNodeList()
H A Dhdf_attribute.c103 struct HdfDeviceInfo *attrFirst = NULL; in HdfDeviceListCompare()
104 struct HdfDeviceInfo *attrSecond = NULL; in HdfDeviceListCompare()
108 attrFirst = (struct HdfDeviceInfo *)listEntryFirst; in HdfDeviceListCompare()
109 attrSecond = (struct HdfDeviceInfo *)listEntrySecond; in HdfDeviceListCompare()
139 static bool CheckDeviceInfo(const struct HdfDeviceInfo *deviceNodeInfo) in CheckDeviceInfo()
159 static bool GetDeviceNodeInfo(const struct DeviceResourceNode *deviceNode, struct HdfDeviceInfo *de… in GetDeviceNodeInfo()
185 struct HdfDeviceInfo *deviceNodeInfo = NULL; in GetDevcieNodeList()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/shared/src/
H A Ddev_attribute_serialize.c25 bool DeviceAttributeSerialize(const struct HdfDeviceInfo *attribute, struct HdfSBuf *sbuf) in DeviceAttributeSerialize()
55 static bool DeviceAttributeSet(struct HdfDeviceInfo *attribute, struct HdfSBuf *sbuf) in DeviceAttributeSet()
111 struct HdfDeviceInfo *DeviceAttributeDeserialize(struct HdfSBuf *sbuf) in DeviceAttributeDeserialize()
117 struct HdfDeviceInfo *attribute = HdfDeviceInfoNewInstance(); in DeviceAttributeDeserialize()
141 void DeviceSerializedAttributeRelease(struct HdfDeviceInfo *attribute) in DeviceSerializedAttributeRelease()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/shared/include/
H A Ddev_attribute_serialize.h26 bool DeviceAttributeSerialize(const struct HdfDeviceInfo *attribute, struct HdfSBuf *sbuf);
27 struct HdfDeviceInfo *DeviceAttributeDeserialize(struct HdfSBuf *sbuf);
28 void DeviceSerializedAttributeRelease(struct HdfDeviceInfo *attribute);
/ohos5.0/drivers/hdf_core/framework/core/host/include/
H A Dhdf_driver_loader.h32 struct IDriverLoader *loader, const struct HdfDeviceInfo *deviceInfo);
33 void HdfDriverLoaderUnLoadNode(struct IDriverLoader *loader, const struct HdfDeviceInfo *deviceInfo…
H A Ddevhost_service.h32 int DevHostServiceAddDevice(struct IDevHostService *inst, const struct HdfDeviceInfo *deviceInfo);
/ohos5.0/drivers/hdf_core/framework/core/manager/src/
H A Ddevmgr_service.c25 …const char *svcName, struct DevHostServiceClnt **targetHostClnt, struct HdfDeviceInfo **targetDevi… in DevmgrServiceDynamicDevInfoFound()
28 struct HdfDeviceInfo *deviceInfo = NULL; in DevmgrServiceDynamicDevInfoFound()
38 deviceInfo = (struct HdfDeviceInfo *)HdfSListIteratorNext(&itDeviceInfo); in DevmgrServiceDynamicDevInfoFound()
90 struct HdfDeviceInfo *deviceInfo = NULL; in DevmgrServiceLoadDevice()
148 struct HdfDeviceInfo *deviceInfo = NULL; in DevmgrServiceUnloadDevice()
199 struct HdfDeviceInfo *deviceInfo = NULL; in DevmgrServiceLoadLeftDriver()
208 deviceInfo = (struct HdfDeviceInfo *)HdfSListIteratorNext(&itDeviceInfo); in DevmgrServiceLoadLeftDriver()
H A Ddevhost_service_clnt.c23 struct HdfDeviceInfo *deviceInfo = NULL; in DevHostServiceClntInstallDriver()
38 deviceInfo = (struct HdfDeviceInfo *)HdfSListIteratorNext(&it); in DevHostServiceClntInstallDriver()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_query_device.c28 struct HdfDeviceInfo *deviceInfo = NULL; in DevFillQueryDeviceInfo()
48 deviceInfo = (struct HdfDeviceInfo *)HdfSListIteratorNext(&itDeviceInfo); in DevFillQueryDeviceInfo()
H A Ddevhost_service_proxy.c28 struct IDevHostService *inst, const struct HdfDeviceInfo *attribute, int opsCode) in DevHostServiceProxyOpsDevice()
46 struct IDevHostService *inst, const struct HdfDeviceInfo *attribute) in DevHostServiceProxyAddDevice()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/src/
H A Ddevhost_service_full.c35 struct HdfDeviceInfo *attribute = (struct HdfDeviceInfo *)msg->data[0]; in DevHostServiceFullDispatchMessage()
78 …ServiceFullAddDevice(struct IDevHostService *devHostService, const struct HdfDeviceInfo *attribute) in DevHostServiceFullAddDevice()
H A Ddevhost_service_stub.c39 struct HdfDeviceInfo *attribute = DeviceAttributeDeserialize(data); in DispatchAddDevice()
/ohos5.0/drivers/hdf_core/framework/core/manager/include/
H A Ddevice_token_clnt.h19 const struct HdfDeviceInfo *deviceInfo;
/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/include/
H A Dhdf_device_thread.h28 struct HdfDeviceInfo *attribute;
/ohos5.0/drivers/hdf_core/framework/core/shared/include/
H A Ddevhost_service_if.h19 int (*AddDevice)(struct IDevHostService *hostService, const struct HdfDeviceInfo *devInfo);
/ohos5.0/drivers/hdf_core/adapter/uhdf2/host/test/unittest/
H A Ddevhost_test.cpp215 struct HdfDeviceInfo deviceInfo;
272 struct HdfDeviceInfo deviceInfo;
320 struct HdfDeviceInfo deviceInfo;
361 struct HdfDeviceInfo deviceInfo;
/ohos5.0/drivers/hdf_core/framework/core/shared/test/unittest/common/
H A Dhdf_core_shared_test.cpp58 HdfDeviceInfo *info = HdfDeviceInfoNewInstance();
/ohos5.0/drivers/hdf_core/framework/core/host/src/
H A Ddevhost_service.c63 int DevHostServiceAddDevice(struct IDevHostService *inst, const struct HdfDeviceInfo *deviceInfo) in DevHostServiceAddDevice()
H A Dhdf_device_node.c260 struct HdfDeviceNode *HdfDeviceNodeNewInstance(const struct HdfDeviceInfo *deviceInfo, struct HdfDr… in HdfDeviceNodeNewInstance()