Lines Matching refs:read_counter
59 #define read_counter(MC) readq(MC) macro
62 #define read_counter(MC) readl(MC) macro
74 return (cycle_t)read_counter((void __iomem *)hpet_mctr); in read_hpet()
166 m = read_counter(&devp->hd_timer->hpet_compare); in hpet_interrupt()
167 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt()
497 write_counter(read_counter(&hpet->hpet_mc), in hpet_ioctl_ieon()
542 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
551 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
801 t = read_counter(&timer->hpet_compare); in __hpet_calibrate()
808 start = read_counter(&hpet->hpet_mc); in __hpet_calibrate()
811 m = read_counter(&hpet->hpet_mc); in __hpet_calibrate()