Home
last modified time | relevance | path

Searched refs:_scale (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-pid-control/dbus/
H A Ddbuspassive.cpp331 _scale = settings.scale; in initFromSettings()
332 _min = settings.min * std::pow(10.0, _scale); in initFromSettings()
333 _max = settings.max * std::pow(10.0, _scale); in initFromSettings()
351 return _scale; in getScale()
386 value *= std::pow(10.0, _scale); in updateValue()
H A Ddbuspassive.hpp73 int64_t _scale; member in pid_control::DbusPassive
/openbmc/phosphor-hwmon/
H A Dsensor.hpp159 return _scale; in getScale()
199 int64_t _scale; member in sensor::Sensor
H A Dsensor.cpp34 _sensor(sensor), _ioAccess(ioAccess), _devPath(devPath), _scale(0), in Sensor()
114 value *= std::pow(10, _scale); in adjustValue()
188 _scale = hwmon::getScale(attrs); in addValue()
/openbmc/phosphor-pid-control/test/
H A Ddbus_passive_unittest.cpp94 prop->scale = _scale; in DbusPassiveTestObj()
120 int64_t _scale = -3; member in pid_control::__anon034d0c530111::DbusPassiveTestObj
153 EXPECT_EQ(_scale, passive->getScale()); in TEST_F()
628 prop->scale = _scale; in DbusPassiveTestUnaSensorNotAsFailedObj()
654 int64_t _scale = -3; member in pid_control::__anon034d0c530111::DbusPassiveTestUnaSensorNotAsFailedObj
862 int64_t _scale = -3; member in pid_control::__anon034d0c530111::DbusPassiveTest3kMaxObj
909 int64_t _scale = -3; member in pid_control::__anon034d0c530111::DbusPassiveTest3kMaxIgnoredObj