Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp39 PwmSensor::PwmSensor(const std::string& pwmname, const std::string& sysPath, in PwmSensor() argument
44 sysPath(sysPath), objectServer(objectServer), in PwmSensor()
199 std::ofstream ref(sysPath); in setValue()
211 std::ifstream ref(sysPath); in getValue()
214 lg2::error("Error opening '{PATH}'", "PATH", sysPath); in getValue()
220 lg2::error("Error reading pwm at '{PATH}'", "PATH", sysPath); in getValue()
H A DPwmSensor.hpp13 PwmSensor(const std::string& pwmname, const std::string& sysPath,
21 std::string sysPath; member in PwmSensor