Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/powerpc/lib/
H A Dinterrupts.c52 set_msr (get_msr () | MSR_EE); in enable_interrupts()
58 ulong msr = get_msr (); in disable_interrupts()
72 set_msr (get_msr () | MSR_EE); in interrupt_init()
H A Dkgdb.c84 kdp->private[0] = msr = get_msr(); in kgdb_enter()
/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c693 int get_msr(int cpu, off_t offset, unsigned long long *msr) in get_msr() function
1952 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
2001 get_msr(cpu, MSR_IA32_ENERGY_PERF_BIAS, &msr); in get_epb()
2117 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
2124 if (get_msr(cpu, MSR_IA32_APERF, &t->aperf)) in get_counters()
2129 if (get_msr(cpu, MSR_IA32_MPERF, &t->mperf)) in get_counters()
2161 if (get_msr(cpu, MSR_SMI_COUNT, &msr)) in get_counters()
2166 if (get_msr(cpu, MSR_CORE_C1_RES, &t->c1)) in get_counters()
2180 if (get_msr(cpu, MSR_CORE_C3_RESIDENCY, &c->c3)) in get_counters()
2185 if (get_msr(cpu, MSR_CORE_C6_RESIDENCY, &c->c6)) in get_counters()
[all …]
/openbmc/qemu/target/microblaze/
H A Dmachine.c39 static int get_msr(QEMUFile *f, void *opaque, size_t size, in get_msr() function
59 .get = get_msr,
/openbmc/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c680 int get_msr(int cpu, int offset, unsigned long long *msr) in get_msr() function
781 get_msr(cpu, msr_offset, &msr); in read_hwp_cap()
816 get_msr(cpu, msr_offset, &msr); in read_hwp_request()
926 get_msr(first_cpu_in_pkg[pkg], MSR_HWP_INTERRUPT, &msr); in print_pkg_msrs()
933 get_msr(first_cpu_in_pkg[pkg], MSR_HWP_STATUS, &msr); in print_pkg_msrs()
1171 get_msr(cpu, MSR_PM_ENABLE, &msr); in enable_hwp_on_cpu()
1197 get_msr(cpu, MSR_IA32_MISC_ENABLE, &msr); in update_cpu_msrs()
1339 get_msr(base_cpu, MSR_PM_ENABLE, &msr); in verify_hwp_is_enabled()
1421 get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT, &msr); in early_cpuid()
/openbmc/linux/arch/x86/include/asm/
H A Dkvm-x86-pmu-ops.h21 KVM_X86_PMU_OP(get_msr)
H A Dkvm-x86-ops.h33 KVM_X86_OP(get_msr)
H A Dkvm_host.h1578 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr); member
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dppc.h103 static inline unsigned long get_msr(void) in get_msr() function
/openbmc/u-boot/drivers/timer/
H A Dmpc83xx_timer.c137 set_msr(get_msr() | MSR_EE); in interrupt_init()
/openbmc/linux/arch/x86/kvm/svm/
H A Dpmu.c243 .get_msr = amd_pmu_get_msr,
H A Dsvm.c4967 .get_msr = svm_get_msr,
/openbmc/linux/arch/x86/kvm/
H A Demulate.c787 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in emulator_recalc_and_set_mode()
1513 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in get_descriptor_ptr()
1687 ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); in __load_segment_descriptor()
2414 ops->get_msr(ctxt, MSR_EFER, &efer); in em_syscall()
2419 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2436 ops->get_msr(ctxt, in em_syscall()
2441 ops->get_msr(ctxt, MSR_SYSCALL_MASK, &msr_data); in em_syscall()
2447 ops->get_msr(ctxt, MSR_STAR, &msr_data); in em_syscall()
2465 ops->get_msr(ctxt, MSR_EFER, &efer); in em_sysenter()
2482 ops->get_msr(ctxt, MSR_IA32_SYSENTER_CS, &msr_data); in em_sysenter()
[all …]
H A Dpmu.h29 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); member
H A Dkvm_emulate.h204 int (*get_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 *pdata); member
H A Dx86.c8367 .get_msr = emulator_get_msr,
/openbmc/linux/arch/x86/kvm/vmx/
H A Dpmu_intel.c766 .get_msr = intel_pmu_get_msr,
H A Dvmx.c8279 .get_msr = vmx_get_msr,