Lines Matching refs:pmu_attr
411 struct amdgpu_pmu_event_attribute *pmu_attr, in amdgpu_pmu_create_event_attrs_by_type() argument
419 pmu_attr += s_offset; in amdgpu_pmu_create_event_attrs_by_type()
422 attr_group->attrs[i] = &pmu_attr->attr.attr; in amdgpu_pmu_create_event_attrs_by_type()
423 sysfs_attr_init(&pmu_attr->attr.attr); in amdgpu_pmu_create_event_attrs_by_type()
424 pmu_attr->attr.attr.name = events[i].name; in amdgpu_pmu_create_event_attrs_by_type()
425 pmu_attr->attr.attr.mode = 0444; in amdgpu_pmu_create_event_attrs_by_type()
426 pmu_attr->attr.show = amdgpu_pmu_event_show; in amdgpu_pmu_create_event_attrs_by_type()
427 pmu_attr->event_str = events[i].config; in amdgpu_pmu_create_event_attrs_by_type()
428 pmu_attr->type = type; in amdgpu_pmu_create_event_attrs_by_type()
429 pmu_attr++; in amdgpu_pmu_create_event_attrs_by_type()
434 struct amdgpu_pmu_event_attribute *pmu_attr, in amdgpu_pmu_create_attrs() argument
438 amdgpu_pmu_create_event_attrs_by_type(attr_group, pmu_attr, events, 0, in amdgpu_pmu_create_attrs()