Searched refs:mtrr_if (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/x86/kernel/cpu/mtrr/ |
D | mtrr.c | 72 const struct mtrr_ops *mtrr_if; variable 105 return mtrr_if->have_wrcomb ? mtrr_if->have_wrcomb() : 0; in have_wrcomb() 135 mtrr_if->set(data->smp_reg, data->smp_base, in mtrr_rendezvous_handler() 241 error = mtrr_if->validate_add_page(base, size, type); in mtrr_add_page() 276 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_add_page() 313 i = mtrr_if->get_free_region(base, size, replace); in mtrr_add_page() 425 mtrr_if->get(i, &lbase, &lsize, <ype); in mtrr_del_page() 440 mtrr_if->get(reg, &lbase, &lsize, <ype); in mtrr_del_page() 580 mtrr_if = &generic_mtrr_ops; in mtrr_bp_init() 586 if (mtrr_if == &generic_mtrr_ops) in mtrr_bp_init() [all …]
|
D | legacy.c | 17 mtrr_if = &amd_mtrr_ops; in mtrr_set_if() 21 mtrr_if = ¢aur_mtrr_ops; in mtrr_set_if() 25 mtrr_if = &cyrix_mtrr_ops; in mtrr_set_if() 52 mtrr_if->get(i, &mtrr_value[i].lbase, in mtrr_save() 65 mtrr_if->set(i, mtrr_value[i].lbase, in mtrr_restore()
|
D | if.c | 254 mtrr_if->get(gentry.regnum, &base, &size, &type); in mtrr_ioctl() 300 mtrr_if->get(gentry.regnum, &base, &size, &type); in mtrr_ioctl() 366 mtrr_if->get(i, &base, &size, &type); in mtrr_seq_show() 390 if (!mtrr_if) in mtrr_open() 392 if (!mtrr_if->get) in mtrr_open()
|
D | mtrr.h | 57 extern const struct mtrr_ops *mtrr_if; 92 return !!mtrr_if; in mtrr_enabled()
|
D | centaur.c | 40 mtrr_if->get(i, &lbase, &lsize, <ype); in centaur_get_free_region()
|
D | generic.c | 335 if (mtrr_if != &generic_mtrr_ops) in generic_rebuild_map() 797 mtrr_if->get(i, &lbase, &lsize, <ype); in generic_get_free_region() 1028 if (mtrr_if == &generic_mtrr_ops && boot_cpu_data.x86 == 6 && in generic_validate_add_page()
|
D | cleanup.c | 693 mtrr_if->get(i, &base, &size, &type); in mtrr_cleanup() 893 mtrr_if->get(i, &base, &size, &type); in mtrr_trim_uncached_memory()
|