Lines Matching full:tmr
20 struct fttmr010 *tmr = (struct fttmr010 *)CONFIG_FTTMR010_BASE; in timer_init() local
26 writel(0, &tmr->cr); in timer_init()
34 writel(TIMER_LOAD_VAL, &tmr->timer3_load); in timer_init()
35 writel(TIMER_LOAD_VAL, &tmr->timer3_counter); in timer_init()
36 writel(0, &tmr->timer3_match1); in timer_init()
37 writel(0, &tmr->timer3_match2); in timer_init()
43 &tmr->interrupt_mask); in timer_init()
45 cr = readl(&tmr->cr); in timer_init()
50 writel(cr, &tmr->cr); in timer_init()
67 struct fttmr010 *tmr = (struct fttmr010 *)CONFIG_FTTMR010_BASE; in reset_timer_masked() local
71 lastdec = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in reset_timer_masked()
73 lastdec = readl(&tmr->timer3_counter) / in reset_timer_masked()
92 struct fttmr010 *tmr = (struct fttmr010 *)CONFIG_FTTMR010_BASE; in get_timer_masked() local
96 ulong now = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked()
98 ulong now = readl(&tmr->timer3_counter) / in get_timer_masked()
148 struct fttmr010 *tmr = (struct fttmr010 *)CONFIG_FTTMR010_BASE; in __udelay() local
155 unsigned long now, last = readl(&tmr->timer3_counter); in __udelay()
159 now = readl(&tmr->timer3_counter); in __udelay()