Lines Matching refs:read_counter
60 #define read_counter(MC) readq(MC) macro
63 #define read_counter(MC) readl(MC) macro
75 return (cycle_t)read_counter((void __iomem *)hpet_mctr); in read_hpet()
167 m = read_counter(&devp->hd_timer->hpet_compare); in hpet_interrupt()
168 mc = read_counter(&hpet->hpet_mc); in hpet_interrupt()
498 write_counter(read_counter(&hpet->hpet_mc), in hpet_ioctl_ieon()
543 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
552 m = read_counter(&hpet->hpet_mc); in hpet_ioctl_ieon()
802 t = read_counter(&timer->hpet_compare); in __hpet_calibrate()
809 start = read_counter(&hpet->hpet_mc); in __hpet_calibrate()
812 m = read_counter(&hpet->hpet_mc); in __hpet_calibrate()