Searched refs:wdt_clk (Results 1 – 4 of 4) sorted by relevance
65 static struct clk *wdt_clk; variable260 wdt_clk = devm_clk_get(&pdev->dev, "wdt"); in ath79_wdt_probe()261 if (IS_ERR(wdt_clk)) in ath79_wdt_probe()262 return PTR_ERR(wdt_clk); in ath79_wdt_probe()264 err = clk_prepare_enable(wdt_clk); in ath79_wdt_probe()268 wdt_freq = clk_get_rate(wdt_clk); in ath79_wdt_probe()295 clk_disable_unprepare(wdt_clk); in ath79_wdt_probe()302 clk_disable_unprepare(wdt_clk); in ath79_wdt_remove()
84 struct clk *wdt_clk; member116 unsigned long clk_rate = clk_get_rate(wdt->wdt_clk); in __pdc_wdt_set_timeout()200 pdc_wdt->wdt_clk = devm_clk_get_enabled(dev, "wdt"); in pdc_wdt_probe()201 if (IS_ERR(pdc_wdt->wdt_clk)) { in pdc_wdt_probe()203 return PTR_ERR(pdc_wdt->wdt_clk); in pdc_wdt_probe()207 clk_rate = clk_get_rate(pdc_wdt->wdt_clk); in pdc_wdt_probe()
81 static struct clk *wdt_clk; variable193 wdt_clk = devm_clk_get_enabled(dev, NULL); in pnx4008_wdt_probe()194 if (IS_ERR(wdt_clk)) in pnx4008_wdt_probe()195 return PTR_ERR(wdt_clk); in pnx4008_wdt_probe()
54 struct clk *wdt_clk; member219 lpc18xx_wdt->wdt_clk = devm_clk_get_enabled(dev, "wdtclk"); in lpc18xx_wdt_probe()220 if (IS_ERR(lpc18xx_wdt->wdt_clk)) { in lpc18xx_wdt_probe()222 return PTR_ERR(lpc18xx_wdt->wdt_clk); in lpc18xx_wdt_probe()226 lpc18xx_wdt->clk_rate = clk_get_rate(lpc18xx_wdt->wdt_clk); in lpc18xx_wdt_probe()