Lines Matching refs:wakeref
36 GEM_BUG_ON(count > atomic_read(>->wakeref.count)); in user_forcewake()
37 atomic_sub(count, >->wakeref.count); in user_forcewake()
39 atomic_add(count, >->wakeref.count); in user_forcewake()
68 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark()
100 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park()
101 intel_wakeref_t wakeref = fetch_and_zero(>->awake); in __gt_park() local
119 GEM_BUG_ON(!wakeref); in __gt_park()
120 intel_display_power_put_async(i915, POWER_DOMAIN_GT_IRQ, wakeref); in __gt_park()
139 intel_wakeref_init(>->wakeref, >->i915->runtime_pm, &wf_ops); in intel_gt_pm_init_early()
140 seqcount_mutex_init(>->stats.lock, >->wakeref.mutex); in intel_gt_pm_init_early()
166 intel_wakeref_t wakeref; in gt_sanitize() local
171 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in gt_sanitize()
210 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in gt_sanitize()
329 intel_wakeref_t wakeref; in intel_gt_suspend_late() local
355 with_intel_runtime_pm(gt->uncore->rpm, wakeref) { in intel_gt_suspend_late()