Searched refs:pit_clk (Results 1 – 2 of 2) sorted by relevance
157 struct clk *pit_clk; in pit_timer_init() local180 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()
138 static struct clocksource pit_clk = { variable161 clocksource_register_hz(&pit_clk, FREQ); in hw_timer_init()