Home
last modified time | relevance | path

Searched refs:mtrr (Results 1 – 25 of 29) sorted by relevance

12

/linux/Documentation/arch/x86/
H A Dmtrr.rst55 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 …]
H A Dindex.rst22 mtrr
H A Dpat.rst165 Over time writes to /proc/mtrr will be deprecated in favor of using PAT based
166 interfaces. Users writing to /proc/mtrr are suggested to use above interfaces.
/linux/lib/
H A Ddevres.c333 int *mtrr; in devm_arch_phys_wc_add() local
336 mtrr = devres_alloc_node(devm_arch_phys_ac_add_release, sizeof(*mtrr), GFP_KERNEL, in devm_arch_phys_wc_add()
338 if (!mtrr) in devm_arch_phys_wc_add()
343 devres_free(mtrr); in devm_arch_phys_wc_add()
347 *mtrr = ret; in devm_arch_phys_wc_add()
348 devres_add(dev, mtrr); in devm_arch_phys_wc_add()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dagp.c100 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/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c138 struct mtrr_var_range *mtrr = mtrr_state.var_ranges + reg; in get_var_mtrr_state() local
140 if (!(mtrr->mask_lo & MTRR_PHYSMASK_V)) in get_var_mtrr_state()
143 *start = (((u64)mtrr->base_hi) << 32) + (mtrr->base_lo & PAGE_MASK); in get_var_mtrr_state()
144 *size = get_mtrr_size((((u64)mtrr->mask_hi) << 32) + in get_var_mtrr_state()
145 (mtrr->mask_lo & PAGE_MASK)); in get_var_mtrr_state()
147 return mtrr->base_lo & MTRR_PHYSBASE_TYPE; in get_var_mtrr_state()
H A DMakefile2 obj-y := mtrr.o if.o generic.o cleanup.o
/linux/Documentation/fb/
H A Dintel810.rst142 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
H A Dvesafb.rst157 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
H A Duvesafb.rst54 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
H A Dmatroxfb.rst187 mtrr enables write combining on frame buffer. It speeds up video
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c326 drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, NVKM_BAR1_FB), in nouveau_ttm_init()
360 arch_phys_wc_del(drm->ttm.mtrr); in nouveau_ttm_fini()
361 drm->ttm.mtrr = 0; in nouveau_ttm_fini()
/linux/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst258 arch/x86/kernel/cpu/mtrr/mtrr.c
/linux/drivers/video/fbdev/
H A Duvesafb.c47 static int mtrr = 3; /* enable mtrr by default */ variable
1516 if (mtrr && !(info->fix.smem_start & (PAGE_SIZE - 1))) { in uvesafb_init_mtrr()
1824 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup()
1826 mtrr = 0; in uvesafb_setup()
1852 if (mtrr != 3 && mtrr != 0) in uvesafb_setup()
1853 pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr); in uvesafb_setup()
1963 module_param(mtrr, uint, 0);
1964 MODULE_PARM_DESC(mtrr,
H A Dvt8623fb.c99 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)");
791 if (mtrr) in vt8623_pci_probe()
H A Di740fb.c35 static int mtrr = 1; variable
1146 if (mtrr) in i740fb_probe()
1272 mtrr = simple_strtoul(opt + 5, NULL, 0); in i740fb_setup()
1314 module_param(mtrr, int, 0444);
1315 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
H A Ds3fb.c158 static int mtrr = 1; variable
170 module_param(mtrr, int, 0444);
171 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
1437 if (mtrr) in s3_pci_probe()
1612 mtrr = simple_strtoul(opt + 5, NULL, 0); in s3fb_setup()
/linux/arch/x86/kernel/cpu/
H A DMakefile53 obj-$(CONFIG_MTRR) += mtrr/
/linux/lib/zstd/common/
H A Dcpu.h141 D(mtrr, 12)
/linux/drivers/staging/sm750fb/
H A Dsm750.c1002 sm750_dev->mtrr.vram = 0; in lynxfb_pci_probe()
1028 sm750_dev->mtrr.vram = arch_phys_wc_add(sm750_dev->vidmem_start, in lynxfb_pci_probe()
1060 arch_phys_wc_del(sm750_dev->mtrr.vram); in lynxfb_pci_remove()
/linux/drivers/video/fbdev/i810/
H A Di810_main.c140 static bool mtrr; variable
1823 if (mtrr) in i810_init_device()
1972 mtrr = true; in i810fb_setup()
2206 module_param(mtrr, bool, 0);
2207 MODULE_PARM_DESC(mtrr, "Use MTRR (default = 0)");
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c1257 static int mtrr = 1; /* "matroxfb:nomtrr" */ variable
1787 if (mtrr) in initMatrox2()
2459 mtrr = value; in matroxfb_setup()
2526 module_param(mtrr, int, 0);
2527 MODULE_PARM_DESC(mtrr, "This speeds up video memory accesses (0=disabled or 1) (default=1)");
/linux/include/uapi/drm/
H A Ddrm.h229 int mtrr; /**< MTRR slot used */ member
/linux/tools/include/uapi/drm/
H A Ddrm.h
/linux/arch/x86/
H A DKconfig1685 /proc/mtrr file which may be used to manipulate your processor's
1707 See <file:Documentation/arch/x86/mtrr.rst> for more information.
1718 The largest mtrr entry size for a continuous block can be set with
1729 Enable mtrr cleanup default value
1737 mtrr cleanup spare entries default, it can be changed via

12