Home
last modified time | relevance | path

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

/linux/arch/m68k/coldfire/
H A Dtimers.c88 u16 tcn; in mcftmr_read_clk() local
91 tcn = __raw_readw(TA(MCFTIMER_TCN)); in mcftmr_read_clk()
95 return cycles + tcn; in mcftmr_read_clk()
/linux/drivers/clocksource/
H A Dtimer-imx-gpt.c204 u32 tcn; in mxc_shutdown() local
209 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_shutdown()
211 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_shutdown()
231 u32 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_set_oneshot() local
233 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_set_oneshot()