Lines Matching refs:read_counter
57 #define read_counter(MC) readq(MC) macro
60 #define read_counter(MC) readl(MC) macro
72 return (u64)read_counter((void __iomem *)hpet_mctr); in read_hpet()
164 m = read_counter(&devp->hd_timer->hpet_compare); in hpet_interrupt()
165 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt()
495 write_counter(read_counter(&hpet->hpet_mc), in hpet_ioctl_ieon()
540 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
549 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
796 t = read_counter(&timer->hpet_compare); in __hpet_calibrate()
803 start = read_counter(&hpet->hpet_mc); in __hpet_calibrate()
806 m = read_counter(&hpet->hpet_mc); in __hpet_calibrate()