Lines Matching defs:resp
204 struct agx_allocate_resource_resp *resp = outputStruct;
205 if (resp->cpu && req->cpu_fixed)
206 assert(resp->cpu == req->cpu_fixed);
208 printf(" GPU VA: 0x%" PRIx64 "\n", resp->gpu_va);
209 printf(" CPU VA: 0x%" PRIx64 "\n", resp->cpu);
210 printf(" Handle: %u\n", resp->handle);
211 printf(" Root size: 0x%" PRIx64 "\n", resp->root_size);
212 printf(" Suballocation size: 0x%" PRIx64 "\n", resp->sub_size);
213 printf(" GUID: 0x%X\n", resp->guid);
214 for (unsigned i = 0; i < ARRAY_SIZE(resp->unk4); ++i) {
215 if (resp->unk4[i])
216 printf(" UNK%u: 0x%X\n", 4 + i, resp->unk4[i]);
218 for (unsigned i = 0; i < ARRAY_SIZE(resp->unk11); ++i) {
219 if (resp->unk11[i])
220 printf(" UNK%u: 0x%X\n", 11 + i, resp->unk11[i]);
224 assert(resp->sub_size <= resp->root_size);
226 assert(resp->sub_size == resp->root_size);
230 .size = resp->sub_size,
231 .handle = resp->handle,
232 .ptr.gpu = resp->gpu_va,
233 .ptr.cpu = (void *) resp->cpu,