1 /* $NetBSD: ummu.h,v 1.2 2021/12/18 23:45:41 riastradh Exp $ */ 2 3 #ifndef __NVKM_UMMU_H__ 4 #define __NVKM_UMMU_H__ 5 #define nvkm_ummu(p) container_of((p), struct nvkm_ummu, object) 6 #include <core/object.h> 7 #include "priv.h" 8 9 struct nvkm_ummu { 10 struct nvkm_object object; 11 struct nvkm_mmu *mmu; 12 }; 13 14 int nvkm_ummu_new(struct nvkm_device *, const struct nvkm_oclass *, 15 void *argv, u32 argc, struct nvkm_object **); 16 #endif 17