Home
last modified time | relevance | path

Searched refs:mtrr (Results 1 – 25 of 27) 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/drivers/video/fbdev/
H A Dvesafb.c59 static int mtrr __read_mostly; /* disable mtrr */
233 mtrr = simple_strtoul(this_opt+5, NULL, 0); in vesafb_setup()
235 mtrr=0; in vesafb_setup()
435 if (mtrr == 3) { in vesafb_probe()
451 if (mtrr && mtrr != 3) in vesafb_probe()
H A Duvesafb.c47 static int mtrr = 3; /* enable mtrr by default */ variable
1519 if (mtrr && !(info->fix.smem_start & (PAGE_SIZE - 1))) { in uvesafb_init_mtrr()
1827 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup()
1829 mtrr = 0; in uvesafb_setup()
1855 if (mtrr != 3 && mtrr != 0) in uvesafb_setup()
1856 pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr); in uvesafb_setup()
1966 module_param(mtrr, uint, 0);
1967 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/mtrr/
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/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst258 arch/x86/kernel/cpu/mtrr/mtrr.c
/linux/arch/x86/kernel/cpu/
H A DMakefile53 obj-$(CONFIG_MTRR) += mtrr/
/linux/arch/x86/kvm/
H A DMakefile8 kvm-y += x86.o emulate.o irq.o lapic.o cpuid.o pmu.o mtrr.o \
/linux/lib/zstd/common/
H A Dcpu.h141 D(mtrr, 12)
/linux/drivers/staging/sm750fb/
H A Dsm750.c1064 sm750_dev->mtrr.vram = 0; in lynxfb_pci_probe()
1090 sm750_dev->mtrr.vram = arch_phys_wc_add(sm750_dev->vidmem_start, in lynxfb_pci_probe()
1122 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/include/uapi/drm/
H A Ddrm.h229 int mtrr; /**< MTRR slot used */ member
/linux/tools/include/uapi/drm/
H A Ddrm.h229 int mtrr; /**< MTRR slot used */ member
/linux/arch/x86/
H A DKconfig1679 /proc/mtrr file which may be used to manipulate your processor's
1701 See <file:Documentation/arch/x86/mtrr.rst> for more information.
1712 The largest mtrr entry size for a continuous block can be set with
1723 Enable mtrr cleanup default value
1731 mtrr cleanup spare entries default, it can be changed via
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv75 0x1, 0, edx, 12, mtrr , Memory Type Range Registers
683 0x80000001, 0, edx, 12, mtrr , Memory Type Range Registers

12