ramcfg 31 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/M0203.h u32 nvbios_M0203Em(struct nvkm_bios *, u8 ramcfg, u8 *ver, u8 *hdr, ramcfg 19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/init.h u32 ramcfg; ramcfg 103 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c nvbios_M0203Em(struct nvkm_bios *bios, u8 ramcfg, u8 *ver, u8 *hdr, ramcfg 119 drivers/gpu/drm/nouveau/nvkm/subdev/bios/M0203.c if (info->strap != ramcfg) ramcfg 455 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (!init->ramcfg || init->subdev->device->bios->version.major < 0x70) ramcfg 456 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init->ramcfg = 0x80000000 | nvbios_ramcfg_index(init->subdev); ramcfg 457 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c return (init->ramcfg & 0x7fffffff); ramcfg 53 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c u8 strap, ramcfg[2]; ramcfg 65 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c ramcfg[0] = nvbios_rd08(bios, data + 2 * strap + 0); ramcfg 66 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c ramcfg[1] = nvbios_rd08(bios, data + 2 * strap + 1); ramcfg 68 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c ramcfg[0] = default_config_tab[strap][0]; ramcfg 69 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c ramcfg[1] = default_config_tab[strap][1]; ramcfg 89 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c nvkm_mask(device, NV04_PFB_BOOT_0, 0x3f, ramcfg[0]); ramcfg 91 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c if (ramcfg[1] & 0x80) ramcfg 94 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv05.c nvkm_mask(device, NV04_PFB_CFG1, 0x700001, (ramcfg[1] & 1) << 20); ramcfg 65 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c const u8 ramcfg = (nvkm_rd32(device, 0x101000) & 0x0000003c) >> 2; ramcfg 69 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c if (nvbios_M0203Em(bios, ramcfg, &ver, &hdr, &M0203E)) { ramcfg 140 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c } rammap, ramcfg, timing; ramcfg 148 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c &cnt, &ramcfg.size, &cfg); ramcfg 161 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c ramcfg.data = rammap.data + rammap.size + (strap * ramcfg.size); ramcfg 162 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c if (!ramcfg.data || ver != 0x10 || ramcfg.size < 0x0e) { ramcfg 168 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c strap = nvbios_rd08(bios, ramcfg.data + 0x01); ramcfg 1271 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_train_type(struct nvkm_ram *ram, int i, u8 ramcfg, ramcfg 1300 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c if (!(data = nvbios_M0205Sp(bios, i, ramcfg, &ver, &hdr, &M0205S))) ramcfg 1370 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u8 ramcfg = nvbios_ramcfg_index(&ram->fb->subdev); ramcfg 1378 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c ret = gk104_ram_train_type(ram, i, ramcfg, train); ramcfg 1439 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_ctor_data(struct gk104_ram *ram, u8 ramcfg, int i) ramcfg 1462 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c data = nvbios_rammapSp(bios, data, ver, hdr, cnt, len, ramcfg, ramcfg 1530 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u8 ramcfg = nvbios_ramcfg_index(subdev); ramcfg 1574 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c ret = gk104_ram_ctor_data(ram, ramcfg, i); ramcfg 1993 drivers/gpu/drm/radeon/r600.c u32 ramcfg; ramcfg 2088 drivers/gpu/drm/radeon/r600.c ramcfg = RREG32(RAMCFG); ramcfg 2106 drivers/gpu/drm/radeon/r600.c rdev->config.r600.tiling_nbanks = 4 << ((ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT); ramcfg 2107 drivers/gpu/drm/radeon/r600.c tiling_config |= BANK_TILING((ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT); ramcfg 2108 drivers/gpu/drm/radeon/r600.c tiling_config |= GROUP_SIZE((ramcfg & BURSTLENGTH_MASK) >> BURSTLENGTH_SHIFT); ramcfg 2110 drivers/gpu/drm/radeon/r600.c tmp = (ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT;