#ifndef __NVIF_MMU_H__ #define __NVIF_MMU_H__ #include <nvif/object.h> struct nvif_mmu { … }; int nvif_mmu_ctor(struct nvif_object *, const char *name, s32 oclass, struct nvif_mmu *); void nvif_mmu_dtor(struct nvif_mmu *); static inline bool nvif_mmu_kind_valid(struct nvif_mmu *mmu, u8 kind) { … } static inline int nvif_mmu_type(struct nvif_mmu *mmu, u8 mask) { … } #endif