Searched refs:TIMER_CLOCKSOURCE (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/mips/jz4740/
H A Dtime.c33 #define TIMER_CLOCKSOURCE 1 macro
39 return jz4740_timer_get_count(TIMER_CLOCKSOURCE); jz4740_clocksource_read()
52 return jz4740_timer_get_count(TIMER_CLOCKSOURCE); jz4740_read_sched_clock()
165 jz4740_timer_set_ctrl(TIMER_CLOCKSOURCE, ctrl); plat_time_init()
170 jz4740_timer_set_period(TIMER_CLOCKSOURCE, 0xffff); plat_time_init()
173 jz4740_timer_enable(TIMER_CLOCKSOURCE); plat_time_init()
/linux-4.4.14/arch/arm/mach-netx/
H A Dtime.c35 #define TIMER_CLOCKSOURCE 1 macro
138 writel(0, NETX_GPIO_COUNTER_CTRL(TIMER_CLOCKSOURCE)); netx_timer_init()
139 writel(0, NETX_GPIO_COUNTER_CURRENT(TIMER_CLOCKSOURCE)); netx_timer_init()
140 writel(0xffffffff, NETX_GPIO_COUNTER_MAX(TIMER_CLOCKSOURCE)); netx_timer_init()
143 NETX_GPIO_COUNTER_CTRL(TIMER_CLOCKSOURCE)); netx_timer_init()
145 clocksource_mmio_init(NETX_GPIO_COUNTER_CURRENT(TIMER_CLOCKSOURCE), netx_timer_init()

Completed in 98 milliseconds