Searched refs:hpet2 (Results 1 – 1 of 1) sorted by relevance
338 static unsigned long calc_hpet_ref(u64 deltatsc, u64 hpet1, u64 hpet2) in calc_hpet_ref() argument342 if (hpet2 < hpet1) in calc_hpet_ref()343 hpet2 += 0x100000000ULL; in calc_hpet_ref()344 hpet2 -= hpet1; in calc_hpet_ref()345 tmp = ((u64)hpet2 * hpet_readl(HPET_PERIOD)); in calc_hpet_ref()