Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/exit-air/
H A DExitAirTempSensor.cpp363 uint64_t pwmPercent = 100; in getMaxRpm() local
367 return pwmPercent; in getMaxRpm()
379 pwmPercent--; in getMaxRpm()
383 if (pwmPercent == 0) in getMaxRpm()
387 else if (pwmPercent < tachMinPercent) in getMaxRpm()
391 else if (pwmPercent > tachMaxPercent) in getMaxRpm()
397 ci = c1 + (((c2 - c1) * (pwmPercent - tachMinPercent)) / in getMaxRpm()
403 totalCFM = ci * maxCFM * pwmPercent; in getMaxRpm()
408 if (pwmPercent <= 0) in getMaxRpm()
414 return pwmPercent; in getMaxRpm()