Searched refs:deltatsc (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | tsc.c | 338 static unsigned long calc_hpet_ref(u64 deltatsc, u64 hpet1, u64 hpet2) in calc_hpet_ref() argument 347 deltatsc = div64_u64(deltatsc, tmp); in calc_hpet_ref() 349 return (unsigned long) deltatsc; in calc_hpet_ref() 355 static unsigned long calc_pmtimer_ref(u64 deltatsc, u64 pm1, u64 pm2) in calc_pmtimer_ref() argument 367 do_div(deltatsc, tmp); in calc_pmtimer_ref() 369 return (unsigned long) deltatsc; in calc_pmtimer_ref()
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
D | apic.c | 721 calibrate_by_pmtimer(long deltapm, long *delta, long *deltatsc) in calibrate_by_pmtimer() argument 760 res = (((u64)(*deltatsc)) * pm_100ms); in calibrate_by_pmtimer() 764 (unsigned long)res, *deltatsc); in calibrate_by_pmtimer() 765 *deltatsc = (long)res; in calibrate_by_pmtimer() 835 long delta, deltatsc; in calibrate_APIC_clock() local 923 deltatsc = (long)(lapic_cal_tsc2 - lapic_cal_tsc1); in calibrate_APIC_clock() 927 &delta, &deltatsc); in calibrate_APIC_clock() 940 (deltatsc / LAPIC_CAL_LOOPS) / (1000000 / HZ), in calibrate_APIC_clock() 941 (deltatsc / LAPIC_CAL_LOOPS) % (1000000 / HZ)); in calibrate_APIC_clock()
|