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
119 rzg2l_wdt_get_cycle_usec(priv->osc_clk_rate, 0); in rzg2l_wdt_init_timeout()
210 mdelay(DIV_ROUND_UP(2 * 0xFFFFF * 1000, priv->osc_clk_rate)); in rzg2l_wdt_restart()
268 priv->osc_clk_rate = clk_get_rate(priv->osc_clk); in rzg2l_wdt_probe()
269 if (!priv->osc_clk_rate) in rzg2l_wdt_probe()
281 priv->delay = F2CYCLE_NSEC(priv->osc_clk_rate) * 6 + F2CYCLE_NSEC(pclk_rate) * 9; in rzg2l_wdt_probe()
297 max(F2CYCLE_NSEC(priv->osc_clk_rate), in rzg2l_wdt_probe()
307 priv->wdev.max_timeout = rzg2l_wdt_get_cycle_usec(priv->osc_clk_rate, 0xfff) / in rzg2l_wdt_probe()