Searched refs:pvma (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/nouveau/ |
D | nouveau_vmm.c | 62 nouveau_vma_del(struct nouveau_vma **pvma) in nouveau_vma_del() argument 64 struct nouveau_vma *vma = *pvma; in nouveau_vma_del() 71 kfree(*pvma); in nouveau_vma_del() 73 *pvma = NULL; in nouveau_vma_del() 78 struct nouveau_vma **pvma) in nouveau_vma_new() argument 85 if ((vma = *pvma = nouveau_vma_find(nvbo, vmm))) { in nouveau_vma_new() 90 if (!(vma = *pvma = kmalloc(sizeof(*vma), GFP_KERNEL))) in nouveau_vma_new() 119 nouveau_vma_del(pvma); in nouveau_vma_new()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | memgf100.c | 35 u32 argc, u64 *paddr, u64 *psize, struct nvkm_vma **pvma) in gf100_mem_map() argument 55 nvkm_memory_size(memory), pvma); in gf100_mem_map() 59 ret = nvkm_memory_map(memory, 0, bar, *pvma, &uvmm, sizeof(uvmm)); in gf100_mem_map() 63 *paddr = device->func->resource_addr(device, 1) + (*pvma)->addr; in gf100_mem_map() 64 *psize = (*pvma)->size; in gf100_mem_map()
|
D | memnv50.c | 35 u32 argc, u64 *paddr, u64 *psize, struct nvkm_vma **pvma) in nv50_mem_map() argument 56 ret = nvkm_vmm_get(bar, 12, size, pvma); in nv50_mem_map() 60 *paddr = device->func->resource_addr(device, 1) + (*pvma)->addr; in nv50_mem_map() 61 *psize = (*pvma)->size; in nv50_mem_map() 62 return nvkm_memory_map(memory, 0, bar, *pvma, &uvmm, sizeof(uvmm)); in nv50_mem_map()
|
D | memnv04.c | 32 u32 argc, u64 *paddr, u64 *psize, struct nvkm_vma **pvma) in nv04_mem_map() argument 46 *pvma = ERR_PTR(-ENODEV); in nv04_mem_map()
|
D | vmm.c | 1619 nvkm_vmm_put(struct nvkm_vmm *vmm, struct nvkm_vma **pvma) in nvkm_vmm_put() argument 1621 struct nvkm_vma *vma = *pvma; in nvkm_vmm_put() 1626 *pvma = NULL; in nvkm_vmm_put() 1632 u8 shift, u8 align, u64 size, struct nvkm_vma **pvma) in nvkm_vmm_get_locked() argument 1764 *pvma = vma; in nvkm_vmm_get_locked() 1769 nvkm_vmm_get(struct nvkm_vmm *vmm, u8 page, u64 size, struct nvkm_vma **pvma) in nvkm_vmm_get() argument 1773 ret = nvkm_vmm_get_locked(vmm, false, true, false, page, 0, size, pvma); in nvkm_vmm_get()
|
D | vmm.h | 171 struct nvkm_vma **pvma);
|