Lines Matching refs:args
46 struct nvif_mmu_v0 args;
49 args.version = 0;
55 &args, sizeof(args), &mmu->object);
59 mmu->dmabits = args.dmabits;
60 mmu->heap_nr = args.heap_nr;
61 mmu->type_nr = args.type_nr;
62 mmu->kind_nr = args.kind_nr;
82 struct nvif_mmu_heap_v0 args = { .index = i };
85 &args, sizeof(args));
89 mmu->heap[i].size = args.size;
93 struct nvif_mmu_type_v0 args = { .index = i };
96 &args, sizeof(args));
101 if (args.vram) mmu->type[i].type |= NVIF_MEM_VRAM;
102 if (args.host) mmu->type[i].type |= NVIF_MEM_HOST;
103 if (args.comp) mmu->type[i].type |= NVIF_MEM_COMP;
104 if (args.disp) mmu->type[i].type |= NVIF_MEM_DISP;
105 if (args.kind ) mmu->type[i].type |= NVIF_MEM_KIND;
106 if (args.mappable) mmu->type[i].type |= NVIF_MEM_MAPPABLE;
107 if (args.coherent) mmu->type[i].type |= NVIF_MEM_COHERENT;
108 if (args.uncached) mmu->type[i].type |= NVIF_MEM_UNCACHED;
109 mmu->type[i].heap = args.heap;