Warning: This file is not a C or C++ file. It does not have highlighting.

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#endif
23

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/drivers/gpu/drm/nouveau/include/nvif/mem.h