Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/watchdog/
Dath79_wdt.c70 static unsigned long wdt_freq; variable
87 ath79_wdt_wr(WDOG_REG_TIMER, wdt_freq * timeout); in ath79_wdt_keepalive()
273 wdt_freq = clk_get_rate(wdt_clk); in ath79_wdt_probe()
274 if (!wdt_freq) { in ath79_wdt_probe()
279 max_timeout = (0xfffffffful / wdt_freq); in ath79_wdt_probe()
Dasm9260_wdt.c64 unsigned long wdt_freq; member
85 return counter / priv->wdt_freq; in asm9260_wdt_gettimeleft()
93 counter = wdd->timeout * priv->wdt_freq; in asm9260_wdt_updatetimeout()
246 priv->wdt_freq = clk / 2; in asm9260_wdt_get_dt_clks()
307 wdd->max_timeout = BM_WDTC_MAX(priv->wdt_freq); in asm9260_wdt_probe()
Ddavinci_wdt.c76 unsigned long wdt_freq; in davinci_wdt_start() local
79 wdt_freq = clk_get_rate(davinci_wdt->clk); in davinci_wdt_start()
91 timer_margin = (((u64)wdd->timeout * wdt_freq) & 0xffffffff); in davinci_wdt_start()
93 timer_margin = (((u64)wdd->timeout * wdt_freq) >> 32); in davinci_wdt_start()