Searched refs:cpu_has_tsc (Results 1 – 7 of 7) sorted by relevance
27 if (!cpu_has_tsc) in get_cycles()42 if (!cpu_has_tsc) in vget_cycles()
354 #define cpu_has_tsc boot_cpu_has(X86_FEATURE_TSC) macro
814 if (cpu_has_tsc) { in recalibrate_cpu_khz()936 if (!cpu_has_tsc) in cpufreq_tsc()1030 if (!cpu_has_tsc || tsc_unstable) in unsynchronized_tsc()1133 if (!cpu_has_tsc || tsc_disabled > 0 || !tsc_khz) in init_tsc_clocksource()1172 if (!cpu_has_tsc) { in tsc_init()
601 if (cpu_has_tsc) in lapic_cal_handler()662 if (cpu_has_tsc) { in calibrate_by_pmtimer()754 if (cpu_has_tsc) { in calibrate_APIC_clock()1218 if (cpu_has_tsc) in setup_local_APIC()1302 if (cpu_has_tsc && cpu_khz) { in setup_local_APIC()
146 #define GET_TIME(x) do { if (cpu_has_tsc) rdtscl(x); else x = get_time_pit(); } while (0)147 #define DELTA(x,y) (cpu_has_tsc ? ((y) - (x)) : ((x) - (y) + ((x) < (y) ? PIT_TICK_RATE / HZ : 0)))148 #define TIME_NAME (cpu_has_tsc?"TSC":"PIT")
1468 if (cpu_feature_enabled(X86_FEATURE_VME) || cpu_has_tsc || cpu_has_de) in cpu_init()
640 if (cpu_has_tsc) \