Lines Matching refs:nvkm_vmm
53 typedef void (*nvkm_vmm_pxe_func)(struct nvkm_vmm *,
55 typedef void (*nvkm_vmm_pde_func)(struct nvkm_vmm *,
57 typedef void (*nvkm_vmm_pte_func)(struct nvkm_vmm *, struct nvkm_mmu_pt *,
72 bool (*pfn_clear)(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32 ptei, u32 ptes);
77 void gf100_vmm_pgd_pde(struct nvkm_vmm *, struct nvkm_vmm_pt *, u32);
79 void gf100_vmm_pgt_unmap(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32);
80 void gf100_vmm_pgt_mem(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32,
82 void gf100_vmm_pgt_dma(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32,
84 void gf100_vmm_pgt_sgl(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32,
87 void gk104_vmm_lpt_invalid(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32);
140 int (*join)(struct nvkm_vmm *, struct nvkm_memory *inst);
141 void (*part)(struct nvkm_vmm *, struct nvkm_memory *inst);
144 int (*valid)(struct nvkm_vmm *, void *argv, u32 argc,
146 void (*flush)(struct nvkm_vmm *, int depth);
148 int (*mthd)(struct nvkm_vmm *, struct nvkm_client *,
151 void (*invalidate_pdb)(struct nvkm_vmm *, u64 addr);
165 struct nvkm_vmm **);
166 struct nvkm_vma *nvkm_vmm_node_search(struct nvkm_vmm *, u64 addr);
167 struct nvkm_vma *nvkm_vmm_node_split(struct nvkm_vmm *, struct nvkm_vma *,
169 int nvkm_vmm_get_locked(struct nvkm_vmm *, bool getref, bool mapref,
172 void nvkm_vmm_put_locked(struct nvkm_vmm *, struct nvkm_vma *);
173 void nvkm_vmm_unmap_locked(struct nvkm_vmm *, struct nvkm_vma *, bool pfn);
174 void nvkm_vmm_unmap_region(struct nvkm_vmm *, struct nvkm_vma *);
186 int nvkm_vmm_pfn_map(struct nvkm_vmm *, u8 page, u64 addr, u64 size, u64 *pfn);
187 int nvkm_vmm_pfn_unmap(struct nvkm_vmm *, u64 addr, u64 size);
193 const char *, struct nvkm_vmm **);
194 int nv04_vmm_valid(struct nvkm_vmm *, void *, u32, struct nvkm_vmm_map *);
196 int nv50_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
197 void nv50_vmm_part(struct nvkm_vmm *, struct nvkm_memory *);
198 int nv50_vmm_valid(struct nvkm_vmm *, void *, u32, struct nvkm_vmm_map *);
199 void nv50_vmm_flush(struct nvkm_vmm *, int);
203 struct lock_class_key *, const char *, struct nvkm_vmm **);
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 *);
208 int gf100_vmm_valid(struct nvkm_vmm *, void *, u32, struct nvkm_vmm_map *);
209 void gf100_vmm_flush(struct nvkm_vmm *, int);
210 void gf100_vmm_invalidate(struct nvkm_vmm *, u32 type);
211 void gf100_vmm_invalidate_pdb(struct nvkm_vmm *, u64 addr);
217 struct lock_class_key *, const char *, struct nvkm_vmm **);
218 int gm200_vmm_join_(struct nvkm_vmm *, struct nvkm_memory *, u64 base);
219 int gm200_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
223 struct lock_class_key *, const char *, struct nvkm_vmm **);
224 int gp100_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
225 int gp100_vmm_valid(struct nvkm_vmm *, void *, u32, struct nvkm_vmm_map *);
226 void gp100_vmm_flush(struct nvkm_vmm *, int);
227 int gp100_vmm_mthd(struct nvkm_vmm *, struct nvkm_client *, u32, void *, u32);
228 void gp100_vmm_invalidate_pdb(struct nvkm_vmm *, u64 addr);
230 int gv100_vmm_join(struct nvkm_vmm *, struct nvkm_memory *);
233 struct lock_class_key *, const char *, struct nvkm_vmm **);
235 struct lock_class_key *, const char *, struct nvkm_vmm **);
237 struct lock_class_key *, const char *, struct nvkm_vmm **);
239 struct lock_class_key *, const char *, struct nvkm_vmm **);
241 struct lock_class_key *, const char *, struct nvkm_vmm **);
243 struct lock_class_key *, const char *, struct nvkm_vmm **);
245 struct lock_class_key *, const char *, struct nvkm_vmm **);
247 struct lock_class_key *, const char *, struct nvkm_vmm **);
249 struct lock_class_key *, const char *, struct nvkm_vmm **);
252 struct nvkm_vmm **);
255 struct nvkm_vmm **);
258 struct nvkm_vmm **);
261 struct nvkm_vmm **);
264 struct nvkm_vmm **);
267 struct nvkm_vmm **);
270 struct nvkm_vmm **);
273 struct nvkm_vmm **);
276 struct nvkm_vmm *_vmm = (v); \