Home
last modified time | relevance | path

Searched refs:deltatsc (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/x86/kernel/
Dtsc.c339 static unsigned long calc_hpet_ref(u64 deltatsc, u64 hpet1, u64 hpet2) in calc_hpet_ref() argument
348 deltatsc = div64_u64(deltatsc, tmp); in calc_hpet_ref()
350 return (unsigned long) deltatsc; in calc_hpet_ref()
356 static unsigned long calc_pmtimer_ref(u64 deltatsc, u64 pm1, u64 pm2) in calc_pmtimer_ref() argument
368 do_div(deltatsc, tmp); in calc_pmtimer_ref()
370 return (unsigned long) deltatsc; in calc_pmtimer_ref()
/linux-6.1.9/arch/x86/kernel/apic/
Dapic.c733 calibrate_by_pmtimer(long deltapm, long *delta, long *deltatsc) in calibrate_by_pmtimer() argument
772 res = (((u64)(*deltatsc)) * pm_100ms); in calibrate_by_pmtimer()
776 (unsigned long)res, *deltatsc); in calibrate_by_pmtimer()
777 *deltatsc = (long)res; in calibrate_by_pmtimer()
847 long delta, deltatsc; in calibrate_APIC_clock() local
935 deltatsc = (long)(lapic_cal_tsc2 - lapic_cal_tsc1); in calibrate_APIC_clock()
939 &delta, &deltatsc); in calibrate_APIC_clock()
952 (deltatsc / LAPIC_CAL_LOOPS) / (1000000 / HZ), in calibrate_APIC_clock()
953 (deltatsc / LAPIC_CAL_LOOPS) % (1000000 / HZ)); in calibrate_APIC_clock()