| /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-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-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-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-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-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 …]
|
| /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 …]
|
| /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 | 34 std::string sensorId; in TEST() local 36 sensorId = getSensorId("fan0_0", "fan_tach"); in TEST() 37 EXPECT_EQ(sensorId, "fantach_fan0_0"); in TEST() 39 sensorId = getSensorId("0_1", "fan_pwm"); in TEST() 40 EXPECT_EQ(sensorId, "fanpwm_0_1"); in TEST() 42 sensorId = getSensorId("fan2", "fan_tach"); in TEST() 43 EXPECT_EQ(sensorId, "fantach_fan2"); in TEST() 45 sensorId = getSensorId("fan_3", "fan_tach"); in TEST() 46 EXPECT_EQ(sensorId, "fantach_fan_3"); in TEST() 48 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() 101 eventData->sensor_id = sensorId; in sendStateSensorEvent() 113 [this, sensorEventDataVec, dbusValueMapping, dbusMapping, sensorId, in sendStateSensorEvent() 155 if (sensorCacheMap.contains(sensorId) && in sendStateSensorEvent() 156 sensorCacheMap[sensorId][offset] != in sendStateSensorEvent() 159 previousState = sensorCacheMap[sensorId][offset]; in sendStateSensorEvent() 168 updateSensorCacheMaps(sensorId, offset, previousState); in sendStateSensorEvent() 182 [this](SensorId sensorId, const DbusObjMaps& dbusMaps) { in listenSensorEvent() [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() 181 handler.updateSensorCache(sensorId, offset, previousState); in getStateSensorReadingsHandler() [all …]
|
| /openbmc/pldm/oem/ampere/event/ |
| H A D | oem_event_manager.hpp | 301 * @param[in] sensorId - Sensor ID 305 std::string prefixMsgStrCreation(pldm_tid_t tid, uint16_t sensorId); 329 * @param[in] sensorId - sensorID 333 uint8_t sensorIdToDIMMIdx(const uint16_t& sensorId); 346 * @param[in] sensorId - Sensor ID 349 void handlePCIeHotPlugEvent(pldm_tid_t tid, uint16_t sensorId, 355 * @param[in] sensorId - Sensor ID 358 void handleBootOverallEvent(pldm_tid_t tid, uint16_t sensorId, 364 * @param[in] sensorId - Sensor ID 367 void handleDIMMStatusEvent(pldm_tid_t tid, uint16_t sensorId, [all …]
|
| H A D | oem_event_manager.cpp | 216 uint16_t sensorId) in prefixMsgStrCreation() argument 220 if (!sensorIdToStrMap.contains(sensorId)) in prefixMsgStrCreation() 222 description += "Sensor ID " + std::to_string(sensorId) + " of "; in prefixMsgStrCreation() 226 description += "Sensor " + sensorIdToStrMap[sensorId] + " of "; in prefixMsgStrCreation() 290 uint8_t OemEventManager::sensorIdToDIMMIdx(const uint16_t& sensorId) in sensorIdToDIMMIdx() argument 293 int sensorId_Off = sensorId - 4; in sensorIdToDIMMIdx() 302 void OemEventManager::handleBootOverallEvent(pldm_tid_t tid, uint16_t sensorId, in handleBootOverallEvent() argument 392 source = prefixMsgStrCreation(tid, sensorId); in handleBootOverallEvent() 398 pldm_tid_t tid, uint16_t sensorId, const uint8_t* sensorData, in processNumericSensorEvent() argument 416 // DIMMx_Status sensorID 4+2*index (index 0 -> maxDIMMInstantNum-1) in processNumericSensorEvent() [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() 134 "type='signal',member='PropertiesChanged',path='"s + sensorId.path + in makeSignalMonitor() 171 self->sensorId.path.c_str())); in signalProc() 180 return LabeledSensorInfo(sensorId.service, sensorId.path, sensorMetadata); in getLabeledSensorInfo()
|
| /openbmc/dbus-sensors/src/nvidia-gpu/ |
| H A D | NvidiaGpuSensor.cpp | 41 const std::string& sensorConfiguration, const uint8_t eid, uint8_t sensorId, in NvidiaGpuTempSensor() argument 47 eid(eid), sensorId{sensorId}, mctpRequester(mctpRequester), in NvidiaGpuTempSensor() 67 if (sensorId == gpuTLimitSensorId) 83 "EID", eid, "SID", sensorId); 114 "EID", eid, "SID", sensorId, "RC", ec.message()); in processResponse() 130 "EID", eid, "SID", sensorId, "RC", rc, "CC", cc, "RESC", in processResponse() 141 0, sensorId, getTemperatureReadingRequest); in update() 147 "EID", eid, "SID", sensorId, "RC", rc); in update()
|
| H A D | NvidiaGpuPowerPeakReading.cpp | 30 uint8_t sensorId, sdbusplus::asio::object_server& objectServer) : in NvidiaGpuPowerPeakReading() argument 31 eid(eid), sensorId{sensorId}, mctpRequester(mctpRequester), in NvidiaGpuPowerPeakReading() 61 "EID", eid, "SID", sensorId, "RC", ec.message()); in processResponse() 76 "EID", eid, "SID", sensorId, "RC", rc, "CC", cc, "RESC", in processResponse() 91 gpu::PlatformEnvironmentalCommands::GET_MAX_OBSERVED_POWER, 0, sensorId, in update() 98 "EID", eid, "SID", sensorId, "RC", rc); in update()
|
| H A D | NvidiaGpuMctpVdm.cpp | 89 int encodeGetTemperatureReadingRequest(uint8_t instanceId, uint8_t sensorId, in encodeGetTemperatureReadingRequest() argument 115 msg->hdr.data_size = sizeof(sensorId); in encodeGetTemperatureReadingRequest() 116 msg->sensor_id = sensorId; in encodeGetTemperatureReadingRequest() 155 int encodeReadThermalParametersRequest(uint8_t instanceId, uint8_t sensorId, in encodeReadThermalParametersRequest() argument 181 msg->hdr.data_size = sizeof(sensorId); in encodeReadThermalParametersRequest() 182 msg->sensor_id = sensorId; in encodeReadThermalParametersRequest() 221 uint8_t instanceId, uint8_t sensorId, in encodeGetPowerDrawRequest() argument 246 msg->hdr.data_size = sizeof(sensorId) + sizeof(averagingInterval); in encodeGetPowerDrawRequest() 247 msg->sensorId = sensorId; in encodeGetPowerDrawRequest() 285 int encodeGetCurrentEnergyCounterRequest(uint8_t instanceId, uint8_t sensorId, in encodeGetCurrentEnergyCounterRequest() argument [all …]
|
| H A D | NvidiaGpuPowerSensor.cpp | 43 const std::string& sensorConfiguration, uint8_t eid, uint8_t sensorId, in NvidiaGpuPowerSensor() argument 49 eid(eid), sensorId{sensorId}, in NvidiaGpuPowerSensor() 93 "EID", eid, "SID", sensorId, "RC", ec.message()); in processResponse() 108 "EID", eid, "SID", sensorId, "RC", rc, "CC", cc, "RESC", in processResponse() 121 gpu::PlatformEnvironmentalCommands::GET_CURRENT_POWER_DRAW, 0, sensorId, in update() 128 "EID", eid, "SID", sensorId, "RC", rc); in update()
|
| H A D | NvidiaGpuEnergySensor.cpp | 43 const std::string& sensorConfiguration, const uint8_t eid, uint8_t sensorId, in NvidiaGpuEnergySensor() argument 49 eid(eid), sensorId{sensorId}, mctpRequester(mctpRequester), in NvidiaGpuEnergySensor() 91 "EID", eid, "SID", sensorId, "RC", ec.message()); in processResponse() 106 "EID", eid, "SID", sensorId, "RC", rc, "CC", cc, "RESC", in processResponse() 118 auto rc = gpu::encodeGetCurrentEnergyCounterRequest(0, sensorId, request); in update() 124 "EID", eid, "SID", sensorId, "RC", rc); in update()
|
| /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}…
|