Home
last modified time | relevance | path

Searched full:sensorintf (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-modbus/rtu/device/
H A Dbase_device.cpp35 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 Dbase_device.hpp22 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 Docc_dbus.cpp31 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 Docc_dbus.hpp17 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;
/openbmc/phosphor-virtual-sensor/src/
H A DdbusSensor.cpp9 static constexpr auto sensorIntf = variable
24 bus, sdbusplus::bus::match::rules::propertiesChanged(path, sensorIntf), in DbusSensor()
51 servName = getService(bus, path, sensorIntf); in initSensorValue()
65 value = getDbusProperty<double>(bus, servName, path, sensorIntf, in initSensorValue()