Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A 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()
135 vram->page = NVKM_RAM_MM_SHIFT; in nvkm_ram_wrap()
142 vram->mn->offset = addr >> NVKM_RAM_MM_SHIFT; in nvkm_ram_wrap()
143 vram->mn->length = size >> NVKM_RAM_MM_SHIFT; in nvkm_ram_wrap()
155 u8 page = max(rpage, (u8)NVKM_RAM_MM_SHIFT); in nvkm_ram_get()
156 u32 align = (1 << page) >> NVKM_RAM_MM_SHIFT; in nvkm_ram_get()
157 u32 max = ALIGN(size, 1 << page) >> NVKM_RAM_MM_SHIFT; in nvkm_ram_get()
248 size >> NVKM_RAM_MM_SHIFT, 1); in nvkm_ram_ctor()
H A Dramgp102.c27 rsvd_head >> NVKM_RAM_MM_SHIFT, in gp102_ram_new()
28 (size - rsvd_head - rsvd_tail) >> NVKM_RAM_MM_SHIFT, in gp102_ram_new()
H A Dr535.c50 gsp->fb.region[i].addr >> NVKM_RAM_MM_SHIFT, in r535_fb_ram_new()
51 gsp->fb.region[i].size >> NVKM_RAM_MM_SHIFT, in r535_fb_ram_new()
H A Drammcp77.c83 rsvd_head >> NVKM_RAM_MM_SHIFT, in mcp77_ram_new()
85 NVKM_RAM_MM_SHIFT, 1); in mcp77_ram_new()
H A 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()
H A 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()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A 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()
H A Dvmm.h336 ((u64)MAP->mem->offset << NVKM_RAM_MM_SHIFT), \
337 ((u64)MAP->mem->length << NVKM_RAM_MM_SHIFT), \
H A Dvmm.c1534 u64 size = (u64)map->mem->length << NVKM_RAM_MM_SHIFT; in nvkm_vmm_map_locked()
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dfb.h138 #define NVKM_RAM_MM_SHIFT 12 macro