Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Drti_wdt.c271 u64 heartbeat_ms; in rti_wdt_probe() local
276 heartbeat_ms = readl(wdt->base + RTIDWDPRLD); in rti_wdt_probe()
277 heartbeat_ms <<= WDT_PRELOAD_SHIFT; in rti_wdt_probe()
278 heartbeat_ms *= 1000; in rti_wdt_probe()
279 do_div(heartbeat_ms, wdt->freq); in rti_wdt_probe()
280 preset_heartbeat = heartbeat_ms + 500; in rti_wdt_probe()
294 last_ping = heartbeat_ms - time_left_ms; in rti_wdt_probe()
295 if (time_left_ms > heartbeat_ms) { in rti_wdt_probe()