Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Drzg2l_wdt.c55 unsigned long osc_clk_rate; member
95 rzg2l_wdt_get_cycle_usec(priv->osc_clk_rate, 0); in rzg2l_wdt_init_timeout()
215 mdelay(DIV_ROUND_UP(2 * 0xFFFFF * 1000, priv->osc_clk_rate)); in rzg2l_wdt_restart()
271 priv->osc_clk_rate = clk_get_rate(priv->osc_clk); in rzg2l_wdt_probe()
272 if (!priv->osc_clk_rate) in rzg2l_wdt_probe()
284 priv->delay = F2CYCLE_NSEC(priv->osc_clk_rate) * 6 + F2CYCLE_NSEC(pclk_rate) * 9; in rzg2l_wdt_probe()
300 priv->wdev.max_timeout = rzg2l_wdt_get_cycle_usec(priv->osc_clk_rate, 0xfff) / in rzg2l_wdt_probe()