Lines Matching refs:u300_timer_base

183 static void __iomem *u300_timer_base;  variable
194 u300_timer_base + U300_TIMER_APP_GPT1IE); in u300_shutdown()
197 u300_timer_base + U300_TIMER_APP_DGPT1); in u300_shutdown()
215 u300_timer_base + U300_TIMER_APP_GPT1IE); in u300_set_oneshot()
218 u300_timer_base + U300_TIMER_APP_DGPT1); in u300_set_oneshot()
223 writel(0xFFFFFFFF, u300_timer_base + U300_TIMER_APP_GPT1TC); in u300_set_oneshot()
226 u300_timer_base + U300_TIMER_APP_SGPT1M); in u300_set_oneshot()
229 u300_timer_base + U300_TIMER_APP_GPT1IE); in u300_set_oneshot()
232 u300_timer_base + U300_TIMER_APP_EGPT1); in u300_set_oneshot()
243 u300_timer_base + U300_TIMER_APP_GPT1IE); in u300_set_periodic()
246 u300_timer_base + U300_TIMER_APP_DGPT1); in u300_set_periodic()
252 u300_timer_base + U300_TIMER_APP_GPT1TC); in u300_set_periodic()
258 u300_timer_base + U300_TIMER_APP_SGPT1M); in u300_set_periodic()
261 u300_timer_base + U300_TIMER_APP_GPT1IE); in u300_set_periodic()
264 u300_timer_base + U300_TIMER_APP_EGPT1); in u300_set_periodic()
282 u300_timer_base + U300_TIMER_APP_GPT1IE); in u300_set_next_event()
285 u300_timer_base + U300_TIMER_APP_DGPT1); in u300_set_next_event()
288 u300_timer_base + U300_TIMER_APP_RGPT1); in u300_set_next_event()
290 writel(cycles, u300_timer_base + U300_TIMER_APP_GPT1TC); in u300_set_next_event()
296 u300_timer_base + U300_TIMER_APP_SGPT1M); in u300_set_next_event()
299 u300_timer_base + U300_TIMER_APP_GPT1IE); in u300_set_next_event()
302 u300_timer_base + U300_TIMER_APP_EGPT1); in u300_set_next_event()
328 u300_timer_base + U300_TIMER_APP_GPT1IA); in u300_timer_interrupt()
349 return readl(u300_timer_base + U300_TIMER_APP_GPT2CC); in u300_read_sched_clock()
354 return readl(u300_timer_base + U300_TIMER_APP_GPT2CC); in u300_read_current_timer()
369 u300_timer_base = of_iomap(np, 0); in u300_timer_init_of()
370 if (!u300_timer_base) { in u300_timer_init_of()
382 pr_info("U300 GP1 timer @ base: %p, IRQ: %u\n", u300_timer_base, irq); in u300_timer_init_of()
408 u300_timer_base + U300_TIMER_APP_CRC); in u300_timer_init_of()
410 u300_timer_base + U300_TIMER_APP_ROST); in u300_timer_init_of()
412 u300_timer_base + U300_TIMER_APP_DOST); in u300_timer_init_of()
414 u300_timer_base + U300_TIMER_APP_RDDT); in u300_timer_init_of()
416 u300_timer_base + U300_TIMER_APP_DDDT); in u300_timer_init_of()
420 u300_timer_base + U300_TIMER_APP_RGPT1); in u300_timer_init_of()
429 u300_timer_base + U300_TIMER_APP_RGPT2); in u300_timer_init_of()
431 writel(0xFFFFFFFFU, u300_timer_base + U300_TIMER_APP_GPT2TC); in u300_timer_init_of()
434 u300_timer_base + U300_TIMER_APP_SGPT2M); in u300_timer_init_of()
437 u300_timer_base + U300_TIMER_APP_GPT2IE); in u300_timer_init_of()
440 u300_timer_base + U300_TIMER_APP_EGPT2); in u300_timer_init_of()
443 ret = clocksource_mmio_init(u300_timer_base + U300_TIMER_APP_GPT2CC, in u300_timer_init_of()