Home
last modified time | relevance | path

Searched refs:twd_clk (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm/kernel/
H A Dsmp_twd.c28 static struct clk *twd_clk; variable
134 if (twd_evt && raw_cpu_ptr(twd_evt) && !IS_ERR(twd_clk)) in twd_clk_init()
135 return clk_notifier_register(twd_clk, &twd_clk_nb); in twd_clk_init()
197 twd_clk = of_clk_get(np, 0); in twd_get_clock()
199 twd_clk = clk_get_sys("smp_twd", NULL); in twd_get_clock()
201 if (IS_ERR(twd_clk)) { in twd_get_clock()
202 pr_err("smp_twd: clock not found %d\n", (int) PTR_ERR(twd_clk)); in twd_get_clock()
206 err = clk_prepare_enable(twd_clk); in twd_get_clock()
209 clk_put(twd_clk); in twd_get_clock()
213 twd_timer_rate = clk_get_rate(twd_clk); in twd_get_clock()
/openbmc/linux/drivers/clk/ux500/
H A Du8500_of_clk.c130 struct clk *clk, *rtc_clk, *twd_clk; in u8500_clk_init() local
299 twd_clk = clk_register_fixed_factor(NULL, "smp_twd", "armss", in u8500_clk_init()
612 of_clk_add_provider(child, of_clk_src_simple_get, twd_clk); in u8500_clk_init()