Searched refs:fmt_attr (Results 1 – 4 of 4) sorted by relevance
55 struct amdgpu_pmu_event_attribute *fmt_attr; member444 struct amdgpu_pmu_event_attribute **fmt_attr, in amdgpu_pmu_alloc_pmu_attrs() argument449 *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()
324 .fmt_attr = g12_pmu_format_attrs,337 .fmt_attr = g12_pmu_format_attrs,350 .fmt_attr = g12_pmu_format_attrs,
438 static void fmt_attr_fill(struct attribute **fmt_attr) in fmt_attr_fill() argument440 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()
50 struct attribute **fmt_attr; member