Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/
H A Di915_perf_types.h92 struct kobj_attribute sysfs_metric_id; member
H A Di915_perf.c4555 container_of(attr, typeof(*oa_config), sysfs_metric_id); in show_dynamic_id()
4563 sysfs_attr_init(&oa_config->sysfs_metric_id.attr); in create_dynamic_oa_sysfs_entry()
4564 oa_config->sysfs_metric_id.attr.name = "id"; in create_dynamic_oa_sysfs_entry()
4565 oa_config->sysfs_metric_id.attr.mode = S_IRUGO; in create_dynamic_oa_sysfs_entry()
4566 oa_config->sysfs_metric_id.show = show_dynamic_id; in create_dynamic_oa_sysfs_entry()
4567 oa_config->sysfs_metric_id.store = NULL; in create_dynamic_oa_sysfs_entry()
4569 oa_config->attrs[0] = &oa_config->sysfs_metric_id.attr; in create_dynamic_oa_sysfs_entry()
/linux/drivers/gpu/drm/xe/
H A Dxe_oa.c69 struct kobj_attribute sysfs_metric_id; member
2241 container_of(attr, typeof(*oa_config), sysfs_metric_id); in show_dynamic_id()
2249 sysfs_attr_init(&oa_config->sysfs_metric_id.attr); in create_dynamic_oa_sysfs_entry()
2250 oa_config->sysfs_metric_id.attr.name = "id"; in create_dynamic_oa_sysfs_entry()
2251 oa_config->sysfs_metric_id.attr.mode = 0444; in create_dynamic_oa_sysfs_entry()
2252 oa_config->sysfs_metric_id.show = show_dynamic_id; in create_dynamic_oa_sysfs_entry()
2253 oa_config->sysfs_metric_id.store = NULL; in create_dynamic_oa_sysfs_entry()
2255 oa_config->attrs[0] = &oa_config->sysfs_metric_id.attr; in create_dynamic_oa_sysfs_entry()