Home
last modified time | relevance | path

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

/linux/drivers/watchdog/
H A Drzg2l_wdt.c54 unsigned long osc_clk_rate; member
94 rzg2l_wdt_get_cycle_usec(priv->osc_clk_rate, 0); in rzg2l_wdt_init_timeout()
200 mdelay(DIV_ROUND_UP(2 * 0xFFFFF * 1000, priv->osc_clk_rate)); in rzg2l_wdt_restart()
256 priv->osc_clk_rate = clk_get_rate(priv->osc_clk); in rzg2l_wdt_probe()
257 if (!priv->osc_clk_rate) in rzg2l_wdt_probe()
269 priv->delay = F2CYCLE_NSEC(priv->osc_clk_rate) * 6 + F2CYCLE_NSEC(pclk_rate) * 9; in rzg2l_wdt_probe()
284 priv->wdev.max_timeout = rzg2l_wdt_get_cycle_usec(priv->osc_clk_rate, 0xfff) / in rzg2l_wdt_probe()