Searched refs:gpt_clk (Results 1 – 4 of 4) sorted by relevance
/arch/arm/mach-spear/ |
D | spear3xx.c | 73 struct clk *gpt_clk, *pclk; in spear3xx_timer_init() local 78 gpt_clk = clk_get_sys("gpt0", NULL); in spear3xx_timer_init() 79 if (IS_ERR(gpt_clk)) { in spear3xx_timer_init() 92 clk_set_parent(gpt_clk, pclk); in spear3xx_timer_init() 93 clk_put(gpt_clk); in spear3xx_timer_init()
|
D | spear13xx.c | 101 struct clk *gpt_clk, *pclk; in spear13xx_timer_init() local 106 gpt_clk = clk_get_sys("gpt0", NULL); in spear13xx_timer_init() 107 if (IS_ERR(gpt_clk)) { in spear13xx_timer_init() 120 clk_set_parent(gpt_clk, pclk); in spear13xx_timer_init() 121 clk_put(gpt_clk); in spear13xx_timer_init()
|
D | time.c | 64 static struct clk *gpt_clk; variable 78 tick_rate = clk_get_rate(gpt_clk); in spear_clocksource_init() 131 period = clk_get_rate(gpt_clk) / HZ; in spear_set_periodic() 188 tick_rate = clk_get_rate(gpt_clk); in spear_clockevent_init() 227 gpt_clk = clk_get_sys("gpt0", NULL); in spear_setup_of_timer() 228 if (IS_ERR(gpt_clk)) { in spear_setup_of_timer() 233 ret = clk_prepare_enable(gpt_clk); in spear_setup_of_timer() 245 clk_put(gpt_clk); in spear_setup_of_timer()
|
D | spear6xx.c | 370 struct clk *gpt_clk, *pclk; in spear6xx_timer_init() local 375 gpt_clk = clk_get_sys("gpt0", NULL); in spear6xx_timer_init() 376 if (IS_ERR(gpt_clk)) { in spear6xx_timer_init() 389 clk_set_parent(gpt_clk, pclk); in spear6xx_timer_init() 390 clk_put(gpt_clk); in spear6xx_timer_init()
|