Home
last modified time | relevance | path

Searched refs:NVKM_RAM_MM_SHIFT (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dram.c61 return (u64)nvkm_mm_size(nvkm_vram(memory)->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_size()
70 return (u64)nvkm_mm_addr(vram->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_addr()
119 u8 page = max(rpage, (u8)NVKM_RAM_MM_SHIFT); in nvkm_ram_get()
120 u32 align = (1 << page) >> NVKM_RAM_MM_SHIFT; in nvkm_ram_get()
121 u32 max = ALIGN(size, 1 << page) >> NVKM_RAM_MM_SHIFT; in nvkm_ram_get()
212 size >> NVKM_RAM_MM_SHIFT, 1); in nvkm_ram_ctor()
Dramgp102.c26 rsvd_head >> NVKM_RAM_MM_SHIFT, in gp102_ram_new()
27 (size - rsvd_head - rsvd_tail) >> NVKM_RAM_MM_SHIFT, in gp102_ram_new()
Drammcp77.c83 rsvd_head >> NVKM_RAM_MM_SHIFT, in mcp77_ram_new()
85 NVKM_RAM_MM_SHIFT, 1); in mcp77_ram_new()
Dramgf100.c540 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()
Dramnv50.c579 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()
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dbase.c327 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()
Dvmm.h336 ((u64)MAP->mem->offset << NVKM_RAM_MM_SHIFT), \
337 ((u64)MAP->mem->length << NVKM_RAM_MM_SHIFT), \
Dvmm.c1527 u64 size = (u64)map->mem->length << NVKM_RAM_MM_SHIFT; in nvkm_vmm_map_locked()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h138 #define NVKM_RAM_MM_SHIFT 12 macro