• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __NV04_MMU_PRIV__
2 #define __NV04_MMU_PRIV__
3 #define nv04_mmu(p) container_of((p), struct nv04_mmu, base)
4 #include "priv.h"
5 
6 struct nv04_mmu {
7 	struct nvkm_mmu base;
8 	struct nvkm_vm *vm;
9 	dma_addr_t null;
10 	void *nullp;
11 };
12 
13 int nv04_mmu_new_(const struct nvkm_mmu_func *, struct nvkm_device *,
14 		  int index, struct nvkm_mmu **);
15 void *nv04_mmu_dtor(struct nvkm_mmu *);
16 
17 extern const struct nvkm_mmu_func nv04_mmu;
18 #endif
19