/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/ |
H A D | fp5280g3-ipmi-inventory-sensors.yaml | 2 sensorID: 5 7 sensorID: 6 12 sensorID: 7 17 sensorID: 8 22 sensorID: 27 27 sensorID: 28 32 sensorID: 29 37 sensorID: 30 42 sensorID: 31 47 sensorID: 32 [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/ |
H A D | gbs-ipmi-inventory-sensors.yaml | 3 sensorID: 0x10 8 sensorID: 0x11 13 sensorID: 0x12 18 sensorID: 0x13 23 sensorID: 0x14 28 sensorID: 0x15 33 sensorID: 0x16 38 sensorID: 0x17 43 sensorID: 0x18 48 sensorID: 0x19 [all …]
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/configuration/romulus-yaml-config/ |
H A D | romulus-ipmi-inventory-sensors.yaml | 4 sensorID: 144 9 sensorID: 140 14 sensorID: 8 19 sensorID: 43 24 sensorID: 44 29 sensorID: 53 34 sensorID: 54 39 sensorID: 55 44 sensorID: 56 49 sensorID: 57 [all …]
|
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/ |
H A D | nicole-ipmi-inventory-sensors.yaml | 4 sensorID: 144 9 sensorID: 140 14 sensorID: 8 19 sensorID: 43 24 sensorID: 44 29 sensorID: 53 34 sensorID: 54 39 sensorID: 55 44 sensorID: 56 49 sensorID: 57 [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/p10bmc-yaml-config/ |
H A D | p10bmc-ipmi-inventory-sensors.yaml | 2 sensorID: 0x01 7 sensorID: 0x02 12 sensorID: 0x03 17 sensorID: 0x04 22 sensorID: 0x05 27 sensorID: 0x06 32 sensorID: 0x07 37 sensorID: 0x08 42 sensorID: 0x09 47 sensorID: 0x0A [all …]
|
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/configuration/ncplite-yaml-config/ |
H A D | ncplite-ipmi-inventory-sensors.yaml | 2 sensorID: 0xf 7 sensorID: 0x10 12 sensorID: 0x11 17 sensorID: 0x12 22 sensorID: 0x13 27 sensorID: 0x14 32 sensorID: 0x20 37 sensorID: 0x21 42 sensorID: 0x22 47 sensorID: 0x23 [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/ |
H A D | nf5280m7-ipmi-inventory-sensors.yaml | 2 sensorID: 1 7 sensorID: 2 12 sensorID: 3 17 sensorID: 4 22 sensorID: 5 27 sensorID: 13 32 sensorID: 34 37 sensorID: 35 42 sensorID: 46 47 sensorID: 47 [all …]
|
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/configuration/s6q-yaml-config/ |
H A D | ipmi-inventory-sensors.yaml | 3 sensorID: 0x01 8 sensorID: 0x02 13 sensorID: 0x03 18 sensorID: 0x04 23 sensorID: 0x05 28 sensorID: 0x06 33 sensorID: 0x07 38 sensorID: 0x08 43 sensorID: 0x09 48 sensorID: 0x0A [all …]
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | inventory-sensor-example.yaml | 2 sensorID: 0xa6 7 sensorID: 0xa8 12 sensorID: 0xba 17 sensorID: 0xbc 22 sensorID: 0xbe 27 sensorID: 0xc0 32 sensorID: 0xc2 37 sensorID: 0xc4 42 sensorID: 0xaa 47 sensorID: 0xac [all …]
|
H A D | inventorysensor.mako.cpp | 16 sensorID = objectPath["sensorID"] 21 ${sensorID},${sensorType},${eventReadingType},${offset}
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-inventory-sel/ |
H A D | config.yaml | 2 sensorID: 0xa6 7 sensorID: 0xa8 12 sensorID: 0xba 17 sensorID: 0xbc 22 sensorID: 0xbe 27 sensorID: 0xc0 32 sensorID: 0xc2 37 sensorID: 0xc4 42 sensorID: 0xaa 47 sensorID: 0xac [all …]
|
/openbmc/openpower-host-ipmi-oem/scripts/ |
H A D | inventory-sensor-example.yaml | 2 sensorID: 0xa6 7 sensorID: 0xa8 12 sensorID: 0xba 17 sensorID: 0xbc 22 sensorID: 0xbe 27 sensorID: 0xc0 32 sensorID: 0xc2 37 sensorID: 0xc4 42 sensorID: 0xaa 47 sensorID: 0xac [all …]
|
H A D | inventorysensor.mako.cpp | 15 sensorID = objectPath["sensorID"] 20 ${sensorID},${sensorType},${eventReadingType},${offset}
|
/openbmc/openbmc/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/evb-npcm845-yaml-config/ |
H A D | evb-npcm845-ipmi-inventory-sensors.yaml | 3 sensorID: 0x01 8 sensorID: 0x02 13 sensorID: 0x03 18 sensorID: 0x04 23 sensorID: 0x05 28 sensorID: 0x06 33 sensorID: 0x07 38 sensorID: 0x08 43 sensorID: 0x09 48 sensorID: 0x0A [all …]
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | sensor_utils_test.cpp | 32 std::string sensorId; in TEST() local 34 sensorId = getSensorId("fan0_0", "fan_tach"); in TEST() 35 EXPECT_EQ(sensorId, "fantach_fan0_0"); in TEST() 37 sensorId = getSensorId("0_1", "fan_pwm"); in TEST() 38 EXPECT_EQ(sensorId, "fanpwm_0_1"); in TEST() 40 sensorId = getSensorId("fan2", "fan_tach"); in TEST() 41 EXPECT_EQ(sensorId, "fantach_fan2"); in TEST() 43 sensorId = getSensorId("fan_3", "fan_tach"); in TEST() 44 EXPECT_EQ(sensorId, "fantach_fan_3"); in TEST() 46 sensorId = getSensorId("temp2", "temperature"); in TEST() [all …]
|
/openbmc/pldm/host-bmc/ |
H A D | dbus_to_event_handler.hpp | 14 using SensorId = uint16_t; typedef 16 std::map<SensorId, std::tuple<pldm::responder::pdr_utils::DbusMappings, 19 std::function<void(SensorId sensorId, const DbusObjMaps& dbusMaps)>; 21 std::map<pldm::pdr::SensorID, pldm::responder::pdr_utils::EventStates>; 64 * @param[in] sensorId - sensor Id of the corresponding sensor 68 inline void updateSensorCacheMaps(pldm::pdr::SensorID sensorId, in updateSensorCacheMaps() argument 72 sensorCacheMap[sensorId][sensorRearm] = previousState; in updateSensorCacheMaps() 77 * @param[in] sensorId - sensor id 79 void sendStateSensorEvent(SensorId sensorId, const DbusObjMaps& dbusMaps);
|
H A D | dbus_to_event_handler.cpp | 79 void DbusToPLDMEvent::sendStateSensorEvent(SensorId sensorId, in sendStateSensorEvent() argument 84 if (!dbusMaps.contains(sensorId)) in sendStateSensorEvent() 95 const auto& [dbusMappings, dbusValMaps] = dbusMaps.at(sensorId); in sendStateSensorEvent() 102 eventData->sensor_id = sensorId; in sendStateSensorEvent() 114 [this, sensorEventDataVec, dbusValueMapping, dbusMapping, sensorId, in sendStateSensorEvent() 157 if (sensorCacheMap.contains(sensorId) && in sendStateSensorEvent() 158 sensorCacheMap[sensorId][offset] != in sendStateSensorEvent() 161 previousState = sensorCacheMap[sensorId][offset]; in sendStateSensorEvent() 170 updateSensorCacheMaps(sensorId, offset, previousState); in sendStateSensorEvent() 184 [this](SensorId sensorId, const DbusObjMaps& dbusMaps) { in listenSensorEvent() [all …]
|
/openbmc/pldm/oem/ampere/event/ |
H A D | oem_event_manager.cpp | 222 OemEventManager::prefixMsgStrCreation(pldm_tid_t tid, uint16_t sensorId) in prefixMsgStrCreation() argument 234 if (!sensorIdToStrMap.contains(sensorId)) in prefixMsgStrCreation() 236 description += "Sensor ID " + std::to_string(sensorId) + ": "; in prefixMsgStrCreation() 240 description += sensorIdToStrMap[sensorId] + ": "; in prefixMsgStrCreation() 278 uint8_t OemEventManager::sensorIdToDIMMIdx(const uint16_t& sensorId) in sensorIdToDIMMIdx() argument 281 int sensorId_Off = sensorId - 4; in sensorIdToDIMMIdx() 291 pldm_tid_t /*tid*/, uint16_t /*sensorId*/, uint32_t presentReading) in handleBootOverallEvent() 384 pldm_tid_t tid, uint16_t sensorId, const uint8_t* sensorData, in processNumericSensorEvent() argument 402 // DIMMx_Status sensorID 4+2*index (index 0 -> maxDIMMInstantNum-1) in processNumericSensorEvent() 403 if (auto dimmIdx = sensorIdToDIMMIdx(sensorId); dimmIdx < maxDIMMInstantNum) in processNumericSensorEvent() [all …]
|
H A D | oem_event_manager.hpp | 291 * @param[in] sensorId - Sensor ID 295 std::string prefixMsgStrCreation(pldm_tid_t tid, uint16_t sensorId); 317 * @param[in] sensorId - sensorID 321 uint8_t sensorIdToDIMMIdx(const uint16_t& sensorId); 334 * @param[in] sensorId - Sensor ID 337 void handlePCIeHotPlugEvent(pldm_tid_t tid, uint16_t sensorId, 343 * @param[in] sensorId - Sensor ID 346 void handleBootOverallEvent(pldm_tid_t /*tid*/, uint16_t /*sensorId*/, 352 * @param[in] sensorId - Sensor ID 355 void handleDIMMStatusEvent(pldm_tid_t tid, uint16_t sensorId, [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | platform_state_sensor.hpp | 72 * @param[in] sensorId - Sensor ID sent by the requester to act on 83 const DBusInterface& dBusIntf, Handler& handler, uint16_t sensorId, in getStateSensorReadingsHandler() argument 114 if (pdr->sensor_id != sensorId) in getStateSensorReadingsHandler() 125 "The requester sent wrong sensor rearm count '{SENSOR_REARM_COUNT}' for the sensor ID '{SENSORID}'", in getStateSensorReadingsHandler() 126 "SENSORID", sensorId, "SENSOR_REARM_COUNT", sensorRearmCnt); in getStateSensorReadingsHandler() 148 sensorId, pldm::responder::pdr_utils::TypeId::PLDM_SENSOR_ID); in getStateSensorReadingsHandler() 153 "SENSOR_ID", sensorId); in getStateSensorReadingsHandler() 157 if (sensorCache.contains(sensorId)) in getStateSensorReadingsHandler() 159 sensorCacheforSensor = sensorCache.at(sensorId); in getStateSensorReadingsHandler() [all...] |
/openbmc/telemetry/src/ |
H A D | sensor.cpp | 11 Sensor::Sensor(interfaces::Sensor::Id sensorId, in Sensor() argument 14 sensorId(std::move(sensorId)), sensorMetadata(sensorMetadata), ioc(ioc), in Sensor() 25 return sensorId; in id() 35 return sensorMetadata.empty() ? sensorId.path : sensorMetadata; in getName() 48 *bus, sensorId.service, sensorId.path, in async_read() 50 [lock, id = sensorId, weakSelf = weak_from_this()]( in async_read() 133 sensorId.path + in makeSignalMonitor() 170 self->sensorId.path.c_str())); in signalProc() 179 return LabeledSensorInfo(sensorId.service, sensorId.path, sensorMetadata); in getLabeledSensorInfo()
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_ipmi_sel.pl | 55 my $sensorID = ''; 65 $sensorID = getNumeric($targetObj, $target, "IPMI_SENSOR_ID"); 76 #if there is ipmi sensor without sensorid or sensorReadingType or 79 if ($sensorID eq '' or $eventReadingType eq '' or $path eq '') { 98 print $fh " sensorID: ".$sensorID."\n"; 103 …printDebug("$sensorID : $sensorType : $eventReadingType : $entityID : $metaDataConfig->{$entityID}…
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | inband_code_update.hpp | 131 * @param[in] sensorId - sensor id for marker lid validation 133 void setMarkerLidSensor(uint16_t sensorId) in setMarkerLidSensor() argument 135 markerLidSensorId = sensorId; in setMarkerLidSensor() 139 * @param[in] sensorId - sensor id for firmware update state 141 void setFirmwareUpdateSensor(uint16_t sensorId) in setFirmwareUpdateSensor() argument 143 firmwareUpdateSensorId = sensorId; in setFirmwareUpdateSensor() 155 * @param[in] sensorId - sensor id for the event 161 void sendStateSensorEvent(uint16_t sensorId,
|
H A D | inband_code_update.cpp | 263 auto sensorId = in setVersions() local 266 sensorId, in setVersions() 287 auto sensorId = in setVersions() local 290 sensorId, in setVersions() 306 auto sensorId = getFirmwareUpdateSensor(); in setVersions() local 308 sensorId, PLDM_STATE_SENSOR_STATE, 0, in setVersions() 361 uint16_t sensorId, enum sensor_event_class_states sensorEventClass, in sendStateSensorEvent() argument 368 sensorId, sensorEventClass, sensorOffset, eventState, prevEventState); in sendStateSensorEvent() 559 auto sensorId = getFirmwareUpdateSensor(); in assembleCodeUpdateImage() local 560 sendStateSensorEvent(sensorId, PLDM_STATE_SENSOR_STATE, 0, in assembleCodeUpdateImage() [all …]
|
/openbmc/pldm/platform-mc/test/ |
H A D | terminus_test.cpp | 46 0x0, // sensorID in TEST() 100 const auto& [sensorId, sensorCnt, names] = *sensorAuxNames; in TEST() 101 EXPECT_EQ(1, sensorId); in TEST() 129 0x0, // sensorID in TEST() 215 const auto& [sensorId, sensorCnt, names] = *sensorAuxNames; in TEST() 216 EXPECT_EQ(1, sensorId); in TEST() 248 0x0, // sensorID in TEST() 335 const auto& [sensorId, sensorCnt, names] = *sensorAuxNames; in TEST() 336 EXPECT_EQ(1, sensorId); in TEST()
|