Lines Matching refs:zone
36 static void processThermals(std::shared_ptr<ZoneInterface> zone) in processThermals() argument
39 zone->updateSensors(); in processThermals()
41 zone->clearSetPoints(); in processThermals()
42 zone->clearRPMCeilings(); in processThermals()
44 zone->processThermals(); in processThermals()
46 zone->determineMaxSetPointRequest(); in processThermals()
49 void pidControlLoop(std::shared_ptr<ZoneInterface> zone, in pidControlLoop() argument
62 zone->initializeLog(); in pidControlLoop()
65 zone->initializeCache(); in pidControlLoop()
66 processThermals(zone); in pidControlLoop()
75 uint64_t msPerFanCycle = zone->getCycleIntervalTime(); in pidControlLoop()
82 timer->async_wait([zone, timer, cycleCnt, isCanceling, msPerFanCycle]( in pidControlLoop()
117 if (zone->getManualMode()) in pidControlLoop()
119 pidControlLoop(zone, timer, isCanceling, false, cycleCnt); in pidControlLoop()
124 zone->updateFanTelemetry(); in pidControlLoop()
126 uint64_t msPerThermalCycle = zone->getUpdateThermalsCycle(); in pidControlLoop()
136 processThermals(zone); in pidControlLoop()
140 zone->processFans(); in pidControlLoop()
145 out << "," << zone->getFailSafeMode() << std::endl; in pidControlLoop()
146 zone->writeLog(out.str()); in pidControlLoop()
153 pidControlLoop(zone, timer, isCanceling, false, cycleCnt); in pidControlLoop()