Home | History | Annotate | Download | only in timer

Lines Matching refs:regs

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