Searched refs:gpt_clk (Results 1 – 4 of 4) sorted by relevance
/arch/arm/mach-spear/ |
D | spear3xx.c | 92 struct clk *gpt_clk, *pclk; in spear3xx_timer_init() local 97 gpt_clk = clk_get_sys("gpt0", NULL); in spear3xx_timer_init() 98 if (IS_ERR(gpt_clk)) { in spear3xx_timer_init() 111 clk_set_parent(gpt_clk, pclk); in spear3xx_timer_init() 112 clk_put(gpt_clk); in spear3xx_timer_init()
|
D | spear13xx.c | 103 struct clk *gpt_clk, *pclk; in spear13xx_timer_init() local 108 gpt_clk = clk_get_sys("gpt0", NULL); in spear13xx_timer_init() 109 if (IS_ERR(gpt_clk)) { in spear13xx_timer_init() 122 clk_set_parent(gpt_clk, pclk); in spear13xx_timer_init() 123 clk_put(gpt_clk); in spear13xx_timer_init()
|
D | time.c | 67 static struct clk *gpt_clk; variable 81 tick_rate = clk_get_rate(gpt_clk); in spear_clocksource_init() 134 period = clk_get_rate(gpt_clk) / HZ; in spear_set_periodic() 197 tick_rate = clk_get_rate(gpt_clk); in spear_clockevent_init() 235 gpt_clk = clk_get_sys("gpt0", NULL); in spear_setup_of_timer() 236 if (!gpt_clk) { in spear_setup_of_timer() 241 ret = clk_prepare_enable(gpt_clk); in spear_setup_of_timer() 253 clk_put(gpt_clk); in spear_setup_of_timer()
|
D | spear6xx.c | 379 struct clk *gpt_clk, *pclk; in spear6xx_timer_init() local 384 gpt_clk = clk_get_sys("gpt0", NULL); in spear6xx_timer_init() 385 if (IS_ERR(gpt_clk)) { in spear6xx_timer_init() 398 clk_set_parent(gpt_clk, pclk); in spear6xx_timer_init() 399 clk_put(gpt_clk); in spear6xx_timer_init()
|