Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dcar.S103 andl $(~(X86_CR0_CD | X86_CR0_NW)), %eax
130 orl $X86_CR0_CD, %eax
162 andl $(~(X86_CR0_CD | X86_CR0_NW)), %eax
180 orl $X86_CR0_CD, %eax
/openbmc/linux/arch/x86/kernel/cpu/mtrr/
H A Dcyrix.c151 cr0 = read_cr0() | X86_CR0_CD; in prepare_set()
172 write_cr0(read_cr0() & ~X86_CR0_CD); in post_set()
/openbmc/u-boot/arch/x86/cpu/
H A Dsipi_vector.S55 orl $(X86_CR0_NW | X86_CR0_CD | X86_CR0_PE), %eax
187 andl $(~(X86_CR0_CD | X86_CR0_NW)), %eax
H A Dstart16.S34 orl $(X86_CR0_NW | X86_CR0_CD), %eax
H A Dstart.S39 orl $(X86_CR0_NW | X86_CR0_CD), %eax
/openbmc/u-boot/arch/x86/cpu/i386/
H A Dcpu.c391 cr0 &= ~(X86_CR0_NW | X86_CR0_CD); in x86_enable_caches()
402 cr0 |= X86_CR0_NW | X86_CR0_CD; in x86_disable_caches()
411 return !(read_cr0() & X86_CR0_CD); in dcache_status()
/openbmc/u-boot/arch/x86/include/asm/
H A Dprocessor-flags.h38 #define X86_CR0_CD 0x40000000 /* Cache Disable */ macro
/openbmc/linux/drivers/edac/
H A Damd64_edac.h492 write_cr0(read_cr0() | X86_CR0_CD); in disable_caches()
498 write_cr0(read_cr0() & ~X86_CR0_CD); in enable_caches()
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h70 #define X86_CR0_CD _BITUL(X86_CR0_CD_BIT) macro
/openbmc/linux/drivers/cpufreq/
H A Dpowernow-k6.c115 write_cr0(cr0 | X86_CR0_CD); in powernow_k6_set_cpu_multiplier()
/openbmc/linux/arch/x86/kvm/
H A Dkvm_cache_regs.h12 #define X86_CR0_PDPTR_BITS (X86_CR0_CD | X86_CR0_NW | X86_CR0_PG)
H A Dx86.c920 if ((cr0 & X86_CR0_NW) && !(cr0 & X86_CR0_CD)) in kvm_is_valid_cr0()
964 if (((cr0 ^ old_cr0) & X86_CR0_CD) && in kvm_post_set_cr0()
12145 new_cr0 |= (old_cr0 & (X86_CR0_NW | X86_CR0_CD)); in kvm_vcpu_reset()
12147 new_cr0 |= X86_CR0_NW | X86_CR0_CD; in kvm_vcpu_reset()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dcacheinfo.c1076 cr0 = read_cr0() | X86_CR0_CD; in cache_disable()
1116 write_cr0(read_cr0() & ~X86_CR0_CD); in cache_enable()
/openbmc/linux/arch/x86/kvm/svm/
H A Dnested.c288 if (CC((save->cr0 & X86_CR0_CD) == 0 && (save->cr0 & X86_CR0_NW)) || in __nested_vmcb_check_save()
1719 if (((cr0 & X86_CR0_CD) == 0) && (cr0 & X86_CR0_NW)) in svm_set_nested_state()
H A Dsvm.c1911 hcr0 &= ~(X86_CR0_CD | X86_CR0_NW); in svm_set_cr0()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h1234 #define X86_CR0_CD (1UL<<30) /* Cache Disable */ macro
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h120 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c145 #define KVM_VM_CR0_ALWAYS_OFF (X86_CR0_NW | X86_CR0_CD)
7629 if (kvm_read_cr0_bits(vcpu, X86_CR0_CD)) { in vmx_get_mt_mask()