Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/
H A DFanMain.cpp140 bool findPwmfanPath(unsigned int configPwmfanIndex, fs::path& pwmPath) in findPwmfanPath() argument
168 pwmPath = path; in findPwmfanPath()
191 return findPwmfanPath(pwm, pwmPath); in findPwmPath()
194 pwmPath = path; in findPwmPath()
505 fs::path pwmPath; in createSensors() local
516 if (!findPwmPath(directory, pwm, pwmPath)) in createSensors()
526 pwmPath.parent_path() / pwmEnableFile; in createSensors()
590 if (!pwmPath.empty() && fs::exists(pwmPath) && in createSensors()
591 (pwmSensors.count(pwmPath) == 0U)) in createSensors()
593 pwmSensors[pwmPath] = std::make_unique<PwmSensor>( 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()