Searched refs:wdt_clock (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/watchdog/
H A Dnuc900_wdt.c65 struct clk *wdt_clock; member in struct:nuc900_wdt
279 nuc900_wdt->wdt_clock = clk_get(&pdev->dev, NULL);
280 if (IS_ERR(nuc900_wdt->wdt_clock)) {
282 ret = PTR_ERR(nuc900_wdt->wdt_clock);
286 clk_enable(nuc900_wdt->wdt_clock);
299 clk_disable(nuc900_wdt->wdt_clock);
300 clk_put(nuc900_wdt->wdt_clock);
315 clk_disable(nuc900_wdt->wdt_clock);
316 clk_put(nuc900_wdt->wdt_clock);
H A Ds3c2410_wdt.c81 static struct clk *wdt_clock; variable in typeref:struct:clk
154 unsigned long freq = clk_get_rate(wdt_clock);
454 wdt_clock = clk_get(&pdev->dev, "watchdog");
455 if (IS_ERR(wdt_clock)) {
457 ret = PTR_ERR(wdt_clock);
461 clk_enable(wdt_clock);
517 clk_disable(wdt_clock);
518 clk_put(wdt_clock);
539 clk_disable(wdt_clock);
540 clk_put(wdt_clock);
[all...]

Completed in 58 milliseconds