Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/fan/
H A DFanMain.cpp141 bool findPwmfanPath(unsigned int configPwmfanIndex, fs::path& pwmPath) in findPwmfanPath() argument
169 pwmPath = path; in findPwmfanPath()
175 bool findPwmPath(const fs::path& directory, unsigned int pwm, fs::path& pwmPath) in findPwmPath() argument
192 return findPwmfanPath(pwm, pwmPath); in findPwmPath()
195 pwmPath = path; in findPwmPath()
543 fs::path pwmPath; in createSensors() local
554 if (!findPwmPath(directory, pwm, pwmPath)) in createSensors()
563 fs::path enablePath = pwmPath.parent_path() / pwmEnableFile; in createSensors()
627 if (!pwmPath.empty() && fs::exists(pwmPath) && in createSensors()
628 (pwmSensors.count(pwmPath) == 0U)) in createSensors()
[all …]
/openbmc/phosphor-pid-control/dbus/
H A Ddbusconfiguration.cpp847 std::string pwmPath; in init() local
856 pwmPath = outputSensorInterfaces.at(0).first; in init()
864 pwmPath = outputSensorInterfaces.at(idx).first; in init()
871 "fan pwm control at dbus path [" + pwmPath + in init()
880 pwmSensorName = getSensorNameFromPath(pwmPath); in init()
886 fanConfig.writePath = pwmPath; in init()