Lines Matching refs:wakeref_count
49 atomic_t wakeref_count; member
76 BITS_PER_TYPE(struct_member(struct intel_runtime_pm, wakeref_count))
82 intel_rpm_raw_wakeref_count(int wakeref_count) in intel_rpm_raw_wakeref_count() argument
84 return wakeref_count & INTEL_RPM_RAW_WAKEREF_MASK; in intel_rpm_raw_wakeref_count()
88 intel_rpm_wakelock_count(int wakeref_count) in intel_rpm_wakelock_count() argument
90 return wakeref_count >> INTEL_RPM_WAKELOCK_SHIFT; in intel_rpm_wakelock_count()
101 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_raw_wakeref_held() argument
104 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count), in __assert_rpm_raw_wakeref_held()
109 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_wakelock_held() argument
111 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held()
112 WARN_ONCE(!intel_rpm_wakelock_count(wakeref_count), in __assert_rpm_wakelock_held()
119 __assert_rpm_raw_wakeref_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_raw_wakeref_held()
125 __assert_rpm_wakelock_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_wakelock_held()
150 &rpm->wakeref_count); in disable_rpm_wakeref_asserts()
168 &rpm->wakeref_count); in enable_rpm_wakeref_asserts()