Lines Matching defs:descs
157 if (descs) { \
158 descs[*count] = PC_DESC((op), unit, name, category, description, uuid, __VA_ARGS__); \
218 struct radv_perfcounter_desc *descs)
305 struct radv_perfcounter_desc *descs = malloc(sizeof(*descs) * count);
306 if (!descs)
309 radv_query_perfcounter_descs(pdev, &count, descs);
311 pdev->perfcounters = descs;
330 const struct radv_perfcounter_desc *descs = pdevice->perfcounters;
332 unsigned full_reg_cnt = num_indices * ARRAY_SIZE(descs->impl.regs);
341 for (unsigned j = 0; j < ARRAY_SIZE(descs[index].impl.regs) && descs[index].impl.regs[j];
343 if (!G_REG_CONSTANT(descs[index].impl.regs[j]))
344 regs[reg_cnt++] = descs[index].impl.regs[j];
855 const struct radv_perfcounter_desc *descs = pdevice->perfcounters;
869 pCounters[i].unit = descs[i].unit;
876 const uint32_t uuid = descs[i].uuid;
884 strcpy(pCounterDescriptions[i].name, descs[i].name);
885 strcpy(pCounterDescriptions[i].category, descs[i].category);
886 strcpy(pCounterDescriptions[i].description, descs[i].description);