Lines Matching refs:regs
62 struct atftmr_timer_regs *regs;
68 struct atftmr_timer_regs *const regs = plat->regs;
70 val = readl(®s->t3_counter);
78 struct atftmr_timer_regs *const regs = plat->regs;
80 writel(0, ®s->t3_load);
81 writel(0, ®s->t3_counter);
82 writel(TIMER_LOAD_VAL, ®s->t3_match1);
83 writel(TIMER_LOAD_VAL, ®s->t3_match2);
85 writel(T3_MATCH1|T3_MATCH2|T3_OVERFLOW , ®s->int_mask);
86 cr = readl(®s->cr);
88 writel(cr, ®s->cr);
95 plat->regs = map_physmem(devfdt_get_addr(dev),