Lines Matching +full:entity +full:- +full:manager
5 #include <phosphor-logging/lg2.hpp>
47 const pldm_entity entity = getEntityIDfromEffecterID(effecterId); in enableSlot() local
51 if (entity.entity_instance_num == value.entity_instance_num && in enableSlot()
52 entity.entity_type == value.entity_type && in enableSlot()
53 entity.entity_container_id == value.entity_container_id) in enableSlot()
55 this->currentOnGoingSlotEntity.entity_type = value.entity_type; in enableSlot()
56 this->currentOnGoingSlotEntity.entity_instance_num = in enableSlot()
58 this->currentOnGoingSlotEntity.entity_container_id = in enableSlot()
66 const pldm_entity& entity, in processSlotOperations() argument
89 createPresenceMatch(adapterObjPath, entity, stateFieldValue); in processSlotOperations()
91 // call the VPD Manager to collect/remove VPD objects in processSlotOperations()
101 static constexpr auto VPDObjPath = "/com/ibm/VPD/Manager"; in callVPDManager()
102 static constexpr auto VPDInterface = "com.ibm.VPD.Manager"; in callVPDManager()
129 … "failed to make a d-bus call to VPD Manager , Operation = {STATE_FILED_VAL}, ERROR={ERROR}", in callVPDManager()
157 const pldm_entity& entity, in createPresenceMatch() argument
165 entity](sdbusplus::message_t& msg) { in createPresenceMatch()
172 bool value = std::get<bool>(itr->second); in createPresenceMatch()
174 this->processPresentPropertyChange(value, stateFieldValue, in createPresenceMatch()
175 entity); in createPresenceMatch()
181 bool presentValue, uint8_t stateFiledvalue, const pldm_entity& entity) in processPresentPropertyChange() argument
183 // irrespective of true->false or false->true change, we should stop the in processPresentPropertyChange()
193 pdrRepo, 0, PLDM_ENTITY_SLOT, entity.entity_instance_num, in processPresentPropertyChange()
194 entity.entity_container_id, PLDM_OEM_IBM_PCIE_SLOT_SENSOR_STATE); in processPresentPropertyChange()
216 this->sendStateSensorEvent(sensorId, PLDM_STATE_SENSOR_STATE, 0, in processPresentPropertyChange()
234 auto compositeEffecterCount = pdr->composite_effecter_count; in getEntityIDfromEffecterID()
235 auto possible_states_start = pdr->possible_states; in getEntityIDfromEffecterID()
244 if (possibleStates->state_set_id == in getEntityIDfromEffecterID()
246 effecterId == pdr->effecter_id) in getEntityIDfromEffecterID()
248 parentFruEntity.entity_type = pdr->entity_type; in getEntityIDfromEffecterID()
249 parentFruEntity.entity_instance_num = pdr->entity_instance; in getEntityIDfromEffecterID()
250 parentFruEntity.entity_container_id = pdr->container_id; in getEntityIDfromEffecterID()
305 oemIbmPlatformHandler->sendStateSensorEvent( in sendStateSensorEvent()
325 …"failed to make a d-bus call to Inventory manager from adapterObjectPath : {ADAPTER_OBJ_PATH} with… in fetchSensorStateFromDbus()