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