Searched refs:wakeref_count (Results 1 – 3 of 3) sorted by relevance
43 atomic_t wakeref_count; member83 BITS_PER_TYPE(typeof_member(struct intel_runtime_pm, wakeref_count))89 intel_rpm_raw_wakeref_count(int wakeref_count) in intel_rpm_raw_wakeref_count() argument91 return wakeref_count & INTEL_RPM_RAW_WAKEREF_MASK; in intel_rpm_raw_wakeref_count()95 intel_rpm_wakelock_count(int wakeref_count) in intel_rpm_wakelock_count() argument97 return wakeref_count >> INTEL_RPM_WAKELOCK_SHIFT; in intel_rpm_wakelock_count()114 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_raw_wakeref_held() argument117 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count), in __assert_rpm_raw_wakeref_held()122 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_wakelock_held() argument124 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held()[all …]
96 if (!atomic_dec_and_lock_irqsave(&rpm->wakeref_count, in __intel_wakeref_dec_and_check_tracking()131 atomic_dec(&rpm->wakeref_count); in __intel_wakeref_dec_and_check_tracking()145 atomic_add(1 + INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count); in intel_runtime_pm_acquire()148 atomic_inc(&rpm->wakeref_count); in intel_runtime_pm_acquire()158 atomic_sub(INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count); in intel_runtime_pm_release()518 int count = atomic_read(&rpm->wakeref_count); in intel_runtime_pm_driver_release()542 atomic_set(&rpm->wakeref_count, 0); in intel_runtime_pm_init_early()
2066 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count); in capture_gen()