Searched refs:ctrlMgr (Results 1 – 3 of 3) sorted by relevance
116 int32_t RegisterControllerToList(struct ControllerManager *ctrlMgr) in RegisterControllerToList() argument119 if (ctrlMgr == NULL) { in RegisterControllerToList()130 node->ctrlMgr = ctrlMgr; in RegisterControllerToList()141 struct ControllerManager *ctrlMgr = NULL; in GetControllerFromList() local153 if (getNode->ctrlMgr != NULL && getNode->ctrlMgr->effectId != NULL) { in GetControllerFromList()154 if (strcmp(getNode->ctrlMgr->effectId, effectId) == 0) { in GetControllerFromList()155 ctrlMgr = getNode->ctrlMgr; in GetControllerFromList()158 return ctrlMgr; in GetControllerFromList()
118 struct ControllerManager *ctrlMgr = NULL; in EffectModelCreateEffectController() local139 ctrlMgr = (struct ControllerManager *)OsalMemCalloc(sizeof(struct ControllerManager)); in EffectModelCreateEffectController()140 if (ctrlMgr == NULL) { in EffectModelCreateEffectController()145 ctrlMgr->ctrlOps = ctrlOps; in EffectModelCreateEffectController()146 ctrlMgr->effectId = strdup(info->effectId); in EffectModelCreateEffectController()147 ctrlMgr->ctrlImpls.EffectProcess = EffectControlEffectProcess; in EffectModelCreateEffectController()148 ctrlMgr->ctrlImpls.SendCommand = EffectControlSendCommand; in EffectModelCreateEffectController()149 ctrlMgr->ctrlImpls.GetEffectDescriptor = EffectGetOwnDescriptor; in EffectModelCreateEffectController()150 ctrlMgr->ctrlImpls.EffectReverse = EffectControlEffectReverse; in EffectModelCreateEffectController()151 *contoller = &ctrlMgr->ctrlImpls; in EffectModelCreateEffectController()[all …]
36 struct ControllerManager *ctrlMgr; member45 int32_t RegisterControllerToList(struct ControllerManager *ctrlMgr);