total_vram 299 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c u64 free_vram, total_vram, used_vram; total_vram 316 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c total_vram = adev->gmc.real_vram_size - atomic64_read(&adev->vram_pin_size); total_vram 318 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c free_vram = used_vram >= total_vram ? 0 : total_vram - used_vram; total_vram 341 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (free_vram >= 128 * 1024 * 1024 || free_vram >= total_vram / 8) { total_vram 112 drivers/video/fbdev/controlfb.c unsigned long total_vram; total_vram 411 drivers/video/fbdev/controlfb.c full = p->total_vram == 0x400000; total_vram 451 drivers/video/fbdev/controlfb.c vyres = (p->total_vram - CTRLFB_OFF) / (var.xres << cmode); total_vram 659 drivers/video/fbdev/controlfb.c p->total_vram = (bank1 + bank2) * 0x200000; total_vram 725 drivers/video/fbdev/controlfb.c if (!p->total_vram) total_vram 832 drivers/video/fbdev/controlfb.c if (p->total_vram > 0x200000) { total_vram 845 drivers/video/fbdev/controlfb.c if (p->total_vram > 0x200000) { total_vram 857 drivers/video/fbdev/controlfb.c if (p->total_vram > 0x200000) { total_vram 890 drivers/video/fbdev/controlfb.c if (par->pitch * par->vyres + CTRLFB_OFF > p->total_vram) total_vram 1042 drivers/video/fbdev/controlfb.c info->fix.smem_len = p->total_vram - CTRLFB_OFF; total_vram 66 drivers/video/fbdev/platinumfb.c unsigned long total_vram; total_vram 284 drivers/video/fbdev/platinumfb.c out_be32(&platinum_regs->reg[26+32].r, (pinfo->total_vram == 0x100000 ? total_vram 289 drivers/video/fbdev/platinumfb.c out_be32(&platinum_regs->reg[19].r, (pinfo->total_vram == 0x100000 ? total_vram 292 drivers/video/fbdev/platinumfb.c out_be32(&platinum_regs->reg[20].r, (pinfo->total_vram == 0x100000 ? 0x11 : 0x1011)); total_vram 300 drivers/video/fbdev/platinumfb.c STORE_D2(0, (pinfo->total_vram == 0x100000 ? total_vram 331 drivers/video/fbdev/platinumfb.c info->fix.smem_len = pinfo->total_vram - 0x20; total_vram 366 drivers/video/fbdev/platinumfb.c platinum_vram_reqd(default_vmode, default_cmode) > pinfo->total_vram) total_vram 462 drivers/video/fbdev/platinumfb.c if (platinum_vram_reqd(vmode, cmode) > pinfo->total_vram) { total_vram 602 drivers/video/fbdev/platinumfb.c pinfo->total_vram = (bank0 + bank1 + bank2 + bank3) * 0x100000; total_vram 604 drivers/video/fbdev/platinumfb.c (unsigned int) (pinfo->total_vram / 1024 / 1024), total_vram 89 drivers/video/fbdev/valkyriefb.c unsigned long total_vram; total_vram 299 drivers/video/fbdev/valkyriefb.c || valkyrie_vram_reqd(default_vmode, default_cmode) > p->total_vram) total_vram 356 drivers/video/fbdev/valkyriefb.c p->total_vram = 0x100000; total_vram 359 drivers/video/fbdev/valkyriefb.c p->frame_buffer = ioremap_nocache(frame_buffer_phys, p->total_vram); total_vram 361 drivers/video/fbdev/valkyriefb.c p->frame_buffer = ioremap_wt(frame_buffer_phys, p->total_vram); total_vram 493 drivers/video/fbdev/valkyriefb.c if (valkyrie_vram_reqd(vmode, cmode) > p->total_vram) { total_vram 518 drivers/video/fbdev/valkyriefb.c fix->smem_len = p->total_vram;