Lines Matching refs:wakeref
59 GEM_BUG_ON(count > atomic_read(>->wakeref.count)); in user_forcewake()
60 atomic_sub(count, >->wakeref.count); in user_forcewake()
62 atomic_add(count, >->wakeref.count); in user_forcewake()
91 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark()
126 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park()
127 intel_wakeref_t wakeref = fetch_and_zero(>->awake); in __gt_park() local
145 GEM_BUG_ON(!wakeref); in __gt_park()
146 intel_display_power_put_async(i915, POWER_DOMAIN_GT_IRQ, wakeref); in __gt_park()
168 intel_wakeref_init(>->wakeref, >->i915->runtime_pm, &wf_ops); in intel_gt_pm_init_early()
169 seqcount_mutex_init(>->stats.lock, >->wakeref.mutex); in intel_gt_pm_init_early()
195 intel_wakeref_t wakeref; in gt_sanitize() local
200 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in gt_sanitize()
239 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in gt_sanitize()
352 intel_wakeref_t wakeref; in intel_gt_suspend_late() local
377 with_intel_runtime_pm(gt->uncore->rpm, wakeref) { in intel_gt_suspend_late()