Lines Matching refs:rtt
11 * The RTT cannot be written to, but only reset.
12 * The actual time is the sum of RTT and one of
34 at91_rtt_t *rtt = (at91_rtt_t *) ATMEL_BASE_RTT;
41 tim = readl(&rtt->vr);
42 tim2 = readl(&rtt->vr);
52 at91_rtt_t *rtt = (at91_rtt_t *) ATMEL_BASE_RTT;
59 writel(32768+AT91_RTT_RTTRST, &rtt->mr);
60 writel(~0, &rtt->ar);
63 while (readl(&rtt->vr) != 0)
70 at91_rtt_t *rtt = (at91_rtt_t *) ATMEL_BASE_RTT;
74 writel(32768+AT91_RTT_RTTRST, &rtt->mr);
75 writel(~0, &rtt->ar);
78 while (readl(&rtt->vr) != 0)