Searched refs:SensorIntf (Results 1 – 4 of 4) sorted by relevance
| /openbmc/phosphor-modbus/rtu/device/ |
| H A D | base_device.cpp | 35 std::string(SensorIntf::namespace_path::value) + "/" + sensorType + in getObjectPath() 41 constexpr SensorIntf::Availability::properties_t initAvailability{}; in createSensors() 42 constexpr SensorIntf::OperationalStatus::properties_t initOperationalStatus{ in createSensors() 44 constexpr SensorIntf::Warning::properties_t initWarning{}; in createSensors() 45 constexpr SensorIntf::Critical::properties_t initCritical{}; in createSensors() 46 const SensorIntf::Definitions::properties_t initAssociations{ in createSensors() 52 SensorIntf::Value::properties_t initValue = { in createSensors() 60 auto sensor = std::make_unique<SensorIntf>( in createSensors() 197 std::string(SensorIntf::namespace_path::value) + "/" + name); in getObjectPath() 228 SensorIntf& sensor, config::StatusType statusType, bool statusAsserted) in updateSensorOnStatusChange() [all …]
|
| H A D | base_device.hpp | 22 using SensorIntf = sdbusplus::async::server_t< typedef 52 double sensorValue, SensorIntf::Unit sensorUnit, 56 std::unordered_map<std::string, std::unique_ptr<SensorIntf>>;
|
| /openbmc/openpower-occ-control/ |
| H A D | occ_dbus.cpp | 31 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setMaxValue() 58 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setMinValue() 85 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setValue() 112 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setUnit() 117 sensors.at(path)->unit(SensorIntf::convertUnitFromString(value)); in setUnit() 134 return SensorIntf::convertUnitToString(sensors.at(path)->unit()); in getUnit() 241 std::make_unique<SensorIntf>(utils::getBus(), path.c_str()); in setDvfsTemp()
|
| H A D | occ_dbus.hpp | 17 using SensorIntf = sdbusplus::server::object_t< typedef 175 std::map<ObjectPath, std::unique_ptr<SensorIntf>> sensors; 190 std::map<std::string, std::unique_ptr<SensorIntf>> dvfsTemps;
|