/kernel/linux/linux-5.10/Documentation/x86/ |
D | mtrr.rst | 55 The CONFIG_MTRR option creates a /proc/mtrr file which may be used 61 There are two interfaces to /proc/mtrr: one is an ASCII interface 72 % cat /proc/mtrr 78 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr 82 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr 86 % cat /proc/mtrr 109 in other words the X server will manipulate /proc/mtrr using the 118 %echo "base=0xfb000000 size=0x1000000 type=write-combining" >/proc/mtrr 119 %echo "base=0xfb000000 size=0x1000 type=uncachable" >/proc/mtrr 123 % cat /proc/mtrr [all …]
|
D | index.rst | 22 mtrr
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | pgtable.c | 705 u8 mtrr, uniform; in pud_set_huge() local 707 mtrr = mtrr_type_lookup(addr, addr + PUD_SIZE, &uniform); in pud_set_huge() 708 if ((mtrr != MTRR_TYPE_INVALID) && (!uniform) && in pud_set_huge() 709 (mtrr != MTRR_TYPE_WRBACK)) in pud_set_huge() 732 u8 mtrr, uniform; in pmd_set_huge() local 734 mtrr = mtrr_type_lookup(addr, addr + PMD_SIZE, &uniform); in pmd_set_huge() 735 if ((mtrr != MTRR_TYPE_INVALID) && (!uniform) && in pmd_set_huge() 736 (mtrr != MTRR_TYPE_WRBACK)) { in pmd_set_huge()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | vesafb.c | 56 static int mtrr __read_mostly; /* disable mtrr */ 226 mtrr = simple_strtoul(this_opt+5, NULL, 0); in vesafb_setup() 228 mtrr=0; in vesafb_setup() 417 if (mtrr == 3) { in vesafb_probe() 433 if (mtrr && mtrr != 3) in vesafb_probe()
|
D | uvesafb.c | 47 static int mtrr = 3; /* enable mtrr by default */ variable 1520 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,
|
D | vt8623fb.c | 98 static int mtrr = 1; variable 108 module_param(mtrr, int, 0444); 109 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)"); 774 if (mtrr) in vt8623_pci_probe()
|
D | i740fb.c | 34 static int mtrr = 1; variable 1144 if (mtrr) in i740fb_probe() 1270 mtrr = simple_strtoul(opt + 5, NULL, 0); in i740fb_setup() 1307 module_param(mtrr, int, 0444); 1308 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
|
D | s3fb.c | 153 static int mtrr = 1; variable 165 module_param(mtrr, int, 0444); 166 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)"); 1357 if (mtrr) in s3_pci_probe() 1527 mtrr = simple_strtoul(opt + 5, NULL, 0); in s3fb_setup()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/ |
D | Makefile | 2 obj-y := mtrr.o if.o generic.o cleanup.o
|
/kernel/linux/linux-5.10/Documentation/fb/ |
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
|
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
|
D | intelfb.rst | 69 g. "mtrr" 120 Example, to enable MTRR, include "mtrr=1".
|
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
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 338 drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, 1), in nouveau_ttm_init() 372 arch_phys_wc_del(drm->ttm.mtrr); in nouveau_ttm_fini() 373 drm->ttm.mtrr = 0; in nouveau_ttm_fini()
|
D | nouveau_drv.h | 168 int mtrr; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | pci.h | 23 int mtrr; member
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | Makefile | 17 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_ioc32.c | 174 int mtrr; /* MTRR slot used */ member 198 m32.mtrr = map.mtrr; in compat_drm_getmap() 227 m32.mtrr = map.mtrr; in compat_drm_addmap()
|
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() 498 map->mtrr = arch_phys_wc_index(r_list->map->mtrr); in drm_legacy_getmap_ioctl() 542 arch_phys_wc_del(map->mtrr); in drm_legacy_rmmap_locked()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | Makefile | 48 obj-$(CONFIG_MTRR) += mtrr/
|
/kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
D | sm750.h | 90 } mtrr; member
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_legacy.h | 145 int mtrr; /**< MTRR slot used */ member
|
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 232 static bool mtrr = 1; variable 250 module_param(mtrr, bool, S_IRUGO); 251 MODULE_PARM_DESC(mtrr, "Enable MTRR support"); 359 else if (get_opt_bool(this_opt, "mtrr", &mtrr)) in intelfb_setup() 742 if (mtrr) in intelfb_pci_register()
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | kernel-api.rst | 252 .. kernel-doc:: arch/x86/kernel/cpu/mtrr/mtrr.c
|