Lines Matching refs:mem
29 struct nvif_mem *mem) in nvif_mem_ctor_map() argument
31 int ret = nvif_mem_ctor(mmu, name, mmu->mem, NVIF_MEM_MAPPABLE | type, in nvif_mem_ctor_map()
32 0, size, NULL, 0, mem); in nvif_mem_ctor_map()
34 ret = nvif_object_map(&mem->object, NULL, 0); in nvif_mem_ctor_map()
36 nvif_mem_dtor(mem); in nvif_mem_ctor_map()
42 nvif_mem_dtor(struct nvif_mem *mem) in nvif_mem_dtor() argument
44 nvif_object_dtor(&mem->object); in nvif_mem_dtor()
50 struct nvif_mem *mem) in nvif_mem_ctor_type() argument
56 mem->object.client = NULL; in nvif_mem_ctor_type()
73 args, sizeof(*args) + argc, &mem->object); in nvif_mem_ctor_type()
75 mem->type = mmu->type[type].type; in nvif_mem_ctor_type()
76 mem->page = args->page; in nvif_mem_ctor_type()
77 mem->addr = args->addr; in nvif_mem_ctor_type()
78 mem->size = args->size; in nvif_mem_ctor_type()
89 u8 page, u64 size, void *argv, u32 argc, struct nvif_mem *mem) in nvif_mem_ctor() argument
93 mem->object.client = NULL; in nvif_mem_ctor()
98 size, argv, argc, mem); in nvif_mem_ctor()