Searched refs:NVKM_RAM_MM_SHIFT (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ram.c | 54 return (u64)nvkm_mm_size(nvkm_vram(memory)->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_size() 63 return (u64)nvkm_mm_addr(vram->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_addr() 111 u8 page = max(rpage, (u8)NVKM_RAM_MM_SHIFT); in nvkm_ram_get() 112 u32 align = (1 << page) >> NVKM_RAM_MM_SHIFT; in nvkm_ram_get() 113 u32 max = ALIGN(size, 1 << page) >> NVKM_RAM_MM_SHIFT; in nvkm_ram_get() 204 size >> NVKM_RAM_MM_SHIFT, 1); in nvkm_ram_ctor()
|
D | rammcp77.c | 83 rsvd_head >> NVKM_RAM_MM_SHIFT, in mcp77_ram_new() 85 NVKM_RAM_MM_SHIFT, 1); in mcp77_ram_new()
|
D | ramgf100.c | 540 rsvd_head >> NVKM_RAM_MM_SHIFT, in gf100_ram_ctor() 541 (lower - rsvd_head) >> NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor() 549 ubase >> NVKM_RAM_MM_SHIFT, in gf100_ram_ctor() 550 (usize - rsvd_tail) >> NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor() 556 rsvd_head >> NVKM_RAM_MM_SHIFT, in gf100_ram_ctor() 558 NVKM_RAM_MM_SHIFT, 1); in gf100_ram_ctor()
|
D | ramnv50.c | 579 rsvd_head >> NVKM_RAM_MM_SHIFT, in nv50_ram_ctor() 580 (size - rsvd_head - rsvd_tail) >> NVKM_RAM_MM_SHIFT, in nv50_ram_ctor() 581 nv50_fb_vram_rblock(ram) >> NVKM_RAM_MM_SHIFT); in nv50_ram_ctor()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | base.c | 327 heapM = nvkm_mmu_heap(mmu, heap, sizeM << NVKM_RAM_MM_SHIFT); in nvkm_mmu_vram() 331 heapN = nvkm_mmu_heap(mmu, heap, sizeN << NVKM_RAM_MM_SHIFT); in nvkm_mmu_vram() 332 heapU = nvkm_mmu_heap(mmu, heap, sizeU << NVKM_RAM_MM_SHIFT); in nvkm_mmu_vram()
|
D | vmm.h | 311 ((u64)MAP->mem->offset << NVKM_RAM_MM_SHIFT), \ 312 ((u64)MAP->mem->length << NVKM_RAM_MM_SHIFT), \
|
D | vmm.c | 1465 u64 size = (u64)map->mem->length << NVKM_RAM_MM_SHIFT; in nvkm_vmm_map_locked()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 128 #define NVKM_RAM_MM_SHIFT 12 macro
|