brintos

brintos / linux-shallow public Read only

0
0
Text · 619 B · 9e1071d Raw
23 lines · c
1#ifndef __NVIF_MEM_H__2#define __NVIF_MEM_H__3#include "mmu.h"4 5struct nvif_mem {6	struct nvif_object object;7	u8  type;8	u8  page;9	u64 addr;10	u64 size;11};12 13int nvif_mem_ctor_type(struct nvif_mmu *mmu, const char *name, s32 oclass,14		       int type, u8 page, u64 size, void *argv, u32 argc,15		       struct nvif_mem *);16int nvif_mem_ctor(struct nvif_mmu *mmu, const char *name, s32 oclass, u8 type,17		  u8 page, u64 size, void *argv, u32 argc, struct nvif_mem *);18void nvif_mem_dtor(struct nvif_mem *);19 20int nvif_mem_ctor_map(struct nvif_mmu *, const char *name, u8 type, u64 size,21		      struct nvif_mem *);22#endif23