Searched refs:gpt_base (Results 1 – 2 of 2) sorted by relevance
66 static __iomem void *gpt_base; variable86 val = readw(gpt_base + CR(CLKSRC)); in spear_clocksource_init()89 writew(val, gpt_base + CR(CLKSRC)); in spear_clocksource_init()102 writew(val, gpt_base + CR(CLKEVT)); in timer_shutdown()119 val = readw(gpt_base + CR(CLKEVT)); in spear_set_oneshot()121 writew(val, gpt_base + CR(CLKEVT)); in spear_set_oneshot()138 val = readw(gpt_base + CR(CLKEVT)); in spear_set_periodic()141 writew(val, gpt_base + CR(CLKEVT)); in spear_set_periodic()224 gpt_base = of_iomap(np, 0); in spear_setup_of_timer()225 if (!gpt_base) { in spear_setup_of_timer()[all …]
21 void __iomem *gpt_base; in mediatek_timer_init() local28 gpt_base = ioremap(GPT6_CON_MT65xx, 0x04); in mediatek_timer_init()31 writel(GPT_ENABLE, gpt_base); in mediatek_timer_init()32 iounmap(gpt_base); in mediatek_timer_init()
Completed in 6 milliseconds