Searched refs:pit_clk (Results 1 – 2 of 2) sorted by relevance
151 struct clk *pit_clk; in pit_timer_init() local174 pit_clk = of_clk_get(np, 0); in pit_timer_init()175 if (IS_ERR(pit_clk)) in pit_timer_init()176 return PTR_ERR(pit_clk); in pit_timer_init()178 ret = clk_prepare_enable(pit_clk); in pit_timer_init()182 clk_rate = clk_get_rate(pit_clk); in pit_timer_init()
130 static struct clocksource pit_clk = { variable159 clocksource_register_hz(&pit_clk, FREQ); in hw_timer_init()