Lines Matching refs:timerp
29 slt_t *timerp = (slt_t *) (CONFIG_SYS_UDELAY_BASE); in __udelay() local
36 out_be32(&timerp->cr, 0); in __udelay()
37 out_be32(&timerp->tcnt, usec * freq); in __udelay()
38 out_be32(&timerp->cr, SLT_CR_TEN); in __udelay()
40 now = in_be32(&timerp->cnt); in __udelay()
42 now = in_be32(&timerp->cnt); in __udelay()
44 setbits_be32(&timerp->sr, SLT_SR_ST); in __udelay()
45 out_be32(&timerp->cr, 0); in __udelay()
50 slt_t *timerp = (slt_t *) (CONFIG_SYS_TMR_BASE); in dtimer_interrupt() local
54 setbits_be32(&timerp->sr, SLT_SR_ST); in dtimer_interrupt()
62 slt_t *timerp = (slt_t *) (CONFIG_SYS_TMR_BASE); in timer_init() local
67 out_be32(&timerp->cr, 0); in timer_init()
68 out_be32(&timerp->tcnt, 0); in timer_init()
70 out_be32(&timerp->sr, SLT_SR_BE | SLT_SR_ST); in timer_init()
76 out_be32(&timerp->tcnt, 1000 * CONFIG_SYS_TIMER_PRESCALER); in timer_init()
82 out_be32(&timerp->cr, SLT_CR_RUN | SLT_CR_IEN | SLT_CR_TEN); in timer_init()