Home
last modified time | relevance | path

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

/openbmc/phosphor-pid-control/pid/ec/
H A Dpid.cpp53 if (!(pidinfoptr->initialized)) in pid()
95 integralTerm += error * pidinfoptr->integralCoeff * pidinfoptr->ts; in pid()
107 ((error - pidinfoptr->lastError) / pidinfoptr->ts); in pid()
121 output = clamp(output, pidinfoptr->outLim.min, pidinfoptr->outLim.max); in pid()
132 if (pidinfoptr->initialized) in pid()
138 pidinfoptr->slewNeg * pidinfoptr->ts; in pid()
151 pidinfoptr->slewPos * pidinfoptr->ts; in pid()
161 if (pidinfoptr->slewNeg != 0.0f || pidinfoptr->slewPos != 0.0f) in pid()
177 pidinfoptr->initialized = true; in pid()
178 pidinfoptr->lastError = error; in pid()
[all …]
H A Dlogging.cpp116 pid_info_t* pidinfoptr) in DumpCoeffsData() argument
119 const auto& p = *pidinfoptr; in DumpCoeffsData()
133 void LogInit(const std::string& name, pid_info_t* pidinfoptr) in LogInit() argument
225 DumpCoeffsData(iterExisting->second.fileCoeffs, msNow, pidinfoptr); in LogInit()
H A Dpid.hpp45 double pid(pid_info_t* pidinfoptr, double input, double setpoint,
H A Dlogging.hpp103 void LogInit(const std::string& name, pid_info_t* pidinfoptr);