Home
last modified time | relevance | path

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

/openbmc/phosphor-pid-control/failsafeloggers/
H A Dfailsafe_logger_utility.hpp30 for (const int64_t zoneId : sensorNameToZoneId[sensorName]) in outputFailsafeLogWithSensor() local
32 if (zoneIdToFailsafeLogger.count(zoneId)) in outputFailsafeLogWithSensor()
34 zoneIdToFailsafeLogger[zoneId]->outputFailsafeLog( in outputFailsafeLogWithSensor()
35 zoneId, newFailsafeState, location, reason); in outputFailsafeLogWithSensor()
44 const int64_t zoneId, const bool newFailsafeState, in outputFailsafeLogWithZone() argument
47 if (zoneIdToFailsafeLogger.count(zoneId)) in outputFailsafeLogWithZone()
49 zoneIdToFailsafeLogger[zoneId]->outputFailsafeLog( in outputFailsafeLogWithZone()
50 zoneId, newFailsafeState, location, reason); in outputFailsafeLogWithZone()
H A Dbuilder.cpp44 int64_t zoneId = zoneIdToZone.first; in buildFailsafeLoggers() local
46 zoneIdToFailsafeLogger[zoneId] = std::make_shared<FailsafeLogger>( in buildFailsafeLoggers()
54 sensorNameToZoneId[sensorName].end(), zoneId) == in buildFailsafeLoggers()
57 sensorNameToZoneId[sensorName].push_back(zoneId); in buildFailsafeLoggers()
60 std::cerr << "Build failsafe logger for Zone " << zoneId in buildFailsafeLoggers()
H A Dfailsafe_logger.cpp10 const int64_t zoneId, const bool newFailsafeState, in outputFailsafeLog() argument
47 std::cerr << "Zone `" << zoneId in outputFailsafeLog()
53 std::cerr << "Zone `" << zoneId in outputFailsafeLog()
H A Dfailsafe_logger.hpp41 void outputFailsafeLog(int64_t zoneId, bool newFailsafeState,
/openbmc/phosphor-pid-control/pid/
H A Dbuilder.cpp60 for (const auto& [zoneId, pidConfig] : zonePids) in buildZones()
66 auto zoneConf = zoneConfigs.find(zoneId); in buildZones()
77 zoneId, zoneConf->second.minThermalOutput, in buildZones()
79 modeControlBus, getControlPath(zoneId).c_str(), deferSignals, in buildZones()
123 getPidControlPath(zoneId, name), deferSignals); in buildZones()
139 getPidControlPath(zoneId, name), deferSignals); in buildZones()
162 zones[zoneId] = std::move(zone); in buildZones()
/openbmc/phosphor-pid-control/ipmi/
H A Ddbus_mode.cpp48 uint8_t DbusZoneControl::getFanCtrlProperty(uint8_t zoneId, bool* value, in getFanCtrlProperty() argument
51 std::string path = getControlPath(zoneId); in getFanCtrlProperty()
77 uint8_t DbusZoneControl::setFanCtrlProperty(uint8_t zoneId, bool value, in setFanCtrlProperty() argument
83 std::string path = getControlPath(zoneId); in setFanCtrlProperty()
H A Dcontrol.hpp19 virtual uint8_t getFanCtrlProperty(uint8_t zoneId, bool* value,
24 virtual uint8_t setFanCtrlProperty(uint8_t zoneId, bool value,
H A Ddbus_mode.hpp32 uint8_t getFanCtrlProperty(uint8_t zoneId, bool* value,
35 uint8_t setFanCtrlProperty(uint8_t zoneId, bool value,
/openbmc/phosphor-pid-control/test/
H A Dpid_zone_unittest.cpp121 zoneId, minThermalOutput, failSafePercent, cycleTime, mgr, in PidZoneTest()
135 int64_t zoneId = 1; member in pid_control::__anon416c5d230111::PidZoneTest
157 EXPECT_EQ(zoneId, zone->getZoneID()); in TEST_F()