/arch/x86/include/asm/ |
D | stackprotector.h | 64 u64 tsc; in boot_init_stack_canary() local 76 tsc = rdtsc(); in boot_init_stack_canary() 77 canary += tsc + (tsc << 32UL); in boot_init_stack_canary()
|
D | pvclock.h | 82 u64 __pvclock_read_cycles(const struct pvclock_vcpu_time_info *src, u64 tsc) in __pvclock_read_cycles() argument 84 u64 delta = tsc - src->tsc_timestamp; in __pvclock_read_cycles()
|
D | tsc.h | 41 extern unsigned long long native_sched_clock_from_tsc(u64 tsc);
|
/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 | 218 u64 native_sched_clock_from_tsc(u64 tsc) in native_sched_clock_from_tsc() argument 220 return cycles_2_ns(tsc); in native_sched_clock_from_tsc() 363 u64 tsc, t1, t2, delta; in pit_calibrate_tsc() local 393 tsc = t1 = t2 = get_cycles(); in pit_calibrate_tsc() 400 delta = t2 - tsc; in pit_calibrate_tsc() 401 tsc = t2; in pit_calibrate_tsc() 472 u64 tsc = 0, prev_tsc = 0; in pit_expect_msb() local 477 prev_tsc = tsc; in pit_expect_msb() 478 tsc = get_cycles(); in pit_expect_msb() 481 *tscp = tsc; in pit_expect_msb() [all …]
|
D | Makefile | 58 obj-y += tsc.o tsc_msr.o io_delay.o rtc.o
|
/arch/s390/include/asm/ |
D | stp.h | 15 unsigned int tsc : 1; /* Timing status change */ member
|
/arch/x86/include/uapi/asm/ |
D | mce.h | 15 __u64 tsc; /* cpu time stamp counter */ member
|
D | kvm_para.h | 59 __u64 tsc; member
|
/arch/x86/kernel/apic/ |
D | apic.c | 476 u64 tsc; in lapic_next_deadline() local 478 tsc = rdtsc(); in lapic_next_deadline() 479 wrmsrl(MSR_IA32_TSC_DEADLINE, tsc + (((u64) delta) * TSC_DIVISOR)); in lapic_next_deadline() 730 unsigned long long tsc = 0; in lapic_cal_handler() local 735 tsc = rdtsc(); in lapic_cal_handler() 740 lapic_cal_tsc1 = tsc; in lapic_cal_handler() 747 lapic_cal_tsc2 = tsc; in lapic_cal_handler() 1368 unsigned long long tsc = 0, ntsc; in apic_pending_intr_clear() local 1373 tsc = rdtsc(); in apic_pending_intr_clear() 1407 max_loops = (cpu_khz << 10) - (ntsc - tsc); in apic_pending_intr_clear()
|
/arch/x86/kernel/cpu/mcheck/ |
D | mce-apei.c | 58 m.tsc = rdtsc(); in apei_mce_report_mem_error()
|
D | mce.c | 251 pr_emerg(HW_ERR "TSC %llx ", m->tsc); in __print_mce() 692 m.tsc = rdtsc(); in machine_check_poll() 1215 m.tsc = rdtsc(); in do_machine_check()
|
/arch/arm/boot/dts/ |
D | lpc32xx.dtsi | 445 tsc: tsc@40048000 { label 446 compatible = "nxp,lpc3220-tsc";
|
D | lpc3250-phy3250.dts | 212 &tsc {
|
D | mmp2-brownstone.dts | 39 maxim,tsc-irq = <0>;
|
D | imx6ul-geam.dts | 237 &tsc { 249 &tsc {
|
D | imx6ul.dtsi | 331 tsc: tsc@02040000 { label 332 compatible = "fsl,imx6ul-tsc"; 338 clock-names = "tsc", "adc";
|
D | atlas6.dtsi | 356 tsc@b0110000 { 357 compatible = "sirf,prima2-tsc";
|
D | prima2.dtsi | 370 tsc@b0110000 { 371 compatible = "sirf,prima2-tsc";
|
D | imx6ul-14x14-evk.dts | 197 &tsc {
|
D | imx6ul-opos6uldev.dts | 221 &tsc {
|
D | am437x-cm-t43.dts | 396 tsc {
|
/arch/x86/events/ |
D | msr.c | 99 PMU_EVENT_ATTR_STRING(tsc, evattr_tsc, "event=0x00");
|
/arch/x86/kvm/ |
D | hyperv.c | 408 u64 tsc; in get_time_ref_counter() local 418 tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in get_time_ref_counter() 419 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter()
|
D | x86.c | 1504 u64 tsc = pvclock_scale_delta(kernel_ns-vcpu->arch.this_tsc_nsec, in compute_guest_tsc() local 1507 tsc += vcpu->arch.this_tsc_write; in compute_guest_tsc() 1508 return tsc; in compute_guest_tsc() 1555 static inline u64 __scale_tsc(u64 ratio, u64 tsc) in __scale_tsc() argument 1557 return mul_u64_u64_shr(tsc, ratio, kvm_tsc_scaling_ratio_frac_bits); in __scale_tsc() 1560 u64 kvm_scale_tsc(struct kvm_vcpu *vcpu, u64 tsc) in kvm_scale_tsc() argument 1562 u64 _tsc = tsc; in kvm_scale_tsc() 1566 _tsc = __scale_tsc(ratio, tsc); in kvm_scale_tsc() 1574 u64 tsc; in kvm_compute_tsc_offset() local 1576 tsc = kvm_scale_tsc(vcpu, rdtsc()); in kvm_compute_tsc_offset() [all …]
|