Searched refs:tcn (Results 1 – 2 of 2) sorted by relevance
97 u16 tcn; in mcftmr_read_clk() local100 tcn = __raw_readw(TA(MCFTIMER_TCN)); in mcftmr_read_clk()104 return cycles + tcn; in mcftmr_read_clk()
205 u32 tcn; in mxc_shutdown() local210 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_shutdown()212 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_shutdown()232 u32 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_set_oneshot() local234 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_set_oneshot()