Lines Matching refs:read_counter
58 #define read_counter(MC) readq(MC) macro
61 #define read_counter(MC) readl(MC) macro
73 return (u64)read_counter((void __iomem *)hpet_mctr); in read_hpet()
149 read_counter(&devp->hd_timer->hpet_compare); in hpet_interrupt()
150 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt()
480 write_counter(read_counter(&hpet->hpet_mc), in hpet_ioctl_ieon()
525 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
534 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
761 t = read_counter(&timer->hpet_compare); in __hpet_calibrate()
768 start = read_counter(&hpet->hpet_mc); in __hpet_calibrate()
771 m = read_counter(&hpet->hpet_mc); in __hpet_calibrate()