Searched refs:fttmr010 (Results 1 – 3 of 3) sorted by relevance
99 struct fttmr010 { struct115 static struct fttmr010 *local_fttmr; argument117 static inline struct fttmr010 *to_fttmr010(struct clock_event_device *evt) in to_fttmr010()119 return container_of(evt, struct fttmr010, clkevt); in to_fttmr010()145 struct fttmr010 *fttmr010 = to_fttmr010(evt); in fttmr010_timer_set_next_event() local149 fttmr010->timer_shutdown(evt); in fttmr010_timer_set_next_event()151 if (fttmr010->is_aspeed) { in fttmr010_timer_set_next_event()156 writel(cycles, fttmr010->base + TIMER1_LOAD); in fttmr010_timer_set_next_event()159 cr = readl(fttmr010->base + TIMER1_COUNT); in fttmr010_timer_set_next_event()160 writel(cr + cycles, fttmr010->base + TIMER1_MATCH1); in fttmr010_timer_set_next_event()[all …]
61 compatible = "moxa,moxart-timer", "faraday,fttmr010";
178 compatible = "faraday,fttmr010";