Lines Matching defs:args
49 struct nvif_mmu_v0 args;
52 args.version = 0;
58 &args, sizeof(args), &mmu->object);
62 mmu->dmabits = args.dmabits;
63 mmu->heap_nr = args.heap_nr;
64 mmu->type_nr = args.type_nr;
65 mmu->kind_nr = args.kind_nr;
85 struct nvif_mmu_heap_v0 args = { .index = i };
88 &args, sizeof(args));
92 mmu->heap[i].size = args.size;
96 struct nvif_mmu_type_v0 args = { .index = i };
99 &args, sizeof(args));
104 if (args.vram) mmu->type[i].type |= NVIF_MEM_VRAM;
105 if (args.host) mmu->type[i].type |= NVIF_MEM_HOST;
106 if (args.comp) mmu->type[i].type |= NVIF_MEM_COMP;
107 if (args.disp) mmu->type[i].type |= NVIF_MEM_DISP;
108 if (args.kind ) mmu->type[i].type |= NVIF_MEM_KIND;
109 if (args.mappable) mmu->type[i].type |= NVIF_MEM_MAPPABLE;
110 if (args.coherent) mmu->type[i].type |= NVIF_MEM_COHERENT;
111 if (args.uncached) mmu->type[i].type |= NVIF_MEM_UNCACHED;
112 mmu->type[i].heap = args.heap;