/linux-6.3-rc2/Documentation/x86/ |
A D | mtrr.rst | 72 % cat /proc/mtrr 86 % cat /proc/mtrr 123 % cat /proc/mtrr 140 % echo "disable=2" >! /proc/mtrr 144 % echo "disable=2" >| /proc/mtrr 151 /* mtrr-show.c 195 #include <asm/mtrr.h> 217 if ( ( fd = open ("/proc/mtrr", O_RDONLY, 0) ) == -1 ) 250 /* mtrr-add.c 277 available mtrr is used. This is an alternative to writing /proc/mtrr. [all …]
|
A D | index.rst | 22 mtrr
|
/linux-6.3-rc2/lib/ |
A D | devres.c | 536 int *mtrr; in devm_arch_phys_wc_add() local 539 mtrr = devres_alloc_node(devm_arch_phys_ac_add_release, sizeof(*mtrr), GFP_KERNEL, in devm_arch_phys_wc_add() 541 if (!mtrr) in devm_arch_phys_wc_add() 546 devres_free(mtrr); in devm_arch_phys_wc_add() 550 *mtrr = ret; in devm_arch_phys_wc_add() 551 devres_add(dev, mtrr); in devm_arch_phys_wc_add()
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | pgtable.c | 721 u8 mtrr, uniform; in pud_set_huge() local 723 mtrr = mtrr_type_lookup(addr, addr + PUD_SIZE, &uniform); in pud_set_huge() 724 if ((mtrr != MTRR_TYPE_INVALID) && (!uniform) && in pud_set_huge() 725 (mtrr != MTRR_TYPE_WRBACK)) in pud_set_huge() 748 u8 mtrr, uniform; in pmd_set_huge() local 750 mtrr = mtrr_type_lookup(addr, addr + PMD_SIZE, &uniform); in pmd_set_huge() 751 if ((mtrr != MTRR_TYPE_INVALID) && (!uniform) && in pmd_set_huge() 752 (mtrr != MTRR_TYPE_WRBACK)) { in pmd_set_huge()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
A D | agp.c | 100 arch_phys_wc_del(pci->agp.mtrr); in nvkm_agp_dtor() 136 pci->agp.mtrr = -1; in nvkm_agp_ctor() 173 pci->agp.mtrr = arch_phys_wc_add(pci->agp.base, pci->agp.size); in nvkm_agp_ctor()
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | vesafb.c | 59 static int mtrr __read_mostly; /* disable mtrr */ 235 mtrr = simple_strtoul(this_opt+5, NULL, 0); in vesafb_setup() 237 mtrr=0; in vesafb_setup() 420 if (mtrr == 3) { in vesafb_probe() 436 if (mtrr && mtrr != 3) in vesafb_probe()
|
A D | uvesafb.c | 47 static int mtrr = 3; /* enable mtrr by default */ variable 1522 if (mtrr && !(info->fix.smem_start & (PAGE_SIZE - 1))) { in uvesafb_init_mtrr() 1832 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup() 1834 mtrr = 0; in uvesafb_setup() 1860 if (mtrr != 3 && mtrr != 0) in uvesafb_setup() 1861 pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr); in uvesafb_setup() 1971 module_param(mtrr, uint, 0); 1972 MODULE_PARM_DESC(mtrr,
|
A D | vt8623fb.c | 99 static int mtrr = 1; variable 109 module_param(mtrr, int, 0444); 110 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)"); 782 if (mtrr) in vt8623_pci_probe()
|
A D | i740fb.c | 35 static int mtrr = 1; variable 1149 if (mtrr) in i740fb_probe() 1275 mtrr = simple_strtoul(opt + 5, NULL, 0); in i740fb_setup() 1317 module_param(mtrr, int, 0444); 1318 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
|
A D | s3fb.c | 154 static int mtrr = 1; variable 166 module_param(mtrr, int, 0444); 167 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)"); 1365 if (mtrr) in s3_pci_probe() 1535 mtrr = simple_strtoul(opt + 5, NULL, 0); in s3fb_setup()
|
/linux-6.3-rc2/arch/x86/kernel/cpu/mtrr/ |
A D | Makefile | 2 obj-y := mtrr.o if.o generic.o cleanup.o
|
/linux-6.3-rc2/Documentation/fb/ |
A D | intel810.rst | 142 k. "mtrr" 192 vsync1:50,vsync2:85,accel,mtrr" 212 Example, to enable MTRR, include "mtrr=1". 220 vsync2=85 accel=1 mtrr=1 225 vsync2=85 accel=1 mtrr=1
|
A D | vesafb.rst | 157 mtrr:n Setup memory type range registers for the vesafb framebuffer 167 old one. In this example, use "mtrr:2". 169 mtrr: type mismatch for e0000000,8000000 old: write-back new: 173 nomtrr disable mtrr
|
A D | intelfb.rst | 69 g. "mtrr" 120 Example, to enable MTRR, include "mtrr=1".
|
A D | uvesafb.rst | 54 video=uvesafb:1024x768-32,mtrr:3,ywrap (compiled into the kernel) 56 # modprobe uvesafb mode_option=1024x768-32 mtrr=3 scroll=ywrap (module) 86 mtrr:n Setup memory type range registers for the framebuffer
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_ttm.c | 328 drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, 1), in nouveau_ttm_init() 362 arch_phys_wc_del(drm->ttm.mtrr); in nouveau_ttm_fini() 363 drm->ttm.mtrr = 0; in nouveau_ttm_fini()
|
A D | nouveau_drv.h | 158 int mtrr; member
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | kernel-api.rst | 258 arch/x86/kernel/cpu/mtrr/mtrr.c
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
A D | pci.h | 22 int mtrr; member
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_ioc32.c | 173 int mtrr; /* MTRR slot used */ member 197 m32.mtrr = map.mtrr; in compat_drm_getmap() 226 m32.mtrr = map.mtrr; in compat_drm_addmap()
|
A D | drm_bufs.c | 188 map->mtrr = -1; in drm_addmap_core() 222 map->mtrr = in drm_addmap_core() 292 map->mtrr = dev->agp->agp_mtrr; /* for getmap */ in drm_addmap_core() 444 map->mtrr = -1; in drm_legacy_addmap_ioctl() 497 map->mtrr = arch_phys_wc_index(r_list->map->mtrr); in drm_legacy_getmap_ioctl() 541 arch_phys_wc_del(map->mtrr); in drm_legacy_rmmap_locked()
|
/linux-6.3-rc2/arch/x86/kernel/cpu/ |
A D | Makefile | 47 obj-$(CONFIG_MTRR) += mtrr/
|
/linux-6.3-rc2/arch/x86/kvm/ |
A D | Makefile | 13 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
/linux-6.3-rc2/drivers/staging/sm750fb/ |
A D | sm750.h | 94 } mtrr; member
|
/linux-6.3-rc2/lib/zstd/common/ |
A D | cpu.h | 140 D(mtrr, 12)
|