Lines Matching refs:timerp
30 slt_t *timerp = (slt_t *) (CONFIG_SYS_UDELAY_BASE); in __udelay() local
37 out_be32(&timerp->cr, 0); in __udelay()
38 out_be32(&timerp->tcnt, usec * freq); in __udelay()
39 out_be32(&timerp->cr, SLT_CR_TEN); in __udelay()
41 now = in_be32(&timerp->cnt); in __udelay()
43 now = in_be32(&timerp->cnt); in __udelay()
45 setbits_be32(&timerp->sr, SLT_SR_ST); in __udelay()
46 out_be32(&timerp->cr, 0); in __udelay()
51 slt_t *timerp = (slt_t *) (CONFIG_SYS_TMR_BASE); in dtimer_interrupt() local
55 setbits_be32(&timerp->sr, SLT_SR_ST); in dtimer_interrupt()
63 slt_t *timerp = (slt_t *) (CONFIG_SYS_TMR_BASE); in timer_init() local
68 out_be32(&timerp->cr, 0); in timer_init()
69 out_be32(&timerp->tcnt, 0); in timer_init()
71 out_be32(&timerp->sr, SLT_SR_BE | SLT_SR_ST); in timer_init()
77 out_be32(&timerp->tcnt, 1000 * CONFIG_SYS_TIMER_PRESCALER); in timer_init()
83 out_be32(&timerp->cr, SLT_CR_RUN | SLT_CR_IEN | SLT_CR_TEN); in timer_init()