Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Dingenic-sysost.c76 struct clk *clk, *percpu_timer_clk, *global_timer_clk; member
375 ost->global_timer_clk = ingenic_ost_get_clock(np, channel); in ingenic_ost_global_timer_init()
376 if (IS_ERR(ost->global_timer_clk)) in ingenic_ost_global_timer_init()
377 return PTR_ERR(ost->global_timer_clk); in ingenic_ost_global_timer_init()
379 err = clk_prepare_enable(ost->global_timer_clk); in ingenic_ost_global_timer_init()
383 rate = clk_get_rate(ost->global_timer_clk); in ingenic_ost_global_timer_init()
408 clk_disable_unprepare(ost->global_timer_clk); in ingenic_ost_global_timer_init()
410 clk_put(ost->global_timer_clk); in ingenic_ost_global_timer_init()
526 rate = clk_get_rate(ost->global_timer_clk); in ingenic_ost_init()
533 clk_disable_unprepare(ost->global_timer_clk); in ingenic_ost_init()
[all …]