Home
last modified time | relevance | path

Searched refs:get_msr (Results 1 – 14 of 14) sorted by relevance

/linux/tools/power/x86/turbostat/
H A Dturbostat.c564 int get_msr(int cpu, off_t offset, unsigned long long *msr);
623 if (get_msr(base_cpu, MSR_FSB_FREQ, &msr)) in slm_bclk()
2485 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
4331 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
4397 get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr); in get_epb()
4700 if (get_msr(cpu, rci->msr[i], &rci->data[i])) in get_rapl_counters()
4831 if (get_msr(cpu, cci->msr[i], &cci->data[i])) in get_cstate_counters()
4930 if (get_msr(cpu, mci->msr[i], &mci->data[i])) in get_smi_aperf_mperf()
5107 if (get_msr(cpu, MSR_MODULE_C6_RES_MS, &c->mc6_us)) in get_counters()
5111 if (get_msr(cpu, MSR_IA32_THERM_STATUS, &msr)) in get_counters()
[all …]
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c688 int get_msr(int cpu, int offset, unsigned long long *msr) in get_msr() function
792 get_msr(cpu, msr_offset, &msr); in read_hwp_cap()
827 get_msr(cpu, msr_offset, &msr); in read_hwp_request_msr()
937 get_msr(first_cpu_in_pkg[pkg], MSR_HWP_INTERRUPT, &msr); in print_pkg_msrs()
944 get_msr(first_cpu_in_pkg[pkg], MSR_HWP_STATUS, &msr); in print_pkg_msrs()
1186 get_msr(cpu, MSR_PM_ENABLE, &old_msr); in enable_hwp_on_cpu()
1221 get_msr(cpu, MSR_IA32_MISC_ENABLE, &msr); in update_cpu_msrs()
1370 get_msr(cpu_num, MSR_PM_ENABLE, &msr); in is_hwp_enabled_on_cpu()
1489 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in early_cpuid()
/linux/arch/x86/include/asm/
H A Dkvm-x86-pmu-ops.h18 KVM_X86_PMU_OP(get_msr)
H A Dkvm-x86-ops.h33 KVM_X86_OP(get_msr)
H A Dkvm_host.h1744 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr); member
/linux/arch/x86/kvm/
H A Demulate.c738 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in emulator_recalc_and_set_mode()
1452 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in get_descriptor_ptr()
1498 if (ctxt->ops->get_msr(ctxt, MSR_EFER, &efer)) in emulator_is_ssp_invalid()
1505 if (ctxt->ops->get_msr(ctxt, MSR_IA32_X_CET, &cet)) in emulator_is_ssp_invalid()
1511 if (ctxt->ops->get_msr(ctxt, MSR_KVM_INTERNAL_GUEST_SSP, &ssp)) in emulator_is_ssp_invalid()
1657 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in __load_segment_descriptor()
2363 ops->get_msr(ctxt, MSR_EFER, &efer); in em_syscall()
2368 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2385 ops->get_msr(ctxt, in em_syscall()
2390 ops->get_msr(ctxt, MSR_SYSCALL_MASK, &msr_data); in em_syscall()
[all …]
H A Dpmu.h32 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); member
H A Dkvm_emulate.h218 int (*get_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 *pdata); member
H A Dpmu.c754 return kvm_pmu_call(get_msr)(vcpu, msr_info); in kvm_pmu_get_msr()
H A Dx86.c1996 ret = kvm_x86_call(get_msr)(vcpu, &msr); in __kvm_get_msr()
8892 .get_msr = emulator_get_msr,
/linux/arch/x86/kvm/svm/
H A Dpmu.c235 .get_msr = amd_pmu_get_msr,
H A Dsvm.c5048 .get_msr = svm_get_msr,
/linux/arch/x86/kvm/vmx/
H A Dmain.c899 .get_msr = vt_op(get_msr),
H A Dpmu_intel.c774 .get_msr = intel_pmu_get_msr,