Home
last modified time | relevance | path

Searched refs:ValueIface (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.cpp210 ValueIface::maxValue( in parseConfigInterface()
212 ValueIface::minValue( in parseConfigInterface()
408 value = std::clamp(value, ValueIface::minValue(), ValueIface::maxValue()); in setSensorValue()
409 ValueIface::value(value); in setSensorValue()
690 {"fan_tach", ValueIface::Unit::RPMS},
691 {"fan_pwm", ValueIface::Unit::Percent},
692 {"voltage", ValueIface::Unit::Volts},
693 {"altitude", ValueIface::Unit::Meters},
695 {"power", ValueIface::Unit::Watts},
696 {"energy", ValueIface::Unit::Joules},
[all …]
H A DvirtualSensor.hpp37 using ValueIface = sdbusplus::xyz::openbmc_project::Sensor::server::Value; typedef
38 using ValueObject = ServerObject<ValueIface>;