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

/linux-4.1.27/arch/arm/plat-samsung/
H A Dwatchdog-reset.c32 static struct clk *wdt_clock; variable in typeref:struct:clk
43 if (!IS_ERR(wdt_clock)) samsung_wdt_reset()
44 clk_prepare_enable(wdt_clock); samsung_wdt_reset()
89 wdt_clock = of_clk_get(np, 0); samsung_wdt_reset_of_init()
96 wdt_clock = clk_get(NULL, "watchdog"); samsung_wdt_reset_init()
/linux-4.1.27/drivers/watchdog/
H A Dnuc900_wdt.c63 struct clk *wdt_clock; member in struct:nuc900_wdt
262 nuc900_wdt->wdt_clock = devm_clk_get(&pdev->dev, NULL); nuc900wdt_probe()
263 if (IS_ERR(nuc900_wdt->wdt_clock)) { nuc900wdt_probe()
265 return PTR_ERR(nuc900_wdt->wdt_clock); nuc900wdt_probe()
268 clk_enable(nuc900_wdt->wdt_clock); nuc900wdt_probe()
282 clk_disable(nuc900_wdt->wdt_clock); nuc900wdt_probe()
290 clk_disable(nuc900_wdt->wdt_clock); nuc900wdt_remove()

Completed in 119 milliseconds