Home
last modified time | relevance | path

Searched refs:timer_clock (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_timer.c95 static struct clk *timer_clock; variable
99 clk_set_rate(timer_clock, new_freq); in stmmac_tmu_start()
100 clk_enable(timer_clock); in stmmac_tmu_start()
105 clk_disable(timer_clock); in stmmac_tmu_stop()
110 timer_clock = clk_get(NULL, TMU_CHANNEL); in stmmac_open_ext_timer()
112 if (timer_clock == NULL) in stmmac_open_ext_timer()
116 timer_clock = NULL; in stmmac_open_ext_timer()
129 clk_disable(timer_clock); in stmmac_close_ext_timer()
131 clk_put(timer_clock); in stmmac_close_ext_timer()
/linux-3.4.99/drivers/clocksource/
Dtcb_clksrc.c92 static u32 timer_clock; variable
115 __raw_writel(timer_clock in tc_mode()
132 __raw_writel(timer_clock | ATMEL_TC_CPCSTOP in tc_mode()
197 timer_clock = clk32k_divisor_idx; in setup_clkevents()