Searched refs:read_counter (Results 1 – 3 of 3) sorted by relevance
63 #define read_counter(MC) readq(MC) macro66 #define read_counter(MC) readl(MC) macro78 return (cycle_t)read_counter((void __iomem *)hpet_mctr); in read_hpet()170 m = read_counter(&devp->hd_timer->hpet_compare); in hpet_interrupt()171 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt()481 write_counter(read_counter(&hpet->hpet_mc), in hpet_ioctl_ieon()527 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()536 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()786 t = read_counter(&timer->hpet_compare); in __hpet_calibrate()793 start = read_counter(&hpet->hpet_mc); in __hpet_calibrate()[all …]
204 static long read_counter(u32 dma_base) in read_counter() function251 start_count = read_counter(dma_base); in detect_pll_input_clock()263 end_count = read_counter(dma_base); in detect_pll_input_clock()
888 __be32 read_counter; member