Home
last modified time | relevance | path

Searched refs:gpt_base (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/arch/arm/plat-spear/
Dtime.c65 static __iomem void *gpt_base; variable
79 writew(CTRL_PRESCALER256, gpt_base + CR(CLKSRC)); in spear_clocksource_init()
85 writew(0xFFFF, gpt_base + LOAD(CLKSRC)); in spear_clocksource_init()
87 val = readw(gpt_base + CR(CLKSRC)); in spear_clocksource_init()
90 writew(val, gpt_base + CR(CLKSRC)); in spear_clocksource_init()
93 clocksource_mmio_init(gpt_base + COUNT(CLKSRC), "tmr1", tick_rate, in spear_clocksource_init()
112 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode()
114 writew(val, gpt_base + CR(CLKEVT)); in clockevent_set_mode()
120 writew(period, gpt_base + LOAD(CLKEVT)); in clockevent_set_mode()
122 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode()
[all …]