Searched refs:tsc (Results 1 – 14 of 14) sorted by relevance
/arch/x86/include/asm/ |
D | stackprotector.h | 61 u64 tsc; in boot_init_stack_canary() local 73 tsc = __native_read_tsc(); in boot_init_stack_canary() 74 canary += tsc + (tsc << 32UL); in boot_init_stack_canary()
|
D | mce.h | 66 __u64 tsc; /* cpu time stamp counter */ member
|
/arch/c6x/kernel/ |
D | time.c | 47 u64 tsc = get_cycles(); in sched_clock() local 49 return (tsc * sched_clock_multiplier) >> SCHED_CLOCK_SHIFT; in sched_clock()
|
/arch/x86/kernel/ |
D | tsc.c | 198 u64 tsc, t1, t2, delta; in pit_calibrate_tsc() local 214 tsc = t1 = t2 = get_cycles(); in pit_calibrate_tsc() 221 delta = t2 - tsc; in pit_calibrate_tsc() 222 tsc = t2; in pit_calibrate_tsc() 293 u64 tsc = 0, prev_tsc = 0; in pit_expect_msb() local 298 prev_tsc = tsc; in pit_expect_msb() 299 tsc = get_cycles(); in pit_expect_msb() 302 *tscp = tsc; in pit_expect_msb() 323 u64 tsc, delta; in quick_pit_calibrate() local 352 if (pit_expect_msb(0xff, &tsc, &d1)) { in quick_pit_calibrate() [all …]
|
D | Makefile | 34 obj-y += tsc.o io_delay.o rtc.o
|
/arch/x86/kernel/apic/ |
D | apic.c | 572 unsigned long long tsc = 0; in lapic_cal_handler() local 577 rdtscll(tsc); in lapic_cal_handler() 582 lapic_cal_tsc1 = tsc; in lapic_cal_handler() 589 lapic_cal_tsc2 = tsc; in lapic_cal_handler() 1231 unsigned long long tsc = 0, ntsc; in setup_local_APIC() local 1235 rdtscll(tsc); in setup_local_APIC() 1330 max_loops = (cpu_khz << 10) - (ntsc - tsc); in setup_local_APIC()
|
/arch/s390/include/asm/ |
D | etr.h | 222 unsigned int tsc : 1; /* Timing status change */ member
|
/arch/arm/boot/dts/ |
D | prima2-cb.dts | 276 tsc@b0110000 { 277 compatible = "sirf,prima2-tsc";
|
/arch/x86/kernel/cpu/mcheck/ |
D | mce.c | 116 rdtscll(m->tsc); in mce_setup() 258 pr_emerg(HW_ERR "TSC %llx ", m->tsc); in print_mce() 605 m.tsc = 0; in machine_check_poll() 625 m.tsc = 0; in machine_check_poll() 1727 if (m->finished && m->tsc < cpu_tsc[m->cpu]) { in mce_chrdev_read()
|
/arch/x86/kvm/ |
D | svm.c | 203 static u64 __scale_tsc(u64 ratio, u64 tsc); 946 static u64 __scale_tsc(u64 ratio, u64 tsc) in __scale_tsc() argument 953 _tsc = tsc; in __scale_tsc() 955 _tsc += (tsc >> 32) * frac; in __scale_tsc() 956 _tsc += ((tsc & ((1ULL << 32) - 1)) * frac) >> 32; in __scale_tsc() 961 static u64 svm_scale_tsc(struct kvm_vcpu *vcpu, u64 tsc) in svm_scale_tsc() argument 964 u64 _tsc = tsc; in svm_scale_tsc() 967 _tsc = __scale_tsc(svm->tsc_ratio, tsc); in svm_scale_tsc() 1040 u64 tsc; in svm_compute_tsc_offset() local 1042 tsc = svm_scale_tsc(vcpu, native_read_tsc()); in svm_compute_tsc_offset() [all …]
|
D | x86.c | 1016 u64 tsc = pvclock_scale_delta(kernel_ns-vcpu->arch.this_tsc_nsec, in compute_guest_tsc() local 1019 tsc += vcpu->arch.this_tsc_write; in compute_guest_tsc() 1020 return tsc; in compute_guest_tsc() 1142 u64 tsc = compute_guest_tsc(v, kernel_ns); in kvm_guest_time_update() local 1143 if (tsc > tsc_timestamp) { in kvm_guest_time_update() 1144 adjust_tsc_offset_guest(v, tsc - tsc_timestamp); in kvm_guest_time_update() 1145 tsc_timestamp = tsc; in kvm_guest_time_update()
|
D | emulate.c | 2772 u64 tsc = 0; in em_rdtsc() local 2774 ctxt->ops->get_msr(ctxt, MSR_IA32_TSC, &tsc); in em_rdtsc() 2775 ctxt->regs[VCPU_REGS_RAX] = (u32)tsc; in em_rdtsc() 2776 ctxt->regs[VCPU_REGS_RDX] = tsc >> 32; in em_rdtsc()
|
/arch/arm/mach-davinci/ |
D | tnetv107x.c | 150 define_pll_div_clk(sys, tsc, 7); 201 lpsc_clk(tsc, sys_tsc_clk, TSC);
|
/arch/s390/kernel/ |
D | time.c | 1487 if (intparm->tsc || intparm->lac || intparm->tcpc) in stp_timing_alert()
|