Home
last modified time | relevance | path

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

/openbmc/phosphor-host-ipmid/app/
H A Dwatchdog_service.cpp83 Properties wd_prop; in getProperties() local
84 wd_prop.initialized = std::get<bool>(properties.at("Initialized")); in getProperties()
85 wd_prop.enabled = std::get<bool>(properties.at("Enabled")); in getProperties()
86 wd_prop.expireAction = Watchdog::convertActionFromString( in getProperties()
88 wd_prop.timerUse = Watchdog::convertTimerUseFromString( in getProperties()
90 wd_prop.expiredTimerUse = Watchdog::convertTimerUseFromString( in getProperties()
93 wd_prop.interval = std::get<uint64_t>(properties.at("Interval")); in getProperties()
94 wd_prop.timeRemaining = in getProperties()
96 return wd_prop; in getProperties()
H A Dwatchdog.cpp378 WatchdogService::Properties wd_prop = wd_service.getProperties(); in ipmiGetWatchdogTimer() local
382 uint16_t initialCountdown = htole16(wd_prop.interval / 100); in ipmiGetWatchdogTimer()
384 if (wd_prop.expiredTimerUse != WatchdogService::TimerUse::Reserved) in ipmiGetWatchdogTimer()
387 wdTimerUseToIpmiTimerUse(wd_prop.expiredTimerUse))); in ipmiGetWatchdogTimer()
390 if (wd_prop.enabled) in ipmiGetWatchdogTimer()
392 presentCountdown = htole16(wd_prop.timeRemaining / 100); in ipmiGetWatchdogTimer()
396 if (wd_prop.expiredTimerUse == WatchdogService::TimerUse::Reserved) in ipmiGetWatchdogTimer()
414 wdTimerUseToIpmiTimerUse(wd_prop.timerUse)), in ipmiGetWatchdogTimer()
415 0, wd_prop.enabled, timerNotLogFlags, in ipmiGetWatchdogTimer()
417 wdActionToIpmiAction(wd_prop.expireAction)), in ipmiGetWatchdogTimer()