/openbmc/linux/Documentation/arch/x86/ |
H A 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 …]
|
H A D | index.rst | 22 mtrr
|
/openbmc/linux/lib/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H 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()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | vesafb.c | 59 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() 422 if (mtrr == 3) { in vesafb_probe() 438 if (mtrr && mtrr != 3) in vesafb_probe()
|
H A D | uvesafb.c | 47 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 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()
|
H A D | i740fb.c | 35 static int mtrr = 1; variable 1147 if (mtrr) in i740fb_probe() 1273 mtrr = simple_strtoul(opt + 5, NULL, 0); in i740fb_setup() 1315 module_param(mtrr, int, 0444); 1316 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
|
/openbmc/linux/arch/x86/kernel/cpu/mtrr/ |
H A D | generic.c | 134 struct mtrr_var_range *mtrr = mtrr_state.var_ranges + reg; in get_var_mtrr_state() local 136 if (!(mtrr->mask_lo & MTRR_PHYSMASK_V)) in get_var_mtrr_state() 139 *start = (((u64)mtrr->base_hi) << 32) + (mtrr->base_lo & PAGE_MASK); in get_var_mtrr_state() 140 *size = get_mtrr_size((((u64)mtrr->mask_hi) << 32) + in get_var_mtrr_state() 141 (mtrr->mask_lo & PAGE_MASK)); in get_var_mtrr_state() 143 return mtrr->base_lo & MTRR_PHYSBASE_TYPE; in get_var_mtrr_state()
|
H A D | Makefile | 2 obj-y := mtrr.o if.o generic.o cleanup.o
|
/openbmc/u-boot/cmd/x86/ |
H A D | Makefile | 3 obj-y += mtrr.o
|
H A D | mtrr.c | 131 mtrr, 6, 1, do_mtrr,
|
/openbmc/linux/Documentation/fb/ |
H 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
|
H 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
|
H A D | intelfb.rst | 69 g. "mtrr" 120 Example, to enable MTRR, include "mtrr=1".
|
H 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
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ttm.c | 324 drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, 1), in nouveau_ttm_init() 358 arch_phys_wc_del(drm->ttm.mtrr); in nouveau_ttm_fini() 359 drm->ttm.mtrr = 0; in nouveau_ttm_fini()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | kernel-api.rst | 258 arch/x86/kernel/cpu/mtrr/mtrr.c
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | pci.h | 22 int mtrr; member
|
/openbmc/u-boot/arch/x86/cpu/ |
H A D | Makefile | 43 obj-y += mtrr.o
|
/openbmc/linux/drivers/gpu/drm/ |
H 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()
|
H 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()
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | Makefile | 47 obj-$(CONFIG_MTRR) += mtrr/
|
/openbmc/linux/arch/x86/kvm/ |
H A D | Makefile | 13 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | sm750.h | 94 } mtrr; member
|