/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | quark.c | 34 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in quark_setup_mtrr() 36 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in quark_setup_mtrr() 38 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in quark_setup_mtrr() 40 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in quark_setup_mtrr() 43 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in quark_setup_mtrr() 49 base | MTRR_TYPE_WRBACK); in quark_setup_mtrr() 57 base | MTRR_TYPE_WRBACK); in quark_setup_mtrr()
|
H A D | dram.c | 147 0 | MTRR_TYPE_WRBACK); in dram_init()
|
/openbmc/u-boot/arch/x86/cpu/i386/ |
H A D | cpu.c | 361 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK), in x86_cpu_init_f() 362 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in x86_cpu_init_f() 364 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK), in x86_cpu_init_f() 365 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in x86_cpu_init_f() 367 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK), in x86_cpu_init_f() 368 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in x86_cpu_init_f() 370 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK), in x86_cpu_init_f() 371 MTRR_FIX_TYPE(MTRR_TYPE_WRBACK)); in x86_cpu_init_f()
|
/openbmc/linux/arch/x86/kernel/cpu/mtrr/ |
H A D | cleanup.c | 72 if (type != MTRR_TYPE_WRBACK) in x86_get_mtrr_mem_range() 269 ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other") in range_to_mtrr() 323 state->range_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 368 range0_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 380 range_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole() 537 ((type == MTRR_TYPE_WRBACK) ? "WB" : "Other")) in print_out_mtrr_range_state() 567 if (num[MTRR_TYPE_WRBACK] + num[MTRR_TYPE_UNCACHABLE] != in mtrr_need_cleanup() 902 if (type != MTRR_TYPE_WRBACK) in mtrr_trim_uncached_memory() 929 if (!num[MTRR_TYPE_WRBACK]) in mtrr_trim_uncached_memory() 933 if (num[MTRR_TYPE_WRBACK] + num[MTRR_TYPE_UNCACHABLE] != in mtrr_trim_uncached_memory()
|
H A D | centaur.c | 59 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr() 61 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr()
|
H A D | cyrix.c | 53 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr() 72 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr()
|
H A D | mtrr.c | 138 (type1 == MTRR_TYPE_WRTHROUGH && type2 == MTRR_TYPE_WRBACK) || in types_compatible() 139 (type1 == MTRR_TYPE_WRBACK && type2 == MTRR_TYPE_WRTHROUGH); in types_compatible()
|
H A D | generic.c | 151 if ((type1 == MTRR_TYPE_WRBACK && type2 == MTRR_TYPE_WRTHROUGH) || in get_effective_type() 152 (type1 == MTRR_TYPE_WRTHROUGH && type2 == MTRR_TYPE_WRBACK)) in get_effective_type() 313 add_map_entry(BIT_ULL(32), mtrr_tom2, MTRR_TYPE_WRBACK); in map_add_var() 1028 || type == MTRR_TYPE_WRBACK)) { in generic_validate_add_page()
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | mtrr.h | 16 #define MTRR_TYPE_WRBACK 6 macro
|
/openbmc/u-boot/arch/x86/cpu/ivybridge/ |
H A D | sdram.c | 337 mtrr_add_request(MTRR_TYPE_WRBACK, 0, 2ULL << 30); in sdram_find() 338 mtrr_add_request(MTRR_TYPE_WRBACK, 2ULL << 30, 512 << 20); in sdram_find() 339 mtrr_add_request(MTRR_TYPE_WRBACK, 0xaULL << 28, 256 << 20); in sdram_find()
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | mtrr.h | 106 #define MTRR_TYPE_WRBACK 6 macro
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | spl.c | 79 ret = mtrr_add_request(MTRR_TYPE_WRBACK, in x86_spl_init()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | mtrr.c | 134 return MTRR_TYPE_WRBACK; in mtrr_disabled_type() 620 const int wt_wb_mask = (1 << MTRR_TYPE_WRBACK) in kvm_mtrr_get_guest_memory_type() 670 return MTRR_TYPE_WRBACK; in kvm_mtrr_get_guest_memory_type()
|
/openbmc/u-boot/arch/x86/cpu/intel_common/ |
H A D | car.S | 82 movl $(CACHE_AS_RAM_BASE | MTRR_TYPE_WRBACK), %eax
|
/openbmc/u-boot/arch/x86/cpu/broadwell/ |
H A D | sdram.c | 167 mtrr_add_request(MTRR_TYPE_WRBACK, 0, 2ULL << 30); in sdram_find()
|
/openbmc/linux/arch/x86/hyperv/ |
H A D | ivm.c | 614 mtrr_overwrite_state(NULL, 0, MTRR_TYPE_WRBACK); in hv_vtom_init()
|
/openbmc/linux/arch/x86/mm/pat/ |
H A D | memtype.c | 390 if (mtrr_type != MTRR_TYPE_WRBACK) in pat_x_mtrr_type()
|
/openbmc/linux/arch/x86/xen/ |
H A D | enlighten_pv.c | 202 mtrr_overwrite_state(NULL, 0, MTRR_TYPE_WRBACK); in xen_pv_init_platform()
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | vmx.c | 7627 return (MTRR_TYPE_WRBACK << VMX_EPT_MT_EPTE_SHIFT) | VMX_EPT_IPAT_BIT; in vmx_get_mt_mask() 7631 cache = MTRR_TYPE_WRBACK; in vmx_get_mt_mask()
|