Searched refs:wdt_clk (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/drivers/watchdog/ |
H A D | pnx4008_wdt.c | 83 static 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_prepare_enable(wdt_clk); pnx4008_wdt_probe() 187 clk_disable_unprepare(wdt_clk); pnx4008_wdt_probe() 195 clk_disable_unprepare(wdt_clk); pnx4008_wdt_remove()
|
H A D | imgpdc_wdt.c | 87 struct clk *wdt_clk; member in struct:pdc_wdt_dev 120 unsigned long clk_rate = clk_get_rate(wdt->wdt_clk); __pdc_wdt_set_timeout() 205 pdc_wdt->wdt_clk = devm_clk_get(&pdev->dev, "wdt"); pdc_wdt_probe() 206 if (IS_ERR(pdc_wdt->wdt_clk)) { pdc_wdt_probe() 208 return PTR_ERR(pdc_wdt->wdt_clk); pdc_wdt_probe() 217 ret = clk_prepare_enable(pdc_wdt->wdt_clk); pdc_wdt_probe() 224 clk_rate = clk_get_rate(pdc_wdt->wdt_clk); pdc_wdt_probe() 302 clk_disable_unprepare(pdc_wdt->wdt_clk); pdc_wdt_probe() 322 clk_disable_unprepare(pdc_wdt->wdt_clk); pdc_wdt_remove()
|
H A D | ath79_wdt.c | 68 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()
|
H A D | lpc18xx_wdt.c | 58 struct clk *wdt_clk; member in struct:lpc18xx_wdt_dev 225 lpc18xx_wdt->wdt_clk = devm_clk_get(dev, "wdtclk"); lpc18xx_wdt_probe() 226 if (IS_ERR(lpc18xx_wdt->wdt_clk)) { lpc18xx_wdt_probe() 228 return PTR_ERR(lpc18xx_wdt->wdt_clk); lpc18xx_wdt_probe() 237 ret = clk_prepare_enable(lpc18xx_wdt->wdt_clk); lpc18xx_wdt_probe() 244 lpc18xx_wdt->clk_rate = clk_get_rate(lpc18xx_wdt->wdt_clk); lpc18xx_wdt_probe() 292 clk_disable_unprepare(lpc18xx_wdt->wdt_clk); lpc18xx_wdt_probe() 315 clk_disable_unprepare(lpc18xx_wdt->wdt_clk); lpc18xx_wdt_remove()
|
/linux-4.4.14/drivers/clk/spear/ |
H A D | spear6xx_clock.c | 150 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_30m_clk", 0, 1, spear6xx_clk_init()
|
H A D | spear3xx_clock.c | 412 clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_24m_clk", 0, 1, spear3xx_clk_init()
|
H A D | spear1310_clock.c | 499 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, spear1310_clk_init()
|
H A D | spear1340_clock.c | 576 clk = clk_register_fixed_factor(NULL, "wdt_clk", "cpu_clk", 0, 1, spear1340_clk_init()
|
Completed in 215 milliseconds