Searched refs:wakeref_count (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/
H A Dintel_runtime_pm.h53 atomic_t wakeref_count; member in struct:intel_runtime_pm
80 BITS_PER_TYPE(struct_member(struct intel_runtime_pm, wakeref_count))
86 intel_rpm_raw_wakeref_count(int wakeref_count) argument
88 return wakeref_count & INTEL_RPM_RAW_WAKEREF_MASK;
92 intel_rpm_wakelock_count(int wakeref_count) argument
94 return wakeref_count >> INTEL_RPM_WAKELOCK_SHIFT;
105 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) argument
108 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count),
113 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) argument
115 __assert_rpm_raw_wakeref_held(rpm, wakeref_count);
[all...]
H A Dintel_runtime_pm.c151 rpm->debug.count, atomic_read(&rpm->wakeref_count))) {
251 if (!atomic_dec_and_lock_irqsave(&rpm->wakeref_count,
336 atomic_dec(&rpm->wakeref_count);
350 atomic_add(1 + INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count);
353 atomic_inc(&rpm->wakeref_count);
363 atomic_sub(INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count);
613 int count = atomic_read(&rpm->wakeref_count);
H A Di915_gpu_error.c1726 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count);
H A Di915_drv.c2690 WARN_ON_ONCE(atomic_read(&rpm->wakeref_count));
H A Dintel_pm.c7333 atomic_set(&dev_priv->runtime_pm.wakeref_count, 0);

Completed in 296 milliseconds