Home
last modified time | relevance | path

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

/drivers/watchdog/
Dath79_wdt.c66 static unsigned long wdt_freq; variable
72 ath79_reset_wr(AR71XX_RESET_REG_WDOG, wdt_freq * timeout); in ath79_wdt_keepalive()
240 wdt_freq = clk_get_rate(wdt_clk); in ath79_wdt_probe()
241 if (!wdt_freq) { in ath79_wdt_probe()
246 max_timeout = (0xfffffffful / wdt_freq); in ath79_wdt_probe()
Ddavinci_wdt.c92 unsigned long wdt_freq; in wdt_enable() local
94 wdt_freq = clk_get_rate(wdt_clk); in wdt_enable()
108 timer_margin = (((u64)heartbeat * wdt_freq) & 0xffffffff); in wdt_enable()
110 timer_margin = (((u64)heartbeat * wdt_freq) >> 32); in wdt_enable()