Searched refs:timerp (Results 1 – 2 of 2) sorted by relevance
35 volatile dtmr_t *timerp = (dtmr_t *) (CONFIG_SYS_UDELAY_BASE); in __udelay() local46 timerp->tmr = DTIM_DTMR_RST_RST; in __udelay()47 timerp->tcn = 0; in __udelay()49 timerp->tmr = in __udelay()53 start = now = timerp->tcn; in __udelay()55 now = timerp->tcn; in __udelay()61 volatile dtmr_t *timerp = (dtmr_t *) (CONFIG_SYS_TMR_BASE); in dtimer_interrupt() local65 timerp->ter = (DTIM_DTER_CAP | DTIM_DTER_REF); in dtimer_interrupt()79 volatile dtmr_t *timerp = (dtmr_t *) (CONFIG_SYS_TMR_BASE); in timer_init() local83 timerp->tcn = 0; in timer_init()[all …]
29 slt_t *timerp = (slt_t *) (CONFIG_SYS_UDELAY_BASE); in __udelay() local36 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() local54 setbits_be32(&timerp->sr, SLT_SR_ST); in dtimer_interrupt()[all …]