Home
last modified time | relevance | path

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

123

/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 **);
/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;
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 *);
218 int gm200_vmm_join_(struct nvkm_vmm *, struct nvkm_memory *, u64 base);
219 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()
/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()
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk104.h32 struct nvkm_memory *mem[2];
43 struct nvkm_memory *mem;
70 struct nvkm_memory *, u32 offset);
72 struct nvkm_memory *, u32 offset);
74 struct nvkm_memory *, int entries);
139 struct nvkm_memory *, u32);
141 struct nvkm_memory *, int);
145 struct nvkm_memory *, u32);
165 struct nvkm_memory *, u32);
167 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()
Dga102.c48 struct nvkm_memory *mthd;
49 struct nvkm_memory *inst;
50 struct nvkm_memory *user;
51 struct nvkm_memory *runl;
/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 …]
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()
Dpriv.h14 bool zero, struct nvkm_memory **);
25 struct nvkm_memory memory;
/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 **);
Dmmu.h20 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);
Dfb.h52 struct nvkm_memory *mmu_rd;
53 struct nvkm_memory *mmu_wr;
153 bool contig, bool back, struct nvkm_memory **);
/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()
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv20.h9 struct nvkm_memory *ctxtab;
29 struct nvkm_memory *inst;
/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