Home
last modified time | relevance | path

Searched refs:kobj_to_gt (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_ccs_mode.c95 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in num_cslices_show()
106 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in ccs_mode_show()
115 struct xe_gt *gt = kobj_to_gt(&kdev->kobj); in ccs_mode_store()
Dxe_gt_sysfs.h14 kobj_to_gt(struct kobject *kobj) in kobj_to_gt() function
Dxe_gt_freq.c50 return &kobj_to_gt(dev->kobj.parent)->uc.guc.pc; in dev_to_pc()
56 return gt_to_xe(kobj_to_gt(dev->kobj.parent)); in dev_to_xe()
Dxe_gt_idle.c34 return &kobj_to_gt(kobj->parent)->gtidle; in dev_to_gtidle()
203 struct xe_gt *gt = kobj_to_gt(kobj->parent); in gt_idle_fini()
Dxe_gt_throttle.c35 return kobj_to_gt(dev->kobj.parent); in dev_to_gt()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gt_sysfs.h21 static inline struct intel_gt *kobj_to_gt(struct kobject *kobj) in kobj_to_gt() function
Dintel_gt_sysfs.c46 return kobj_to_gt(kobj); in intel_gt_sysfs_get_drvdata()
Dintel_gt_sysfs_pm.c757 struct intel_gt *gt = kobj_to_gt(kobj->parent); in default_min_freq_mhz_show()
768 struct intel_gt *gt = kobj_to_gt(kobj->parent); in default_max_freq_mhz_show()
781 struct intel_gt *gt = kobj_to_gt(kobj->parent); in default_rps_up_threshold_pct_show()
794 struct intel_gt *gt = kobj_to_gt(kobj->parent); in default_rps_down_threshold_pct_show()