Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clocksource/
Dtimer-vf-pit.c157 struct clk *pit_clk; in pit_timer_init() local
180 pit_clk = of_clk_get(np, 0); in pit_timer_init()
181 if (IS_ERR(pit_clk)) in pit_timer_init()
182 return PTR_ERR(pit_clk); in pit_timer_init()
184 ret = clk_prepare_enable(pit_clk); in pit_timer_init()
188 clk_rate = clk_get_rate(pit_clk); in pit_timer_init()
/Linux-v5.4/arch/m68k/coldfire/
Dpit.c138 static struct clocksource pit_clk = { variable
161 clocksource_register_hz(&pit_clk, FREQ); in hw_timer_init()