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

/linux-4.4.14/arch/arm/mach-rpc/
H A Dtime.c28 #define RPC_LATCH DIV_ROUND_CLOSEST(RPC_CLOCK_FREQ, HZ) macro
52 offset -= RPC_LATCH; ioc_timer_gettimeoffset()
58 offset -= RPC_LATCH; ioc_timer_gettimeoffset()
61 offset = (RPC_LATCH - offset) * (tick_nsec / 1000); ioc_timer_gettimeoffset()
62 return DIV_ROUND_CLOSEST(offset, RPC_LATCH) * 1000; ioc_timer_gettimeoffset()
67 ioc_writeb(RPC_LATCH & 255, IOC_T0LTCHL); ioctime_init()
68 ioc_writeb(RPC_LATCH >> 8, IOC_T0LTCHH); ioctime_init()

Completed in 34 milliseconds