Home
last modified time | relevance | path

Searched refs:timerp (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/m68k/lib/
Dtime.c35 volatile dtmr_t *timerp = (dtmr_t *) (CONFIG_SYS_UDELAY_BASE); in __udelay() local
46 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() local
65 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() local
83 timerp->tcn = 0; in timer_init()
[all …]
/external/u-boot/arch/m68k/cpu/mcf547x_8x/
Dslicetimer.c29 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()
[all …]