Home
last modified time | relevance | path

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

/openbmc/phosphor-pid-control/pid/
H A Dthermalcontroller.cpp25 ThermalType getThermalType(const std::string& typeString) in getThermalType()
29 return ThermalType::margin; in getThermalType()
33 return ThermalType::absolute; in getThermalType()
37 return ThermalType::summation; in getThermalType()
53 const ec::pidinfo& initial, const ThermalType& type) in createThermalPid()
78 if (type == ThermalType::margin) in inputProc()
83 else if (type == ThermalType::absolute) in inputProc()
88 else if (type == ThermalType::summation) in inputProc()
112 if (type == ThermalType::margin) in inputProc()
H A Dthermalcontroller.hpp22 enum class ThermalType enum
35 ThermalType getThermalType(const std::string& typeString);
51 double setpoint, const ec::pidinfo& initial, const ThermalType& type);
55 const ThermalType& type, ZoneInterface* owner) : in ThermalController()
65 ThermalType type;
/openbmc/phosphor-pid-control/test/
H A Dpid_thermalcontroller_unittest.cpp36 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST()
54 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST()
71 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST()
90 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST()
107 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST()
129 &z, "therm1", inputs, setpoint, initial, ThermalType::absolute); in TEST()
151 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST()
173 &z, "therm1", inputs, setpoint, initial, ThermalType::summation); in TEST()
195 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST()
220 &z, "therm1", inputs, setpoint, initial, ThermalType::margin); in TEST()
[all …]