Home
last modified time | relevance | path

Searched refs:MTRR_TYPE_WRBACK (Results 1 – 19 of 19) sorted by relevance

/openbmc/u-boot/arch/x86/cpu/quark/
H A Dquark.c34 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 Ddram.c147 0 | MTRR_TYPE_WRBACK); in dram_init()
/openbmc/u-boot/arch/x86/cpu/i386/
H A Dcpu.c361 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 Dcleanup.c72 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 Dcentaur.c59 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr()
61 *type = MTRR_TYPE_WRBACK; in centaur_get_mcr()
H A Dcyrix.c53 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr()
72 *type = MTRR_TYPE_WRBACK; in cyrix_get_arr()
H A Dmtrr.c138 (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 Dgeneric.c151 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 Dmtrr.h16 #define MTRR_TYPE_WRBACK 6 macro
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dsdram.c337 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 Dmtrr.h106 #define MTRR_TYPE_WRBACK 6 macro
/openbmc/u-boot/arch/x86/lib/
H A Dspl.c79 ret = mtrr_add_request(MTRR_TYPE_WRBACK, in x86_spl_init()
/openbmc/linux/arch/x86/kvm/
H A Dmtrr.c134 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 Dcar.S82 movl $(CACHE_AS_RAM_BASE | MTRR_TYPE_WRBACK), %eax
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dsdram.c167 mtrr_add_request(MTRR_TYPE_WRBACK, 0, 2ULL << 30); in sdram_find()
/openbmc/linux/arch/x86/hyperv/
H A Divm.c614 mtrr_overwrite_state(NULL, 0, MTRR_TYPE_WRBACK); in hv_vtom_init()
/openbmc/linux/arch/x86/mm/pat/
H A Dmemtype.c390 if (mtrr_type != MTRR_TYPE_WRBACK) in pat_x_mtrr_type()
/openbmc/linux/arch/x86/xen/
H A Denlighten_pv.c202 mtrr_overwrite_state(NULL, 0, MTRR_TYPE_WRBACK); in xen_pv_init_platform()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c7627 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()