Searched refs:sensorInfo (Results 1 – 9 of 9) sorted by relevance
/openbmc/phosphor-host-ipmid/ |
H A D | sensordatahandler.hpp | 82 inline SensorName nameProperty(const Info& sensorInfo) in nameProperty() argument 84 return sensorInfo.propertyInterfaces.begin()->second.begin()->first; in nameProperty() 95 inline SensorName nameLeaf(const Info& sensorInfo) in nameLeaf() argument 97 return sensorInfo.sensorPath.substr( in nameLeaf() 98 sensorInfo.sensorPath.find_last_of('/') + 1, in nameLeaf() 99 sensorInfo.sensorPath.length()); in nameLeaf() 112 inline SensorName nameLeafProperty(const Info& sensorInfo) in nameLeafProperty() argument 114 return nameLeaf(sensorInfo) + "_" + nameProperty(sensorInfo); in nameLeafProperty() 126 SensorName nameParentLeaf(const Info& sensorInfo); 138 GetSensorResponse mapDbusToAssertion(const Info& sensorInfo, [all …]
|
H A D | sensordatahandler.cpp | 53 SensorName nameParentLeaf(const Info& sensorInfo) in nameParentLeaf() argument 55 const auto pos = sensorInfo.sensorPath.find_last_of('/'); in nameParentLeaf() 56 const auto leaf = sensorInfo.sensorPath.substr(pos + 1); in nameParentLeaf() 58 const auto remaining = sensorInfo.sensorPath.substr(0, pos); in nameParentLeaf() 67 GetSensorResponse mapDbusToAssertion(const Info& sensorInfo, in mapDbusToAssertion() argument 78 const auto& interfaceList = sensorInfo.propertyInterfaces; in mapDbusToAssertion() 101 GetSensorResponse mapDbusToEventdata2(const Info& sensorInfo) in mapDbusToEventdata2() argument 108 auto service = ipmi::getService(bus, sensorInfo.sensorInterface, in mapDbusToEventdata2() 109 sensorInfo.sensorPath); in mapDbusToEventdata2() 111 const auto& interfaceList = sensorInfo.propertyInterfaces; in mapDbusToEventdata2() [all …]
|
H A D | sensorhandler.cpp | 585 const auto& sensorInfo = iter->second; in ipmiSensorGetSensorReading() local 586 ec = ipmi::getService(ctx, sensorInfo.sensorInterface, in ipmiSensorGetSensorReading() 587 sensorInfo.sensorPath, service); in ipmiSensorGetSensorReading() 592 fillSensorIdServiceMap(sensorInfo.sensorPath, in ipmiSensorGetSensorReading() 593 sensorInfo.propertyInterfaces.begin()->first, in ipmiSensorGetSensorReading() 598 ctx, service, sensorInfo.sensorPath, in ipmiSensorGetSensorReading() 599 sensorInfo.propertyInterfaces.begin()->first, props); in ipmiSensorGetSensorReading() 603 sensorInfo.sensorPath.c_str(), ec.value(), in ipmiSensorGetSensorReading() 619 sensorInfo.getFunc(sensorNum, sensorInfo, props); in ipmiSensorGetSensorReading()
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | sensor_mock.hpp | 32 for (const auto& sensorInfo : sensorsInfo) in makeSensorMocks() local 37 .WillByDefault(Return(sensorInfo)); in makeSensorMocks()
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_utils.cpp | 206 auto sensorInfo = std::make_tuple(std::move(entityInfo), std::move(sensors), in parseStateSensorPDR() local 209 std::move(sensorInfo)); in parseStateSensorPDR()
|
/openbmc/phosphor-host-ipmid/include/dbus-sdr/ |
H A D | sensorcommands.hpp | 152 struct sensorInfo struct
|
/openbmc/telemetry/tests/src/ |
H A D | test_trigger.cpp | 73 return utils::transform(sensorsInfo, [](const auto& sensorInfo) { in convertToLabeledSensor() argument 74 const auto& [sensorPath, sensorMetadata] = sensorInfo; in convertToLabeledSensor()
|
/openbmc/pldm/host-bmc/ |
H A D | host_pdr_handler.cpp | 446 const auto& [terminusHandle, sensorID, sensorInfo] = in parseStateSensorPDRs() 459 sensorMap.emplace(sensorEntry, std::move(sensorInfo)); in parseStateSensorPDRs()
|
/openbmc/phosphor-host-ipmid/dbus-sdr/ |
H A D | sensorcommands.cpp | 2503 std::vector<sensorInfo> // The list of sensors 2508 std::vector<sensorInfo> sensorList; in getSensorsByEntityId() 2615 auto cmpFunc = [](sensorInfo first, sensorInfo second) { in getSensorsByEntityId()
|