Home
last modified time | relevance | path

Searched refs:fmt_attr (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ !
Damdgpu_pmu.c55 struct amdgpu_pmu_event_attribute *fmt_attr; member
445 struct amdgpu_pmu_event_attribute **fmt_attr, in amdgpu_pmu_alloc_pmu_attrs() argument
450 *fmt_attr = kcalloc(config->num_formats, sizeof(**fmt_attr), in amdgpu_pmu_alloc_pmu_attrs()
453 if (!(*fmt_attr)) in amdgpu_pmu_alloc_pmu_attrs()
479 kfree(*fmt_attr); in amdgpu_pmu_alloc_pmu_attrs()
506 &pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
514 amdgpu_pmu_create_attrs(&pmu_entry->fmt_attr_group, pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
568 kfree(pmu_entry->fmt_attr); in init_pmu_entry_by_type_and_add()
589 kfree(pe->fmt_attr); in amdgpu_pmu_fini()