/drivers/hdf_core/adapter/uhdf2/manager/src/ |
D | devsvc_manager_stub.c | 229 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 …]
|
D | devmgr_service_stub.c | 51 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 …]
|
D | device_token_proxy.c | 41 OsalMemFree((void *)inst->super.servName); in HdfDevTokenProxyRecycle() 42 OsalMemFree((void *)inst->super.deviceName); in HdfDevTokenProxyRecycle()
|
D | devmgr_service_full.c | 71 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()
|
D | devhost_service_proxy.c | 109 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/ |
D | devsvc_manager_ext.c | 24 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/ |
D | hdf_device.c | 108 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()
|
D | devhost_service.c | 67 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()
|
D | hdf_device_token.c | 15 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()
|
D | hdf_device_object.c | 219 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()
|
D | hdf_driver_loader.c | 58 inst->super.GetDriver = HdfDriverLoaderGetDriver; in HdfDriverLoaderConstruct() 59 inst->super.ReclaimDriver = HdfDriverLoaderReclaimDriver; in HdfDriverLoaderConstruct()
|
/drivers/hdf_core/adapter/uhdf2/host/src/ |
D | devhost_service_stub.c | 90 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()
|
D | devhost_service_full.c | 36 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()
|
D | hdf_device_thread.c | 31 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()
|
D | device_token_stub.c | 30 struct IDevHostService *super = (struct IDevHostService *)&tokenStub->super; in DeviceTokenStubDispatch() local 31 if (super == NULL) { in DeviceTokenStubDispatch()
|
D | device_service_stub.c | 27 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/ |
D | devmgr_service_start.c | 46 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()
|
D | hdf_device_node_ext.c | 63 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/ |
D | hdf_device_node_ext.c | 61 HdfDeviceNodeConstruct(&inst->super); in DeviceNodeExtConstruct() 81 HdfDeviceNodeDestruct(&instance->super); in DeviceNodeExtRelease()
|
/drivers/hdf_core/adapter/khdf/uniproton/core/common/src/ |
D | hdf_device_node_ext.c | 57 HdfDeviceNodeConstruct(&inst->super); in DeviceNodeExtConstruct() 76 HdfDeviceNodeDestruct(&instance->super); in DeviceNodeExtRelease()
|
/drivers/hdf_core/adapter/uhdf2/manager/include/ |
D | devmgr_query_device.h | 22 int DevFillQueryDeviceInfo(struct IDevmgrService *super, struct HdfSBuf *data, struct HdfSBuf *repl…
|
/drivers/hdf_core/adapter/uhdf2/host/include/ |
D | hdf_device_full.h | 23 struct HdfDevice super; member
|
D | device_token_stub.h | 23 struct HdfDeviceToken super; member
|
D | driver_loader_full.h | 26 struct HdfDriverLoader super; member
|
/drivers/hdf_core/framework/core/common/include/manager/ |
D | hdf_device_node_ext.h | 16 struct HdfDeviceNode super; member
|