Searched refs:wdt_clk (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/watchdog/
H A Dpnx4008_wdt.c83 struct clk *wdt_clk; variable in typeref:struct:clk
160 wdt_clk = devm_clk_get(&pdev->dev, NULL); pnx4008_wdt_probe()
161 if (IS_ERR(wdt_clk)) pnx4008_wdt_probe()
162 return PTR_ERR(wdt_clk); pnx4008_wdt_probe()
164 ret = clk_enable(wdt_clk); pnx4008_wdt_probe()
186 clk_disable(wdt_clk); pnx4008_wdt_probe()
194 clk_disable(wdt_clk); pnx4008_wdt_remove()
H A Dimgpdc_wdt.c57 struct clk *wdt_clk; member in struct:pdc_wdt_dev
92 unsigned long clk_rate = clk_get_rate(wdt->wdt_clk); pdc_wdt_set_timeout()
153 pdc_wdt->wdt_clk = devm_clk_get(&pdev->dev, "wdt"); pdc_wdt_probe()
154 if (IS_ERR(pdc_wdt->wdt_clk)) { pdc_wdt_probe()
156 return PTR_ERR(pdc_wdt->wdt_clk); pdc_wdt_probe()
165 ret = clk_prepare_enable(pdc_wdt->wdt_clk); pdc_wdt_probe()
172 clk_rate = clk_get_rate(pdc_wdt->wdt_clk); pdc_wdt_probe()
244 clk_disable_unprepare(pdc_wdt->wdt_clk); pdc_wdt_probe()
263 clk_disable_unprepare(pdc_wdt->wdt_clk); pdc_wdt_remove()
H A Dath79_wdt.c68 static struct clk *wdt_clk; variable in typeref:struct:clk
264 wdt_clk = devm_clk_get(&pdev->dev, "wdt"); ath79_wdt_probe()
265 if (IS_ERR(wdt_clk)) ath79_wdt_probe()
266 return PTR_ERR(wdt_clk); ath79_wdt_probe()
268 err = clk_prepare_enable(wdt_clk); ath79_wdt_probe()
272 wdt_freq = clk_get_rate(wdt_clk); ath79_wdt_probe()
299 clk_disable_unprepare(wdt_clk); ath79_wdt_probe()
306 clk_disable_unprepare(wdt_clk); ath79_wdt_remove()
/linux-4.1.27/drivers/clk/spear/
H A Dspear6xx_clock.c151 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_30m_clk", 0, 1, spear6xx_clk_init()
H A Dspear3xx_clock.c412 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_24m_clk", 0, 1, spear3xx_clk_init()
H A Dspear1310_clock.c500 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, spear1310_clk_init()
H A Dspear1340_clock.c577 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, spear1340_clk_init()

Completed in 251 milliseconds