Home
last modified time | relevance | path

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

123

/Linux-v5.10/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-v5.10/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;
195 int nv50_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
196 void nv50_vmm_part(struct nvkm_vmm *, struct nvkm_memory *);
203 int gf100_vmm_join_(struct nvkm_vmm *, struct nvkm_memory *, u64 base);
204 int gf100_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
205 void gf100_vmm_part(struct nvkm_vmm *, struct nvkm_memory *);
217 int gm200_vmm_join_(struct nvkm_vmm *, struct nvkm_memory *, u64 base);
218 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()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk104.h32 struct nvkm_memory *mem[2];
42 struct nvkm_memory *mem;
69 struct nvkm_memory *, u32 offset);
71 struct nvkm_memory *, u32 offset);
73 struct nvkm_memory *, int entries);
106 struct nvkm_memory *, u32);
108 struct nvkm_memory *, int);
112 struct nvkm_memory *, u32);
132 struct nvkm_memory *, u32);
134 struct nvkm_memory *, u32);
Dgv100.c33 struct nvkm_memory *memory, u32 offset) in gv100_fifo_runlist_chan()
35 struct nvkm_memory *usermem = chan->fifo->user.mem; in gv100_fifo_runlist_chan()
47 struct nvkm_memory *memory, u32 offset) in gv100_fifo_runlist_cgrp()
Dgf100.h23 struct nvkm_memory *mem[2];
29 struct nvkm_memory *mem;
Dnv17.c57 struct nvkm_memory *ramro = imem->ramro; in nv17_fifo_init()
58 struct nvkm_memory *ramfc = imem->ramfc; in nv17_fifo_init()
Dnv40.c67 struct nvkm_memory *ramro = imem->ramro; in nv40_fifo_init()
68 struct nvkm_memory *ramfc = imem->ramfc; in nv40_fifo_init()
/Linux-v5.10/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()
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dinstmem.h5 struct nvkm_memory;
16 struct nvkm_memory *vbios;
18 struct nvkm_memory *ramro;
19 struct nvkm_memory *ramfc;
25 struct nvkm_memory **);
Dmmu.h21 struct nvkm_memory *memory; /* Memory currently mapped into VMA. */
57 int nvkm_vmm_join(struct nvkm_vmm *, struct nvkm_memory *inst);
58 void nvkm_vmm_part(struct nvkm_vmm *, struct nvkm_memory *inst);
63 struct nvkm_memory *memory;
84 struct nvkm_memory *nvkm_umem_search(struct nvkm_client *, u64);
Dfb.h48 struct nvkm_memory *mmu_rd;
49 struct nvkm_memory *mmu_wr;
146 bool contig, bool back, struct nvkm_memory **);
/Linux-v5.10/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()
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 …]
Dpriv.h14 bool zero, struct nvkm_memory **);
25 struct nvkm_memory memory;
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 **pmemory) in nvkm_instobj_new()
97 struct nvkm_memory *memory = NULL; in nvkm_instobj_new()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dram.c31 struct nvkm_memory memory;
38 nvkm_vram_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, in nvkm_vram_map()
52 nvkm_vram_size(struct nvkm_memory *memory) in nvkm_vram_size()
58 nvkm_vram_addr(struct nvkm_memory *memory) in nvkm_vram_addr()
67 nvkm_vram_page(struct nvkm_memory *memory) in nvkm_vram_page()
73 nvkm_vram_target(struct nvkm_memory *memory) in nvkm_vram_target()
79 nvkm_vram_dtor(struct nvkm_memory *memory) in nvkm_vram_dtor()
105 bool contig, bool back, struct nvkm_memory **pmemory) in nvkm_ram_get()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv20.h9 struct nvkm_memory *ctxtab;
29 struct nvkm_memory *inst;
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/engine/
Dfalcon.h34 struct nvkm_memory *core;
88 void (*bind_context)(struct nvkm_falcon *, struct nvkm_memory *);
130 void nvkm_falcon_bind_context(struct nvkm_falcon *, struct nvkm_memory *);

123