Searched refs:wakeref_count (Results 1 - 5 of 5) sorted by relevance
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/ |
H A D | intel_runtime_pm.h | 53 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 D | intel_runtime_pm.c | 151 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 D | i915_gpu_error.c | 1726 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count);
|
H A D | i915_drv.c | 2690 WARN_ON_ONCE(atomic_read(&rpm->wakeref_count));
|
H A D | intel_pm.c | 7333 atomic_set(&dev_priv->runtime_pm.wakeref_count, 0);
|
Completed in 296 milliseconds