Searched refs:svcmgrInst (Results 1 – 2 of 2) sorted by relevance
/drivers/hdf_core/framework/core/shared/src/ |
D | svcmgr_ioservice.c | 24 static int32_t ProcessListenClass(struct SvcMgrIoservice *svcmgrInst, uint16_t devClass, int cmdId) in ProcessListenClass() argument 32 if (svcmgrInst->iosvc == NULL || svcmgrInst->iosvc->dispatcher == NULL || in ProcessListenClass() 33 svcmgrInst->iosvc->dispatcher->Dispatch == NULL) { in ProcessListenClass() 37 int32_t ret = svcmgrInst->iosvc->dispatcher->Dispatch( in ProcessListenClass() 38 (struct HdfObject *)svcmgrInst->iosvc, cmdId, data, NULL); in ProcessListenClass() 43 static int32_t SetListenClass(struct SvcMgrIoservice *svcmgrInst, uint16_t devClass) in SetListenClass() argument 45 return ProcessListenClass(svcmgrInst, devClass, SVCMGR_REGISTER_LISTENER); in SetListenClass() 48 static int32_t UnSetListenClass(struct SvcMgrIoservice *svcmgrInst, uint16_t devClass) in UnSetListenClass() argument 50 return ProcessListenClass(svcmgrInst, devClass, SVCMGR_UNREGISTER_LISTENER); in UnSetListenClass() 60 struct SvcMgrIoservice *svcmgrInst = CONTAINER_OF(self, struct SvcMgrIoservice, svcmgr); in SvcMgrIoserviceRegSvcStatListener() local [all …]
|
/drivers/hdf_core/framework/core/manager/src/ |
D | devsvc_manager_ext.c | 41 struct DevSvcManagerExt *svcmgrInst = NULL; in DevSvcManagerExtRegisterListener() local 45 svcmgrInst = (struct DevSvcManagerExt *)DevSvcManagerGetInstance(); in DevSvcManagerExtRegisterListener() 63 return svcmgrInst->super.super.RegsterServListener(&svcmgrInst->super.super, holder); in DevSvcManagerExtRegisterListener() 69 struct DevSvcManagerExt *svcmgrInst = NULL; in DevSvcManagerExtUnRegisterListener() local 75 svcmgrInst = (struct DevSvcManagerExt *)client->device->priv; in DevSvcManagerExtUnRegisterListener() 76 OsalMutexLock(&svcmgrInst->mutex); in DevSvcManagerExtUnRegisterListener() 79 OsalMutexUnlock(&svcmgrInst->mutex); in DevSvcManagerExtUnRegisterListener() 83 svcmgrInst->super.super.UnregsterServListener(&svcmgrInst->super.super, holder); in DevSvcManagerExtUnRegisterListener() 86 OsalMutexUnlock(&svcmgrInst->mutex); in DevSvcManagerExtUnRegisterListener()
|