Searched refs:hpet2 (Results 1 – 1 of 1) sorted by relevance
146 static unsigned long calc_hpet_ref(u64 deltatsc, u64 hpet1, u64 hpet2) in calc_hpet_ref() argument150 if (hpet2 < hpet1) in calc_hpet_ref()151 hpet2 += 0x100000000ULL; in calc_hpet_ref()152 hpet2 -= hpet1; in calc_hpet_ref()153 tmp = ((u64)hpet2 * hpet_readl(HPET_PERIOD)); in calc_hpet_ref()