Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dath79_wdt.c66 static unsigned long wdt_freq; variable
83 ath79_wdt_wr(WDOG_REG_TIMER, wdt_freq * timeout); in ath79_wdt_keepalive()
268 wdt_freq = clk_get_rate(wdt_clk); in ath79_wdt_probe()
269 if (!wdt_freq) { in ath79_wdt_probe()
274 max_timeout = (0xfffffffful / wdt_freq); in ath79_wdt_probe()
H A Dasm9260_wdt.c63 unsigned long wdt_freq; member
84 return counter / priv->wdt_freq; in asm9260_wdt_gettimeleft()
92 counter = wdd->timeout * priv->wdt_freq; in asm9260_wdt_updatetimeout()
256 priv->wdt_freq = clk / 2; in asm9260_wdt_get_dt_clks()
315 wdd->max_timeout = BM_WDTC_MAX(priv->wdt_freq); in asm9260_wdt_probe()
H A Ddavinci_wdt.c74 unsigned long wdt_freq; in davinci_wdt_start() local
77 wdt_freq = clk_get_rate(davinci_wdt->clk); in davinci_wdt_start()
89 timer_margin = (((u64)wdd->timeout * wdt_freq) & 0xffffffff); in davinci_wdt_start()
91 timer_margin = (((u64)wdd->timeout * wdt_freq) >> 32); in davinci_wdt_start()