Searched refs:NVKM_RAM_MM_SHIFT (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ram.c | 61 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 D | ramgp102.c | 27 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 D | r535.c | 50 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 D | rammcp77.c | 83 rsvd_head >> NVKM_RAM_MM_SHIFT, in mcp77_ram_new() 85 NVKM_RAM_MM_SHIFT, 1); in mcp77_ram_new()
|
H A 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()
|
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A 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()
|
H A D | vmm.h | 336 ((u64)MAP->mem->offset << NVKM_RAM_MM_SHIFT), \ 337 ((u64)MAP->mem->length << NVKM_RAM_MM_SHIFT), \
|
H A D | vmm.c | 1534 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 D | fb.h | 138 #define NVKM_RAM_MM_SHIFT 12 macro
|