Home
last modified time | relevance | path

Searched refs:wakelock (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/kernel/power/
H A Dwakelock.c3 * kernel/power/wakelock.c
27 struct wakelock { struct
41 struct wakelock *wl; in pm_show_wakelocks()
47 wl = rb_entry(node, struct wakelock, node); in pm_show_wakelocks()
90 static inline void wakelocks_lru_add(struct wakelock *wl) in wakelocks_lru_add()
95 static inline void wakelocks_lru_most_recent(struct wakelock *wl) in wakelocks_lru_most_recent()
102 struct wakelock *wl, *aux; in __wakelocks_gc()
142 static inline void wakelocks_lru_add(struct wakelock *wl) {} in wakelocks_lru_add()
143 static inline void wakelocks_lru_most_recent(struct wakelock *wl) {} in wakelocks_lru_most_recent()
147 static struct wakelock *wakelock_lookup_ad
[all...]
H A DMakefile16 obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o
/kernel/linux/linux-6.6/kernel/power/
H A Dwakelock.c3 * kernel/power/wakelock.c
27 struct wakelock { struct
41 struct wakelock *wl; in pm_show_wakelocks()
47 wl = rb_entry(node, struct wakelock, node); in pm_show_wakelocks()
90 static inline void wakelocks_lru_add(struct wakelock *wl) in wakelocks_lru_add()
95 static inline void wakelocks_lru_most_recent(struct wakelock *wl) in wakelocks_lru_most_recent()
102 struct wakelock *wl, *aux; in __wakelocks_gc()
142 static inline void wakelocks_lru_add(struct wakelock *wl) {} in wakelocks_lru_add()
143 static inline void wakelocks_lru_most_recent(struct wakelock *wl) {} in wakelocks_lru_most_recent()
147 static struct wakelock *wakelock_lookup_ad
[all...]
H A DMakefile20 obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Dintel_runtime_pm.c334 intel_runtime_pm_acquire(struct intel_runtime_pm *rpm, bool wakelock) in intel_runtime_pm_acquire() argument
336 if (wakelock) { in intel_runtime_pm_acquire()
346 intel_runtime_pm_release(struct intel_runtime_pm *rpm, int wakelock) in intel_runtime_pm_release() argument
348 if (wakelock) { in intel_runtime_pm_release()
359 bool wakelock) in __intel_runtime_pm_get()
370 intel_runtime_pm_acquire(rpm, wakelock); in __intel_runtime_pm_get()
384 * up. Raw references are not considered during wakelock assert checks.
496 bool wakelock) in __intel_runtime_pm_put()
502 intel_runtime_pm_release(rpm, wakelock); in __intel_runtime_pm_put()
358 __intel_runtime_pm_get(struct intel_runtime_pm *rpm, bool wakelock) __intel_runtime_pm_get() argument
494 __intel_runtime_pm_put(struct intel_runtime_pm *rpm, intel_wakeref_t wref, bool wakelock) __intel_runtime_pm_put() argument
H A Di915_gpu_error.h172 bool wakelock; member
H A Di915_gpu_error.c810 err_printf(m, "RPM wakelock: %s\n", yesno(error->wakelock)); in __err_print_to_sgl()
1723 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count); in capture_gen()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Dintel_runtime_pm.c325 intel_runtime_pm_acquire(struct intel_runtime_pm *rpm, bool wakelock) in intel_runtime_pm_acquire() argument
327 if (wakelock) { in intel_runtime_pm_acquire()
337 intel_runtime_pm_release(struct intel_runtime_pm *rpm, int wakelock) in intel_runtime_pm_release() argument
339 if (wakelock) { in intel_runtime_pm_release()
350 bool wakelock) in __intel_runtime_pm_get()
361 intel_runtime_pm_acquire(rpm, wakelock); in __intel_runtime_pm_get()
375 * up. Raw references are not considered during wakelock assert checks.
487 bool wakelock) in __intel_runtime_pm_put()
493 intel_runtime_pm_release(rpm, wakelock); in __intel_runtime_pm_put()
349 __intel_runtime_pm_get(struct intel_runtime_pm *rpm, bool wakelock) __intel_runtime_pm_get() argument
485 __intel_runtime_pm_put(struct intel_runtime_pm *rpm, intel_wakeref_t wref, bool wakelock) __intel_runtime_pm_put() argument
H A Di915_gpu_error.h206 bool wakelock; member
H A Di915_gpu_error.c875 err_printf(m, "RPM wakelock: %s\n", str_yes_no(error->wakelock)); in __err_print_to_sgl()
1974 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count); in capture_gen()

Completed in 10 milliseconds