Home
last modified time | relevance | path

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

/openbmc/phosphor-host-ipmid/app/
H A Dwatchdog_service.cpp83 Properties wdProp; in getProperties() local
84 wdProp.initialized = std::get<bool>(properties.at("Initialized")); in getProperties()
85 wdProp.enabled = std::get<bool>(properties.at("Enabled")); in getProperties()
86 wdProp.expireAction = Watchdog::convertActionFromString( in getProperties()
88 wdProp.timerUse = Watchdog::convertTimerUseFromString( in getProperties()
90 wdProp.expiredTimerUse = Watchdog::convertTimerUseFromString( in getProperties()
93 wdProp.interval = std::get<uint64_t>(properties.at("Interval")); in getProperties()
94 wdProp.timeRemaining = in getProperties()
96 return wdProp; in getProperties()
H A Dwatchdog.cpp387 WatchdogService::Properties wdProp = wdService.getProperties(); in ipmiGetWatchdogTimer() local
391 uint16_t initialCountdown = htole16(wdProp.interval / 100); in ipmiGetWatchdogTimer()
393 if (wdProp.expiredTimerUse != WatchdogService::TimerUse::Reserved) in ipmiGetWatchdogTimer()
396 wdTimerUseToIpmiTimerUse(wdProp.expiredTimerUse))); in ipmiGetWatchdogTimer()
399 if (wdProp.enabled) in ipmiGetWatchdogTimer()
401 presentCountdown = htole16(wdProp.timeRemaining / 100); in ipmiGetWatchdogTimer()
405 if (wdProp.expiredTimerUse == WatchdogService::TimerUse::Reserved) in ipmiGetWatchdogTimer()
423 wdTimerUseToIpmiTimerUse(wdProp.timerUse)), in ipmiGetWatchdogTimer()
424 0, wdProp.enabled, timerNotLogFlags, in ipmiGetWatchdogTimer()
426 wdActionToIpmiAction(wdProp.expireAction)), in ipmiGetWatchdogTimer()