Lines Matching refs:tmr
16 microblaze_timer_t *tmr; variable
20 if (tmr) in get_timer()
29 if (tmr) { in __udelay()
40 tmr->control = tmr->control | TIMER_INTERRUPT; in timer_isr()
62 tmr = (microblaze_timer_t *)base; in timer_init()
78 if (tmr && preload && irq >= 0) { in timer_init()
79 tmr->loadreg = preload; in timer_init()
80 tmr->control = TIMER_INTERRUPT | TIMER_RESET; in timer_init()
81 tmr->control = TIMER_ENABLE | TIMER_ENABLE_INTR |\ in timer_init()
84 ret = install_interrupt_handler (irq, timer_isr, (void *)tmr); in timer_init()
86 tmr = NULL; in timer_init()