Home
last modified time | relevance | path

Searched refs:nvkm_memory (Results 1 – 25 of 68) sorted by relevance

123

/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmemory.h21 struct nvkm_memory { struct
29 void *(*dtor)(struct nvkm_memory *); argument
30 enum nvkm_memory_target (*target)(struct nvkm_memory *);
31 u8 (*page)(struct nvkm_memory *);
32 u64 (*bar2)(struct nvkm_memory *);
33 u64 (*addr)(struct nvkm_memory *);
34 u64 (*size)(struct nvkm_memory *);
35 void (*boot)(struct nvkm_memory *, struct nvkm_vmm *);
36 void __iomem *(*acquire)(struct nvkm_memory *);
37 void (*release)(struct nvkm_memory *);
[all …]
Dgpuobj.h16 struct nvkm_memory *memory;
38 int nvkm_gpuobj_wrap(struct nvkm_memory *, struct nvkm_gpuobj **);
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dmem.h6 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,
Dmem.c31 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()
110 nvkm_mem_map_sgl(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, in nvkm_mem_map_sgl()
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()
[all …]
Dvmm.h140 int (*join)(struct nvkm_vmm *, struct nvkm_memory *inst);
141 void (*part)(struct nvkm_vmm *, struct nvkm_memory *inst);
158 struct nvkm_memory *inst;
221 int nv50_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
222 void nv50_vmm_part(struct nvkm_vmm *, struct nvkm_memory *);
229 int gf100_vmm_join_(struct nvkm_vmm *, struct nvkm_memory *, u64 base);
230 int gf100_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
231 void gf100_vmm_part(struct nvkm_vmm *, struct nvkm_memory *);
243 int gm200_vmm_join_(struct nvkm_vmm *, struct nvkm_memory *, u64 base);
244 int gm200_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
[all …]
Dpriv.h24 void *argv, u32 argc, struct nvkm_memory **);
25 int (*umap)(struct nvkm_mmu *, struct nvkm_memory *, void *argv,
55 struct nvkm_memory *memory;
Dmemnv04.c31 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()
Dmemgf100.c34 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()
Dmemnv50.c34 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.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dinstmem.h5 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 **);
Dmmu.h21 struct nvkm_memory *memory; /* Memory currently mapped into VMA. */
73 int nvkm_vmm_join(struct nvkm_vmm *, struct nvkm_memory *inst);
74 void nvkm_vmm_part(struct nvkm_vmm *, struct nvkm_memory *inst);
79 struct nvkm_memory *memory;
101 struct nvkm_memory *nvkm_umem_search(struct nvkm_client *, u64);
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/core/
Dmemory.c30 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()
Dfirmware.c117 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.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv50.c48 struct nvkm_memory *ram;
56 nv50_instobj_wr32_slow(struct nvkm_memory *memory, u64 offset, u32 data) in nv50_instobj_wr32_slow()
75 nv50_instobj_rd32_slow(struct nvkm_memory *memory, u64 offset) in nv50_instobj_rd32_slow()
102 nv50_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nv50_instobj_wr32()
108 nv50_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nv50_instobj_rd32()
124 struct nvkm_memory *memory = &iobj->base.memory; in nv50_instobj_kmap()
183 nv50_instobj_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, in nv50_instobj_map()
191 nv50_instobj_release(struct nvkm_memory *memory) in nv50_instobj_release()
216 nv50_instobj_acquire(struct nvkm_memory *memory) in nv50_instobj_acquire()
260 nv50_instobj_boot(struct nvkm_memory *memory, struct nvkm_vmm *vmm) in nv50_instobj_boot()
[all …]
Dnv04.c46 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()
Dnv40.c48 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()
Dpriv.h14 bool zero, struct nvkm_memory **);
15 int (*memory_wrap)(struct nvkm_instmem *, struct nvkm_memory *, struct nvkm_memory **);
26 struct nvkm_memory memory;
Dgk20a.c52 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()
241 gk20a_instobj_release_iommu(struct nvkm_memory *memory) in gk20a_instobj_release_iommu()
265 gk20a_instobj_rd32(struct nvkm_memory *memory, u64 offset) in gk20a_instobj_rd32()
[all …]
Dbase.c34 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.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dram.c32 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.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dpriv.h10 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);
Drunl.h7 struct nvkm_memory;
45 void (*insert_cgrp)(struct nvkm_cgrp *, struct nvkm_memory *, u64 offset);
46 void (*insert_chan)(struct nvkm_chan *, struct nvkm_memory *, u64 offset);
47 void (*commit)(struct nvkm_runl *, struct nvkm_memory *, u32 start, int count);
82 struct nvkm_memory *mem;
Dnv17.c40 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()
Dnv40.c41 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.6.21/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv20.h9 struct nvkm_memory *ctxtab;
29 struct nvkm_memory *inst;

123