Home
last modified time | relevance | path

Searched refs:sensorInfo (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-host-ipmid/
H A Dsensordatahandler.hpp91 inline SensorName nameProperty(const Info& sensorInfo) in nameProperty() argument
93 return sensorInfo.propertyInterfaces.begin()->second.begin()->first; in nameProperty()
104 inline SensorName nameLeaf(const Info& sensorInfo) in nameLeaf() argument
106 return sensorInfo.sensorPath.substr( in nameLeaf()
107 sensorInfo.sensorPath.find_last_of('/') + 1, in nameLeaf()
108 sensorInfo.sensorPath.length()); in nameLeaf()
121 inline SensorName nameLeafProperty(const Info& sensorInfo) in nameLeafProperty() argument
123 return nameLeaf(sensorInfo) + "_" + nameProperty(sensorInfo); in nameLeafProperty()
135 SensorName nameParentLeaf(const Info& sensorInfo);
147 GetSensorResponse mapDbusToAssertion(const Info& sensorInfo,
[all …]
H A Dsensordatahandler.cpp53 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()
112 GetSensorResponse mapDbusToEventdata2(const Info& sensorInfo) in mapDbusToEventdata2() argument
119 auto service = ipmi::getService(bus, sensorInfo.sensorInterface, in mapDbusToEventdata2()
120 sensorInfo.sensorPath); in mapDbusToEventdata2()
122 const auto& interfaceList = sensorInfo in mapDbusToEventdata2()
157 assertion(const Info & sensorInfo) assertion() argument
163 eventdata2(const Info & sensorInfo) eventdata2() argument
168 assertion(uint8_t id,const Info & sensorInfo,const PropertyMap &) assertion() argument
184 eventdata2(uint8_t id,const Info & sensorInfo,const PropertyMap &) eventdata2() argument
220 eventdata(const SetSensorReadingReq &,const Info & sensorInfo,uint8_t data) eventdata() argument
243 assertion(const SetSensorReadingReq & cmdData,const Info & sensorInfo) assertion() argument
313 assertion(const SetSensorReadingReq & cmdData,const Info & sensorInfo) assertion() argument
398 assertion(const Info & sensorInfo) assertion() argument
[all...]
H A Dsensorhandler.cpp593 const auto& sensorInfo = iter->second; in ipmiSensorGetSensorReading() local
594 ec = ipmi::getService(ctx, sensorInfo.sensorInterface, in ipmiSensorGetSensorReading()
595 sensorInfo.sensorPath, service); in ipmiSensorGetSensorReading()
600 fillSensorIdServiceMap(sensorInfo.sensorPath, in ipmiSensorGetSensorReading()
601 sensorInfo.propertyInterfaces.begin()->first, in ipmiSensorGetSensorReading()
606 ctx, service, sensorInfo.sensorPath, in ipmiSensorGetSensorReading()
607 sensorInfo.propertyInterfaces.begin()->first, props); in ipmiSensorGetSensorReading()
611 sensorInfo.sensorPath.c_str(), ec.value(), in ipmiSensorGetSensorReading()
627 sensorInfo.getFunc(sensorNum, sensorInfo, props); in ipmiSensorGetSensorReading()
/openbmc/telemetry/tests/src/mocks/
H A Dsensor_mock.hpp32 for (const auto& sensorInfo : sensorsInfo) in makeSensorMocks() local
37 .WillByDefault(Return(sensorInfo)); in makeSensorMocks()
/openbmc/pldm/libpldmresponder/
H A Dpdr_utils.cpp206 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 Dsensorcommands.hpp152 struct sensorInfo struct
/openbmc/telemetry/tests/src/
H A Dtest_trigger.cpp79 return utils::transform(sensorsInfo, [](const auto& sensorInfo) { in convertToLabeledSensor() argument
80 const auto& [sensorPath, sensorMetadata] = sensorInfo; in convertToLabeledSensor()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp2522 std::vector<sensorInfo> // The list of sensors
2527 std::vector<sensorInfo> sensorList; in getSensorsByEntityId()
2634 auto cmpFunc = [](sensorInfo first, sensorInfo second) { in getSensorsByEntityId()