Home
last modified time | relevance | path

Searched refs:MTRRphysBase_MSR (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c550 rdmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); in get_mtrr_var_range()
819 rdmsr(MTRRphysBase_MSR(reg), base_lo, base_hi); in generic_get_mtrr()
880 rdmsr(MTRRphysBase_MSR(index), lo, hi); in set_mtrr_var_ranges()
884 mtrr_wrmsr(MTRRphysBase_MSR(index), vr->base_lo, vr->base_hi); in set_mtrr_var_ranges()
1002 mtrr_wrmsr(MTRRphysBase_MSR(reg), vr->base_lo, vr->base_hi); in generic_set_mtrr()
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dmtrr.h84 #define MTRRphysBase_MSR(reg) (0x200 + 2 * (reg)) macro
/openbmc/linux/arch/x86/kvm/
H A Dmtrr.c37 int index = (msr - MTRRphysBase_MSR(0)) / 2; in var_mtrr_msr_to_range()
45 case MTRRphysBase_MSR(0) ... MTRRphysMask_MSR(KVM_NR_VAR_MTRR - 1): in msr_mtrr_valid()
88 WARN_ON(!(msr >= MTRRphysBase_MSR(0) && in kvm_mtrr_valid()
H A Dx86.c3727 case MTRRphysBase_MSR(0) ... MSR_MTRRfix4K_F8000: in kvm_set_msr_common()
4140 case MTRRphysBase_MSR(0) ... MSR_MTRRfix4K_F8000: in kvm_get_msr_common()