/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/ |
A D | memory.h | 21 struct nvkm_memory { struct 29 void *(*dtor)(struct nvkm_memory *); argument 31 u8 (*page)(struct nvkm_memory *); 32 u64 (*bar2)(struct nvkm_memory *); 33 u64 (*addr)(struct nvkm_memory *); 34 u64 (*size)(struct nvkm_memory *); 37 void (*release)(struct nvkm_memory *); 40 int (*kmap)(struct nvkm_memory *, struct nvkm_memory **); 44 u32 (*rd32)(struct nvkm_memory *, u64 offset); 51 struct nvkm_memory *nvkm_memory_ref(struct nvkm_memory *); [all …]
|
A D | gpuobj.h | 16 struct nvkm_memory *memory; 38 int nvkm_gpuobj_wrap(struct nvkm_memory *, struct nvkm_gpuobj **);
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | mem.h | 6 void *argv, u32 argc, struct nvkm_memory **); 7 int nvkm_mem_map_host(struct nvkm_memory *, void **pmap); 10 struct nvkm_memory **); 11 int nv04_mem_map(struct nvkm_mmu *, struct nvkm_memory *, void *, u32, 15 struct nvkm_memory **); 16 int nv50_mem_map(struct nvkm_mmu *, struct nvkm_memory *, void *, u32, 20 struct nvkm_memory **); 21 int gf100_mem_map(struct nvkm_mmu *, struct nvkm_memory *, void *, u32,
|
A D | mem.c | 31 struct nvkm_memory memory; 43 nvkm_mem_target(struct nvkm_memory *memory) in nvkm_mem_target() 49 nvkm_mem_page(struct nvkm_memory *memory) in nvkm_mem_page() 55 nvkm_mem_addr(struct nvkm_memory *memory) in nvkm_mem_addr() 64 nvkm_mem_size(struct nvkm_memory *memory) in nvkm_mem_size() 70 nvkm_mem_map_dma(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, in nvkm_mem_map_dma() 83 nvkm_mem_dtor(struct nvkm_memory *memory) in nvkm_mem_dtor() 133 nvkm_mem_map_host(struct nvkm_memory *memory, void **pmap) in nvkm_mem_map_host() 145 void *argv, u32 argc, struct nvkm_memory **pmemory) in nvkm_mem_new_host() 225 void *argv, u32 argc, struct nvkm_memory **pmemory) in nvkm_mem_new_type() [all …]
|
A D | vmm.h | 140 int (*join)(struct nvkm_vmm *, struct nvkm_memory *inst); 141 void (*part)(struct nvkm_vmm *, struct nvkm_memory *inst); 158 struct nvkm_memory *inst; 196 int nv50_vmm_join(struct nvkm_vmm *, struct nvkm_memory *); 197 void nv50_vmm_part(struct nvkm_vmm *, struct nvkm_memory *); 204 int gf100_vmm_join_(struct nvkm_vmm *, struct nvkm_memory *, u64 base); 205 int gf100_vmm_join(struct nvkm_vmm *, struct nvkm_memory *); 206 void gf100_vmm_part(struct nvkm_vmm *, struct nvkm_memory *); 219 int gm200_vmm_join(struct nvkm_vmm *, struct nvkm_memory *); 224 int gp100_vmm_join(struct nvkm_vmm *, struct nvkm_memory *); [all …]
|
A D | priv.h | 24 void *argv, u32 argc, struct nvkm_memory **); 25 int (*umap)(struct nvkm_mmu *, struct nvkm_memory *, void *argv, 55 struct nvkm_memory *memory;
|
A D | memnv04.c | 31 nv04_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in nv04_mem_map() 52 void *argv, u32 argc, struct nvkm_memory **pmemory) in nv04_mem_new()
|
A D | memgf100.c | 34 gf100_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in gf100_mem_map() 70 void *argv, u32 argc, struct nvkm_memory **pmemory) in gf100_mem_new()
|
A D | memnv50.c | 34 nv50_mem_map(struct nvkm_mmu *mmu, struct nvkm_memory *memory, void *argv, in nv50_mem_map() 67 void *argv, u32 argc, struct nvkm_memory **pmemory) in nv50_mem_new()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
A D | instmem.h | 5 struct nvkm_memory; 21 struct nvkm_memory *vbios; 23 struct nvkm_memory *ramro; 24 struct nvkm_memory *ramfc; 30 struct nvkm_memory **); 31 int nvkm_instobj_wrap(struct nvkm_device *, struct nvkm_memory *, struct nvkm_memory **);
|
A D | mmu.h | 20 struct nvkm_memory *memory; /* Memory currently mapped into VMA. */ 56 int nvkm_vmm_join(struct nvkm_vmm *, struct nvkm_memory *inst); 57 void nvkm_vmm_part(struct nvkm_vmm *, struct nvkm_memory *inst); 62 struct nvkm_memory *memory; 83 struct nvkm_memory *nvkm_umem_search(struct nvkm_client *, u64);
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | memory.c | 30 nvkm_memory_tags_put(struct nvkm_memory *memory, struct nvkm_device *device, in nvkm_memory_tags_put() 48 nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device, in nvkm_memory_tags_get() 101 struct nvkm_memory *memory) in nvkm_memory_ctor() 110 struct nvkm_memory *memory = container_of(kref, typeof(*memory), kref); in nvkm_memory_del() 119 nvkm_memory_unref(struct nvkm_memory **pmemory) in nvkm_memory_unref() 121 struct nvkm_memory *memory = *pmemory; in nvkm_memory_unref() 128 struct nvkm_memory * 129 nvkm_memory_ref(struct nvkm_memory *memory) in nvkm_memory_ref() 139 struct nvkm_memory **pmemory) in nvkm_memory_new() 142 struct nvkm_memory *memory; in nvkm_memory_new()
|
A D | firmware.c | 117 nvkm_firmware_mem_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, in nvkm_firmware_mem_map() 134 nvkm_firmware_mem_size(struct nvkm_memory *memory) in nvkm_firmware_mem_size() 140 nvkm_firmware_mem_addr(struct nvkm_memory *memory) in nvkm_firmware_mem_addr() 146 nvkm_firmware_mem_page(struct nvkm_memory *memory) in nvkm_firmware_mem_page() 152 nvkm_firmware_mem_target(struct nvkm_memory *memory) in nvkm_firmware_mem_target() 161 nvkm_firmware_mem_dtor(struct nvkm_memory *memory) in nvkm_firmware_mem_dtor() 179 struct nvkm_memory *memory = &fw->mem.memory; in nvkm_firmware_dtor()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
A D | nv50.c | 48 struct nvkm_memory *ram; 124 struct nvkm_memory *memory = &iobj->base.memory; in nv50_instobj_kmap() 191 nv50_instobj_release(struct nvkm_memory *memory) in nv50_instobj_release() 280 nv50_instobj_size(struct nvkm_memory *memory) in nv50_instobj_size() 286 nv50_instobj_addr(struct nvkm_memory *memory) in nv50_instobj_addr() 292 nv50_instobj_bar2(struct nvkm_memory *memory) in nv50_instobj_bar2() 305 nv50_instobj_target(struct nvkm_memory *memory) in nv50_instobj_target() 311 nv50_instobj_dtor(struct nvkm_memory *memory) in nv50_instobj_dtor() 352 struct nvkm_memory *memory, struct nvkm_memory **pmemory) in nv50_instobj_wrap() 372 struct nvkm_memory **pmemory) in nv50_instobj_new() [all …]
|
A D | nv04.c | 46 nv04_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nv04_instobj_wr32() 54 nv04_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nv04_instobj_rd32() 68 nv04_instobj_release(struct nvkm_memory *memory) in nv04_instobj_release() 73 nv04_instobj_acquire(struct nvkm_memory *memory) in nv04_instobj_acquire() 81 nv04_instobj_size(struct nvkm_memory *memory) in nv04_instobj_size() 87 nv04_instobj_addr(struct nvkm_memory *memory) in nv04_instobj_addr() 93 nv04_instobj_target(struct nvkm_memory *memory) in nv04_instobj_target() 99 nv04_instobj_dtor(struct nvkm_memory *memory) in nv04_instobj_dtor() 121 struct nvkm_memory **pmemory) in nv04_instobj_new()
|
A D | nv40.c | 48 nv40_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nv40_instobj_wr32() 55 nv40_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nv40_instobj_rd32() 68 nv40_instobj_release(struct nvkm_memory *memory) in nv40_instobj_release() 74 nv40_instobj_acquire(struct nvkm_memory *memory) in nv40_instobj_acquire() 81 nv40_instobj_size(struct nvkm_memory *memory) in nv40_instobj_size() 87 nv40_instobj_addr(struct nvkm_memory *memory) in nv40_instobj_addr() 93 nv40_instobj_target(struct nvkm_memory *memory) in nv40_instobj_target() 99 nv40_instobj_dtor(struct nvkm_memory *memory) in nv40_instobj_dtor() 121 struct nvkm_memory **pmemory) in nv40_instobj_new()
|
A D | priv.h | 14 bool zero, struct nvkm_memory **); 15 int (*memory_wrap)(struct nvkm_instmem *, struct nvkm_memory *, struct nvkm_memory **); 26 struct nvkm_memory memory;
|
A D | gk20a.c | 52 struct nvkm_memory memory; 116 gk20a_instobj_target(struct nvkm_memory *memory) in gk20a_instobj_target() 122 gk20a_instobj_page(struct nvkm_memory *memory) in gk20a_instobj_page() 128 gk20a_instobj_addr(struct nvkm_memory *memory) in gk20a_instobj_addr() 134 gk20a_instobj_size(struct nvkm_memory *memory) in gk20a_instobj_size() 174 gk20a_instobj_acquire_dma(struct nvkm_memory *memory) in gk20a_instobj_acquire_dma() 186 gk20a_instobj_acquire_iommu(struct nvkm_memory *memory) in gk20a_instobj_acquire_iommu() 229 gk20a_instobj_release_dma(struct nvkm_memory *memory) in gk20a_instobj_release_dma() 295 gk20a_instobj_dtor_dma(struct nvkm_memory *memory) in gk20a_instobj_dtor_dma() 312 gk20a_instobj_dtor_iommu(struct nvkm_memory *memory) in gk20a_instobj_dtor_iommu() [all …]
|
A D | base.c | 34 struct nvkm_memory *memory = &iobj->memory; in nvkm_instobj_load() 54 struct nvkm_memory *memory = &iobj->memory; in nvkm_instobj_save() 94 struct nvkm_memory *memory, struct nvkm_memory **pmemory) in nvkm_instobj_wrap() 106 struct nvkm_memory **pmemory) in nvkm_instobj_new() 109 struct nvkm_memory *memory = NULL; in nvkm_instobj_new()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
A D | ram.c | 32 struct nvkm_memory memory; 39 nvkm_vram_kmap(struct nvkm_memory *memory, struct nvkm_memory **pmemory) in nvkm_vram_kmap() 45 nvkm_vram_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, in nvkm_vram_map() 59 nvkm_vram_size(struct nvkm_memory *memory) in nvkm_vram_size() 65 nvkm_vram_addr(struct nvkm_memory *memory) in nvkm_vram_addr() 74 nvkm_vram_page(struct nvkm_memory *memory) in nvkm_vram_page() 80 nvkm_vram_target(struct nvkm_memory *memory) in nvkm_vram_target() 86 nvkm_vram_dtor(struct nvkm_memory *memory) in nvkm_vram_dtor() 113 bool contig, bool back, struct nvkm_memory **pmemory) in nvkm_ram_get()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A D | priv.h | 10 struct nvkm_memory; 134 void gk104_runl_insert_chan(struct nvkm_chan *, struct nvkm_memory *, u64); 135 void gk104_runl_commit(struct nvkm_runl *, struct nvkm_memory *, u32, int); 161 void gk110_runl_insert_cgrp(struct nvkm_cgrp *, struct nvkm_memory *, u64); 180 void gv100_runl_insert_cgrp(struct nvkm_cgrp *, struct nvkm_memory *, u64); 181 void gv100_runl_insert_chan(struct nvkm_chan *, struct nvkm_memory *, u64);
|
A D | runl.h | 7 struct nvkm_memory; 44 void (*insert_cgrp)(struct nvkm_cgrp *, struct nvkm_memory *, u64 offset); 45 void (*insert_chan)(struct nvkm_chan *, struct nvkm_memory *, u64 offset); 46 void (*commit)(struct nvkm_runl *, struct nvkm_memory *, u32 start, int count); 76 struct nvkm_memory *mem;
|
A D | nv17.c | 40 struct nvkm_memory *ramfc = chan->cgrp->runl->fifo->engine.subdev.device->imem->ramfc; in nv17_chan_ramfc_write() 98 struct nvkm_memory *ramro = imem->ramro; in nv17_fifo_init() 99 struct nvkm_memory *ramfc = imem->ramfc; in nv17_fifo_init()
|
A D | nv40.c | 41 struct nvkm_memory *ramfc = chan->cgrp->runl->fifo->engine.subdev.device->imem->ramfc; in nv40_chan_ramfc_write() 129 struct nvkm_memory *ramfc = device->imem->ramfc; in nv40_ectx_bind() 187 struct nvkm_memory *ramro = imem->ramro; in nv40_fifo_init() 188 struct nvkm_memory *ramfc = imem->ramfc; in nv40_fifo_init()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A D | nv20.h | 9 struct nvkm_memory *ctxtab; 29 struct nvkm_memory *inst;
|