1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __NV04_MMU_PRIV__ 3#define __NV04_MMU_PRIV__ 4#define nv04_mmu(p) container_of((p), struct nv04_mmu, base) 5#include "priv.h" 6 7struct nv04_mmu { 8 struct nvkm_mmu base; 9 struct nvkm_vm *vm; 10 dma_addr_t null; 11 void *nullp; 12}; 13 14int nv04_mmu_new_(const struct nvkm_mmu_func *, struct nvkm_device *, 15 int index, struct nvkm_mmu **); 16void *nv04_mmu_dtor(struct nvkm_mmu *); 17 18extern const struct nvkm_mmu_func nv04_mmu; 19#endif 20