Home
last modified time | relevance | path

Searched refs:super (Results 1 – 25 of 68) sorted by relevance

123

/drivers/hdf_core/adapter/uhdf2/manager/src/
Ddevsvc_manager_stub.c229 static int32_t DevSvcManagerStubAddService(struct IDevSvcManager *super, struct HdfSBuf *data) in DevSvcManagerStubAddService() argument
232 struct DevSvcManagerStub *stub = (struct DevSvcManagerStub *)super; in DevSvcManagerStubAddService()
249 struct HdfDeviceObject *oldServiceObject = super->GetObject(super, info.servName); in DevSvcManagerStubAddService()
250 ret = super->AddService(super, serviceObject, &info); in DevSvcManagerStubAddService()
260 static int32_t DevSvcManagerStubUpdateService(struct IDevSvcManager *super, struct HdfSBuf *data) in DevSvcManagerStubUpdateService() argument
263 struct DevSvcManagerStub *stub = (struct DevSvcManagerStub *)super; in DevSvcManagerStubUpdateService()
276 struct HdfDeviceObject *oldServiceObject = super->GetObject(super, info.servName); in DevSvcManagerStubUpdateService()
287 ret = super->UpdateService(super, serviceObject, &info); in DevSvcManagerStubUpdateService()
297 static int32_t DevSvcManagerStubGetService(struct IDevSvcManager *super, struct HdfSBuf *data, stru… in DevSvcManagerStubGetService() argument
300 struct DevSvcManagerStub *stub = (struct DevSvcManagerStub *)super; in DevSvcManagerStubGetService()
[all …]
Ddevmgr_service_stub.c51 tokenClnt->super.devid = deviceId; in DevmgrServiceStubDispatchAttachDevice()
52 tokenClnt->super.servName = HdfStringCopy(servName); in DevmgrServiceStubDispatchAttachDevice()
53 tokenClnt->super.deviceName = HdfStringCopy(deviceName); in DevmgrServiceStubDispatchAttachDevice()
54 return devmgrSvc->AttachDevice(devmgrSvc, &tokenClnt->super); in DevmgrServiceStubDispatchAttachDevice()
107 struct IDevmgrService *super = (struct IDevmgrService *)&serviceStub->super; in DevmgrServiceStubDispatch() local
121 ret = super->AttachDeviceHost(super, hostId, hostIf); in DevmgrServiceStubDispatch()
124 ret = DevmgrServiceStubDispatchAttachDevice(super, data); in DevmgrServiceStubDispatch()
127 ret = DevmgrServiceStubDispatchDetachDevice(super, data); in DevmgrServiceStubDispatch()
130 ret = DevmgrServiceStubDispatchLoadDevice(super, data); in DevmgrServiceStubDispatch()
133 ret = DevmgrServiceStubDispatchUnloadDevice(super, data); in DevmgrServiceStubDispatch()
[all …]
Ddevice_token_proxy.c41 OsalMemFree((void *)inst->super.servName); in HdfDevTokenProxyRecycle()
42 OsalMemFree((void *)inst->super.deviceName); in HdfDevTokenProxyRecycle()
Ddevmgr_service_full.c71 OsalMutexLock(&inst->super.devMgrMutex); in DevmgrServiceFullOnDeviceHostDied()
72 …DLIST_FOR_EACH_ENTRY_SAFE(hostClnt, hostClntTmp, &inst->super.hosts, struct DevHostServiceClnt, no… in DevmgrServiceFullOnDeviceHostDied()
81 OsalMutexUnlock(&inst->super.devMgrMutex); in DevmgrServiceFullOnDeviceHostDied()
119 DevmgrServiceConstruct(&inst->super); in DevmgrServiceFullConstruct()
Ddevhost_service_proxy.c109 inst->super.AddDevice = DevHostServiceProxyAddDevice; in DevHostServiceProxyConstruct()
110 inst->super.DelDevice = DevHostServiceProxyDelDevice; in DevHostServiceProxyConstruct()
111 inst->super.Dump = DevHostServicProxyDump; in DevHostServiceProxyConstruct()
/drivers/hdf_core/framework/core/manager/src/
Ddevsvc_manager_ext.c24 struct DevSvcManager super; member
63 return svcmgrInst->super.super.RegsterServListener(&svcmgrInst->super.super, holder); in DevSvcManagerExtRegisterListener()
83 svcmgrInst->super.super.UnregsterServListener(&svcmgrInst->super.super, holder); in DevSvcManagerExtUnRegisterListener()
168 if (!DevSvcManagerConstruct(&inst->super)) { in DevSvcManagerExtConstruct()
176 inst->super.super.StartService = DevSvcManagerExtStart; in DevSvcManagerExtConstruct()
/drivers/hdf_core/framework/core/host/src/
Dhdf_device.c108 device = CONTAINER_OF(devInst, struct HdfDevice, super); in HdfDeviceDetach()
117 if (devNode->super.UnlaunchNode != NULL) { in HdfDeviceDetach()
118 devNode->super.UnlaunchNode(devNode); in HdfDeviceDetach()
127 struct HdfDevice *dev = CONTAINER_OF(device, struct HdfDevice, super); in HdfDeviceGetDeviceNode()
138 struct HdfDevice *dev = CONTAINER_OF(device, struct HdfDevice, super); in HdfDeviceDetachWithDevid()
150 device->super.Attach = HdfDeviceAttach; in HdfDeviceConstruct()
151 device->super.Detach = HdfDeviceDetach; in HdfDeviceConstruct()
152 device->super.DetachWithDevid = HdfDeviceDetachWithDevid; in HdfDeviceConstruct()
153 device->super.GetDeviceNode = HdfDeviceGetDeviceNode; in HdfDeviceConstruct()
194 HdfObjectManagerFreeObject(&device->super.object); in HdfDeviceFreeInstance()
Ddevhost_service.c67 struct DevHostService *hostService = CONTAINER_OF(inst, struct DevHostService, super); in DevHostServiceAddDevice()
76 if (device == NULL || device->super.Attach == NULL) { in DevHostServiceAddDevice()
79 devNode = device->super.GetDeviceNode(&device->super, deviceInfo->deviceId); in DevHostServiceAddDevice()
99 ret = device->super.Attach(&device->super, devNode); in DevHostServiceAddDevice()
126 devNode = device->super.GetDeviceNode(&device->super, devId); in DevHostServiceDelDevice()
132 if (device->super.Detach == NULL) { in DevHostServiceDelDevice()
137 if (device->super.Detach(&device->super, devNode) != HDF_SUCCESS) { in DevHostServiceDelDevice()
193 struct DevHostService *hostService = CONTAINER_OF(service, struct DevHostService, super); in DevHostServicePmNotify()
222 struct IDevHostService *hostServiceIf = &service->super; in DevHostServiceConstruct()
Dhdf_device_token.c15 inst->super.object.objectId = HDF_OBJECT_ID_DEVICE_TOKEN; in HdfDeviceTokenConstruct()
32 OsalMemFree((void *)deviceToken->super.servName); in HdfDeviceTokenRelease()
33 OsalMemFree((void *)deviceToken->super.deviceName); in HdfDeviceTokenRelease()
Dhdf_device_object.c219 if (devNode->device != NULL && devNode->device->super.Detach != NULL) { in HdfDeviceObjectRelease()
220 devNode->device->super.Detach(&devNode->device->super, devNode); in HdfDeviceObjectRelease()
243 ret = devNode->device->super.Attach(&devNode->device->super, devNode); in HdfDeviceObjectRegister()
259 return devNode->device->super.Detach(&devNode->device->super, devNode); in HdfDeviceObjectUnRegister()
292 return devNode->super.PublishService(devNode); in HdfDeviceObjectPublishService()
302 return devNode->super.RemoveService(devNode); in HdfDeviceObjectRemoveService()
Dhdf_driver_loader.c58 inst->super.GetDriver = HdfDriverLoaderGetDriver; in HdfDriverLoaderConstruct()
59 inst->super.ReclaimDriver = HdfDriverLoaderReclaimDriver; in HdfDriverLoaderConstruct()
/drivers/hdf_core/adapter/uhdf2/host/src/
Ddevhost_service_stub.c90 struct IDevHostService *serviceIf = (struct IDevHostService *)&serviceStub->super; in DevHostServiceStubDispatch()
91 DevHostSetCurrentSecurec(serviceStub->super.super.hostName); in DevHostServiceStubDispatch()
119 DevHostServiceFullConstruct(&inst->super); in DevHostServiceStubConstruct()
129 return (struct HdfObject *)&instance->super; in DevHostServiceStubCreate()
134 return (struct HdfObject *)&instance->super; in DevHostServiceStubCreate()
143 DevHostServiceFullDestruct(&instance->super); in DevHostServiceStubRelease()
Ddevhost_service_full.c36 status = DevHostServiceAddDevice(&hostService->super.super, attribute); in DevHostServiceFullDispatchMessage()
44 status = DevHostServiceDelDevice(&hostService->super.super, devid); in DevHostServiceFullDispatchMessage()
147 return hostService->super.PmNotify(&hostService->super, SysEventToPowerState(event)); in OnSysEventReceived()
204 struct IDevHostService *hostServiceIf = &inst->super.super; in DevHostServiceFullConstruct()
206 DevHostServiceConstruct(&inst->super); in DevHostServiceFullConstruct()
218 DevHostServiceDestruct(&inst->super); in DevHostServiceFullDestruct()
Dhdf_device_thread.c31 if (devService != NULL && devService->super.LaunchNode != NULL) { in DeviceThreadMessageHandler()
32 devService->super.LaunchNode(devService); in DeviceThreadMessageHandler()
88 inst->super.ThreadEntry = DeviceThreadMain; in DeviceThreadConstruct()
89 HdfThreadConstruct(&inst->super); in DeviceThreadConstruct()
105 HdfThreadDestruct(&thread->super); in DeviceThreadFreeInstance()
Ddevice_token_stub.c30 struct IDevHostService *super = (struct IDevHostService *)&tokenStub->super; in DeviceTokenStubDispatch() local
31 if (super == NULL) { in DeviceTokenStubDispatch()
Ddevice_service_stub.c27 struct IDeviceIoService *ioService = service->super.deviceObject.service; in DeviceServiceStubDispatch()
35 .device = &service->super.deviceObject, in DeviceServiceStubDispatch()
87 status = DevSvcManagerClntAddService(&fullService->super.deviceObject, &servInfo); in DeviceServiceStubPublishService()
115 HdfDeviceNodeConstruct(&inst->super); in DeviceServiceStubConstruct()
141 HdfDeviceNodeDestruct(&instance->super); in DeviceServiceStubRelease()
/drivers/hdf_core/framework/core/common/src/
Ddevmgr_service_start.c46 if (reply == NULL || devSvcManager == NULL || devSvcManager->super.ListAllService == NULL) { in ListAllService()
50 devSvcManager->super.ListAllService(&devSvcManager->super, reply); in ListAllService()
57 if (reply == NULL || devMgrSvc->super.ListAllDevice == NULL) { in ListAllDevice()
61 devMgrSvc->super.ListAllDevice(&devMgrSvc->super, reply); in ListAllDevice()
Dhdf_device_node_ext.c63 deviceObject = &devNodeExt->super.deviceObject; in DeviceNodeExtPublishService()
93 struct DeviceNodeExt *devNodeExt = CONTAINER_OF(devNode, struct DeviceNodeExt, super); in DeviceNodeExtRemoveService()
111 HdfDeviceNodeConstruct(&inst->super); in DeviceNodeExtConstruct()
119 if (DeviceNodeExtRemoveService(&devnode->super) != HDF_SUCCESS) { in DeviceNodeExtDestruct()
122 HdfDeviceNodeDestruct(&devnode->super); in DeviceNodeExtDestruct()
/drivers/hdf_core/adapter/khdf/liteos_m/core/common/src/
Dhdf_device_node_ext.c61 HdfDeviceNodeConstruct(&inst->super); in DeviceNodeExtConstruct()
81 HdfDeviceNodeDestruct(&instance->super); in DeviceNodeExtRelease()
/drivers/hdf_core/adapter/khdf/uniproton/core/common/src/
Dhdf_device_node_ext.c57 HdfDeviceNodeConstruct(&inst->super); in DeviceNodeExtConstruct()
76 HdfDeviceNodeDestruct(&instance->super); in DeviceNodeExtRelease()
/drivers/hdf_core/adapter/uhdf2/manager/include/
Ddevmgr_query_device.h22 int DevFillQueryDeviceInfo(struct IDevmgrService *super, struct HdfSBuf *data, struct HdfSBuf *repl…
/drivers/hdf_core/adapter/uhdf2/host/include/
Dhdf_device_full.h23 struct HdfDevice super; member
Ddevice_token_stub.h23 struct HdfDeviceToken super; member
Ddriver_loader_full.h26 struct HdfDriverLoader super; member
/drivers/hdf_core/framework/core/common/include/manager/
Dhdf_device_node_ext.h16 struct HdfDeviceNode super; member

123