Lines Matching defs:pdr

18 using namespace pldm::pdr;
29 pldm::pdr::EntityType entityType, EntityInstance entityInstance,
211 pldm_state_effecter_pdr* pdr =
213 if (!pdr)
220 pdr->hdr.record_handle = 0;
221 pdr->hdr.version = 1;
222 pdr->hdr.type = PLDM_STATE_EFFECTER_PDR;
223 pdr->hdr.record_change_num = 0;
224 pdr->hdr.length = sizeof(pldm_state_effecter_pdr) - sizeof(pldm_pdr_hdr);
225 pdr->terminus_handle = TERMINUS_HANDLE;
226 pdr->effecter_id = platformHandler->getNextEffecterId();
227 pdr->entity_type = entityType;
228 pdr->entity_instance = entityInstance;
229 pdr->container_id = 1;
230 pdr->effecter_semantic_id = 0;
231 pdr->effecter_init = PLDM_NO_INIT;
232 pdr->has_description_pdr = false;
233 pdr->composite_effecter_count = 1;
235 auto* possibleStatesPtr = pdr->possible_states;
264 pldm_state_effecter_pdr* pdr =
266 if (!pdr)
276 pdr->hdr.record_handle = 0;
277 pdr->hdr.version = 1;
278 pdr->hdr.type = PLDM_STATE_EFFECTER_PDR;
279 pdr->hdr.record_change_num = 0;
280 pdr->hdr.length =
282 pdr->terminus_handle = TERMINUS_HANDLE;
283 pdr->effecter_id = platformHandler->getNextEffecterId();
287 pdr->entity_type = associatedEntityMap.at(entity_path).entity_type;
288 pdr->entity_instance =
290 pdr->container_id =
292 platformHandler->effecterIdToDbusMap[pdr->effecter_id] =
300 pdr->effecter_semantic_id = 0;
301 pdr->effecter_init = PLDM_NO_INIT;
302 pdr->has_description_pdr = false;
303 pdr->composite_effecter_count = 1;
305 auto* possibleStatesPtr = pdr->possible_states;
329 pldm_state_sensor_pdr* pdr =
331 if (!pdr)
337 pdr->hdr.record_handle = 0;
338 pdr->hdr.version = 1;
339 pdr->hdr.type = PLDM_STATE_SENSOR_PDR;
340 pdr->hdr.record_change_num = 0;
341 pdr->hdr.length = sizeof(pldm_state_sensor_pdr) - sizeof(pldm_pdr_hdr);
342 pdr->terminus_handle = TERMINUS_HANDLE;
343 pdr->sensor_id = platformHandler->getNextSensorId();
344 pdr->entity_type = entityType;
345 pdr->entity_instance = entityInstance;
346 pdr->container_id = 1;
347 pdr->sensor_init = PLDM_NO_INIT;
348 pdr->sensor_auxiliary_names_pdr = false;
349 pdr->composite_sensor_count = 1;
351 auto* possibleStatesPtr = pdr->possible_states;
379 pldm_state_sensor_pdr* pdr =
381 if (!pdr)
390 pdr->hdr.record_handle = 0;
391 pdr->hdr.version = 1;
392 pdr->hdr.type = PLDM_STATE_SENSOR_PDR;
393 pdr->hdr.record_change_num = 0;
394 pdr->hdr.length = sizeof(pldm_state_sensor_pdr) - sizeof(pldm_pdr_hdr);
395 pdr->terminus_handle = TERMINUS_HANDLE;
396 pdr->sensor_id = platformHandler->getNextSensorId();
399 pdr->entity_type = associatedEntityMap.at(entity_path).entity_type;
400 pdr->entity_instance =
402 pdr->container_id =
411 pdr->sensor_init = PLDM_NO_INIT;
412 pdr->sensor_auxiliary_names_pdr = false;
413 pdr->composite_sensor_count = 1;
415 auto* possibleStatesPtr = pdr->possible_states;
440 pldm_state_effecter_pdr* pdr =
442 if (!pdr)
450 pdr->hdr.record_handle = 0;
451 pdr->hdr.version = 1;
452 pdr->hdr.type = PLDM_STATE_EFFECTER_PDR;
453 pdr->hdr.record_change_num = 0;
454 pdr->hdr.length = sizeof(pldm_state_effecter_pdr) - sizeof(pldm_pdr_hdr);
455 pdr->terminus_handle = TERMINUS_HANDLE;
456 pdr->effecter_id = platformHandler->getNextEffecterId();
457 pdr->entity_type = entityType;
458 pdr->entity_instance = entityInstance;
459 pdr->container_id = 1;
460 pdr->effecter_semantic_id = 0;
461 pdr->effecter_init = PLDM_NO_INIT;
462 pdr->has_description_pdr = false;
463 pdr->composite_effecter_count = 1;
465 auto* possibleStatesPtr = pdr->possible_states;
489 pldm_state_sensor_pdr* pdr =
491 if (!pdr)
499 pdr->hdr.record_handle = 0;
500 pdr->hdr.version = 1;
501 pdr->hdr.type = PLDM_STATE_SENSOR_PDR;
502 pdr->hdr.record_change_num = 0;
503 pdr->hdr.length = sizeof(pldm_state_sensor_pdr) - sizeof(pldm_pdr_hdr);
504 pdr->terminus_handle = TERMINUS_HANDLE;
505 pdr->sensor_id = platformHandler->getNextSensorId();
506 pdr->entity_type = entityType;
507 pdr->entity_instance = entityInstance;
508 pdr->container_id = 1;
509 pdr->sensor_init = PLDM_NO_INIT;
510 pdr->sensor_auxiliary_names_pdr = false;
511 pdr->composite_sensor_count = 1;
513 auto* possibleStatesPtr = pdr->possible_states;