• Home
  • Raw
  • Download

Lines Matching refs:descs

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