Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-netx/
Dtime.c32 #define TIMER_CLOCKSOURCE 1 macro
109 return readl(NETX_GPIO_COUNTER_CURRENT(TIMER_CLOCKSOURCE)); in netx_get_cycles()
146 writel(0, NETX_GPIO_COUNTER_CTRL(TIMER_CLOCKSOURCE)); in netx_timer_init()
147 writel(0, NETX_GPIO_COUNTER_CURRENT(TIMER_CLOCKSOURCE)); in netx_timer_init()
148 writel(0xffffffff, NETX_GPIO_COUNTER_MAX(TIMER_CLOCKSOURCE)); in netx_timer_init()
151 NETX_GPIO_COUNTER_CTRL(TIMER_CLOCKSOURCE)); in netx_timer_init()
/linux-2.6.39/arch/mips/jz4740/
Dtime.c29 #define TIMER_CLOCKSOURCE 1 macro
35 return jz4740_timer_get_count(TIMER_CLOCKSOURCE); in jz4740_clocksource_read()
135 jz4740_timer_set_ctrl(TIMER_CLOCKSOURCE, ctrl); in plat_time_init()
140 jz4740_timer_set_period(TIMER_CLOCKSOURCE, 0xffff); in plat_time_init()
143 jz4740_timer_enable(TIMER_CLOCKSOURCE); in plat_time_init()
/linux-2.6.39/arch/arm/mach-ns9xxx/
Dtime-ns9360.c24 #define TIMER_CLOCKSOURCE 0 macro
30 return __raw_readl(SYS_TR(TIMER_CLOCKSOURCE)); in ns9360_clocksource_read()
34 .name = "ns9360-timer" __stringify(TIMER_CLOCKSOURCE),
131 tc = __raw_readl(SYS_TC(TIMER_CLOCKSOURCE)); in ns9360_timer_init()
134 __raw_writel(tc, SYS_TC(TIMER_CLOCKSOURCE)); in ns9360_timer_init()
137 __raw_writel(0, SYS_TRC(TIMER_CLOCKSOURCE)); in ns9360_timer_init()
148 __raw_writel(tc, SYS_TC(TIMER_CLOCKSOURCE)); in ns9360_timer_init()