Home
last modified time | relevance | path

Searched refs:sysfs_gt (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_sysfs.c95 if (kobject_init_and_add(&gt->sysfs_gt, &kobj_gt_type, in intel_gt_sysfs_register()
96 gt->i915->sysfs_gt, "gt%d", gt->info.id)) in intel_gt_sysfs_register()
99 gt->sysfs_defaults = kobject_create_and_add(".defaults", &gt->sysfs_gt); in intel_gt_sysfs_register()
103 intel_gt_sysfs_pm_init(gt, &gt->sysfs_gt); in intel_gt_sysfs_register()
108 kobject_put(&gt->sysfs_gt); in intel_gt_sysfs_register()
115 kobject_put(&gt->sysfs_gt); in intel_gt_sysfs_unregister()
H A Dintel_gt_sysfs.h23 return container_of(kobj, struct intel_gt, sysfs_gt); in kobj_to_gt()
H A Dintel_gt_types.h289 struct kobject sysfs_gt; member
/linux/drivers/gpu/drm/i915/
H A Di915_sysfs.c178 dev_priv->sysfs_gt = kobject_create_and_add("gt", &kdev->kobj); in i915_setup_sysfs()
179 if (!dev_priv->sysfs_gt) in i915_setup_sysfs()
197 kobject_put(dev_priv->sysfs_gt); in i915_teardown_sysfs()
H A Di915_drv.h322 struct kobject *sysfs_gt; member