Searched refs:gpt_clk (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/arch/arm/mach-spear/ |
D | spear3xx.c | 74 struct clk *gpt_clk, *pclk; in spear3xx_timer_init() local 79 gpt_clk = clk_get_sys("gpt0", NULL); in spear3xx_timer_init() 80 if (IS_ERR(gpt_clk)) { in spear3xx_timer_init() 93 clk_set_parent(gpt_clk, pclk); in spear3xx_timer_init() 94 clk_put(gpt_clk); in spear3xx_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() 247 clk_put(gpt_clk); in spear_setup_of_timer()
|
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 | spear6xx.c | 371 struct clk *gpt_clk, *pclk; in spear6xx_timer_init() local 376 gpt_clk = clk_get_sys("gpt0", NULL); in spear6xx_timer_init() 377 if (IS_ERR(gpt_clk)) { in spear6xx_timer_init() 390 clk_set_parent(gpt_clk, pclk); in spear6xx_timer_init() 391 clk_put(gpt_clk); in spear6xx_timer_init()
|