Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pmu.c55 struct amdgpu_pmu_event_attribute *fmt_attr; member
444 struct amdgpu_pmu_event_attribute **fmt_attr, in amdgpu_pmu_alloc_pmu_attrs() argument
449 *fmt_attr = kcalloc(config->num_formats, sizeof(**fmt_attr), in amdgpu_pmu_alloc_pmu_attrs()
452 if (!(*fmt_attr)) in amdgpu_pmu_alloc_pmu_attrs()
478 kfree(*fmt_attr); in amdgpu_pmu_alloc_pmu_attrs()
505 &pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
513 amdgpu_pmu_create_attrs(&pmu_entry->fmt_attr_group, pmu_entry->fmt_attr, in init_pmu_entry_by_type_and_add()
567 kfree(pmu_entry->fmt_attr); in init_pmu_entry_by_type_and_add()
588 kfree(pe->fmt_attr); in amdgpu_pmu_fini()
/linux-6.12.1/drivers/perf/amlogic/
Dmeson_g12_ddr_pmu.c324 .fmt_attr = g12_pmu_format_attrs,
337 .fmt_attr = g12_pmu_format_attrs,
350 .fmt_attr = g12_pmu_format_attrs,
Dmeson_ddr_pmu_core.c438 static void fmt_attr_fill(struct attribute **fmt_attr) in fmt_attr_fill() argument
440 ddr_perf_format_attr_group.attrs = fmt_attr; in fmt_attr_fill()
512 fmt_attr_fill(pmu->info.hw_info->fmt_attr); in meson_ddr_pmu_create()
/linux-6.12.1/include/soc/amlogic/
Dmeson_ddr_pmu.h50 struct attribute **fmt_attr; member