Searched refs:RPC_LATCH (Results 1 – 1 of 1) sorted by relevance
28 #define RPC_LATCH DIV_ROUND_CLOSEST(RPC_CLOCK_FREQ, HZ) macro52 offset -= RPC_LATCH; in ioc_timer_gettimeoffset()58 offset -= RPC_LATCH; in ioc_timer_gettimeoffset()61 offset = (RPC_LATCH - offset) * (tick_nsec / 1000); in ioc_timer_gettimeoffset()62 return DIV_ROUND_CLOSEST(offset, RPC_LATCH) * 1000; in ioc_timer_gettimeoffset()67 ioc_writeb(RPC_LATCH & 255, IOC_T0LTCHL); in ioctime_init()68 ioc_writeb(RPC_LATCH >> 8, IOC_T0LTCHH); in ioctime_init()