Searched refs:tokenClnt (Results 1 - 7 of 7) sorted by relevance
/drivers/hdf_core/framework/core/manager/src/ |
H A D | device_token_clnt.c | 16 static void DeviceTokenClntConstruct(struct DeviceTokenClnt *tokenClnt, struct IHdfDeviceToken *tokenIf) in DeviceTokenClntConstruct() argument 18 tokenClnt->tokenIf = tokenIf; in DeviceTokenClntConstruct() 19 tokenClnt->deviceInfo = NULL; in DeviceTokenClntConstruct() 24 struct DeviceTokenClnt *tokenClnt = NULL; in DeviceTokenClntNewInstance() local 29 tokenClnt = (struct DeviceTokenClnt *)OsalMemCalloc(sizeof(struct DeviceTokenClnt)); in DeviceTokenClntNewInstance() 30 if (tokenClnt != NULL) { in DeviceTokenClntNewInstance() 31 DeviceTokenClntConstruct(tokenClnt, tokenIf); in DeviceTokenClntNewInstance() 33 return tokenClnt; in DeviceTokenClntNewInstance() 36 void DeviceTokenClntFreeInstance(struct DeviceTokenClnt *tokenClnt) in DeviceTokenClntFreeInstance() argument 38 if (tokenClnt ! in DeviceTokenClntFreeInstance() 45 struct DeviceTokenClnt *tokenClnt = (struct DeviceTokenClnt *)listEntry; DeviceTokenClntDelete() local [all...] |
H A D | power_state_token_clnt.c | 20 struct PowerStateTokenClnt *tokenClnt = in PowerStateTokenClntNewInstance() local 22 if (tokenClnt != NULL) { in PowerStateTokenClntNewInstance() 23 PowerStateTokenClntConstruct(tokenClnt, tokenIf); in PowerStateTokenClntNewInstance() 24 return tokenClnt; in PowerStateTokenClntNewInstance() 26 return tokenClnt; in PowerStateTokenClntNewInstance() 29 void PowerStateTokenClntFreeInstance(struct PowerStateTokenClnt *tokenClnt) in PowerStateTokenClntFreeInstance() argument 31 if (tokenClnt != NULL) { in PowerStateTokenClntFreeInstance() 32 OsalMemFree(tokenClnt); in PowerStateTokenClntFreeInstance()
|
H A D | devmgr_service.c | 245 struct DeviceTokenClnt *tokenClnt = NULL; in DevmgrServiceAttachDevice() local 255 tokenClnt = DeviceTokenClntNewInstance(token); in DevmgrServiceAttachDevice() 256 if (tokenClnt == NULL) { in DevmgrServiceAttachDevice() 257 HDF_LOGE("failed to attach device, tokenClnt is null"); in DevmgrServiceAttachDevice() 261 HdfSListAdd(&hostClnt->devices, &tokenClnt->node); in DevmgrServiceAttachDevice() 267 struct DeviceTokenClnt *tokenClnt = CONTAINER_OF(tokenNode, struct DeviceTokenClnt, node); in HdfSListHostSearchDeviceTokenComparer() local 268 return tokenClnt->tokenIf->devid == devid; in HdfSListHostSearchDeviceTokenComparer() 274 struct DeviceTokenClnt *tokenClnt = NULL; in DevmgrServiceDetachDevice() local 287 tokenClnt = CONTAINER_OF(tokenClntNode, struct DeviceTokenClnt, node); in DevmgrServiceDetachDevice() 288 HdfSListRemove(&hostClnt->devices, &tokenClnt in DevmgrServiceDetachDevice() 386 struct DeviceTokenClnt *tokenClnt = (struct DeviceTokenClnt *)node; DevmgrServiceListAllDevice() local [all...] |
/drivers/hdf_core/framework/core/manager/include/ |
H A D | power_state_token_clnt.h | 23 void PowerStateTokenClntFreeInstance(struct PowerStateTokenClnt *tokenClnt);
|
H A D | device_token_clnt.h | 23 void DeviceTokenClntFreeInstance(struct DeviceTokenClnt *tokenClnt);
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_service_stub.c | 79 struct HdfDevTokenProxy *tokenClnt = HdfDevTokenProxyObtain(NULL); in DevmgrServiceStubDispatchAttachDevice() local 80 if (tokenClnt == NULL) { in DevmgrServiceStubDispatchAttachDevice() 83 tokenClnt->super.devid = deviceId; in DevmgrServiceStubDispatchAttachDevice() 84 tokenClnt->super.servName = HdfStringCopy(servName); in DevmgrServiceStubDispatchAttachDevice() 85 tokenClnt->super.deviceName = HdfStringCopy(deviceName); in DevmgrServiceStubDispatchAttachDevice() 86 return devmgrSvc->AttachDevice(devmgrSvc, &tokenClnt->super); in DevmgrServiceStubDispatchAttachDevice()
|
H A D | devmgr_dump.c | 130 struct DeviceTokenClnt *tokenClnt = (struct DeviceTokenClnt *)node; in DevMgrDumpServiceFindHost() local 131 if (tokenClnt == NULL || tokenClnt->tokenIf == NULL) { in DevMgrDumpServiceFindHost() 134 name = (tokenClnt->tokenIf->servName == NULL) ? "" : tokenClnt->tokenIf->servName; in DevMgrDumpServiceFindHost()
|
Completed in 4 milliseconds