Lines Matching refs:wakeref
31 intel_wakeref_t wakeref; in user_forcewake() local
37 wakeref = intel_gt_pm_get(gt); in user_forcewake()
39 GEM_BUG_ON(count > atomic_read(>->wakeref.count)); in user_forcewake()
40 atomic_sub(count, >->wakeref.count); in user_forcewake()
42 atomic_add(count, >->wakeref.count); in user_forcewake()
44 intel_gt_pm_put(gt, wakeref); in user_forcewake()
71 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark()
103 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park()
104 intel_wakeref_t wakeref = fetch_and_zero(>->awake); in __gt_park() local
122 GEM_BUG_ON(!wakeref); in __gt_park()
123 intel_display_power_put_async(i915, POWER_DOMAIN_GT_IRQ, wakeref); in __gt_park()
142 intel_wakeref_init(>->wakeref, gt->i915, &wf_ops, "GT"); in intel_gt_pm_init_early()
143 seqcount_mutex_init(>->stats.lock, >->wakeref.mutex); in intel_gt_pm_init_early()
169 intel_wakeref_t wakeref; in gt_sanitize() local
174 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in gt_sanitize()
213 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in gt_sanitize()
240 intel_wakeref_t wakeref; in intel_gt_resume() local
257 wakeref = intel_gt_pm_get(gt); in intel_gt_resume()
300 intel_gt_pm_put(gt, wakeref); in intel_gt_resume()
344 intel_wakeref_t wakeref; in intel_gt_suspend_late() local
369 with_intel_runtime_pm(gt->uncore->rpm, wakeref) { in intel_gt_suspend_late()