Home
last modified time | relevance | path

Searched refs:percpu_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
320 ost->percpu_timer_clk = ingenic_ost_get_clock(np, channel); in ingenic_ost_percpu_timer_init()
321 if (IS_ERR(ost->percpu_timer_clk)) in ingenic_ost_percpu_timer_init()
322 return PTR_ERR(ost->percpu_timer_clk); in ingenic_ost_percpu_timer_init()
324 err = clk_prepare_enable(ost->percpu_timer_clk); in ingenic_ost_percpu_timer_init()
328 rate = clk_get_rate(ost->percpu_timer_clk); in ingenic_ost_percpu_timer_init()
361 clk_disable_unprepare(ost->percpu_timer_clk); in ingenic_ost_percpu_timer_init()
363 clk_put(ost->percpu_timer_clk); in ingenic_ost_percpu_timer_init()