Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/psu/
H A DPSUSensor.cpp45 PSUSensor::PSUSensor( in PSUSensor() function in PSUSensor
105 PSUSensor::~PSUSensor() in ~PSUSensor()
117 bool PSUSensor::isActive() in isActive()
122 void PSUSensor::activate(const std::string& newPath, in activate()
137 void PSUSensor::deactivate() in deactivate()
147 void PSUSensor::setupRead() in setupRead()
163 std::weak_ptr<PSUSensor> weak = weak_from_this(); in setupRead()
172 std::shared_ptr<PSUSensor> self = weak.lock(); in setupRead()
182 void PSUSensor::restartRead() in restartRead()
184 std::weak_ptr<PSUSensor> weakRef = weak_from_this(); in restartRead()
[all …]
H A DPSUSensor.hpp21 class PSUSensor : public Sensor, public std::enable_shared_from_this<PSUSensor> class
24 PSUSensor(const std::string& path, const std::string& objectType,
34 ~PSUSensor() override;
H A Dmeson.build8 'PSUSensor.cpp',
H A DPSUSensorMain.cpp169 static boost::container::flat_map<std::string, std::shared_ptr<PSUSensor>>
559 float pollRate = getPollRate(*baseConfig, PSUSensor::defaultSensorPoll); in createSensorsCallback()
967 sensors[sensorName] = std::make_shared<PSUSensor>( in createSensorsCallback()
1130 boost::container::flat_map<std::string, std::shared_ptr<PSUSensor>>& in powerStateChanged()
/openbmc/dbus-sensors/service_files/
H A Dxyz.openbmc_project.psusensor.service9 BusName=xyz.openbmc_project.PSUSensor