Lines Matching refs:amdgpu_pmu_attr
63 struct amdgpu_pmu_event_attribute *amdgpu_pmu_attr; in amdgpu_pmu_event_show() local
65 amdgpu_pmu_attr = container_of(attr, struct amdgpu_pmu_event_attribute, in amdgpu_pmu_event_show()
68 if (!amdgpu_pmu_attr->type) in amdgpu_pmu_event_show()
69 return sprintf(buf, "%s\n", amdgpu_pmu_attr->event_str); in amdgpu_pmu_event_show()
72 amdgpu_pmu_attr->event_str, amdgpu_pmu_attr->type); in amdgpu_pmu_event_show()
78 struct amdgpu_pmu_attr { struct
89 struct amdgpu_pmu_attr *formats; argument
91 struct amdgpu_pmu_attr *events;
114 static struct amdgpu_pmu_attr amdgpu_pmu_formats[NUM_FORMATS_AMDGPU_PMU] = {
122 static struct amdgpu_pmu_attr vega20_events[NUM_EVENTS_VEGA20_MAX] = {
144 static struct amdgpu_pmu_attr df_vega20_formats[NUM_FORMATS_DF_VEGA20] = {
150 static struct amdgpu_pmu_attr df_vega20_events[NUM_EVENTS_DF_VEGA20] = {
179 static struct amdgpu_pmu_attr arcturus_events[NUM_EVENTS_ARCTURUS_MAX] = {
412 struct amdgpu_pmu_attr events[], in amdgpu_pmu_create_event_attrs_by_type()
435 struct amdgpu_pmu_attr events[], in amdgpu_pmu_create_attrs()