Home
last modified time | relevance | path

Searched refs:wakelock (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/kernel/power/
Dwakelock.c27 struct wakelock { struct
41 struct wakelock *wl; in pm_show_wakelocks() argument
48 wl = rb_entry(node, struct wakelock, node); in pm_show_wakelocks()
93 static inline void wakelocks_lru_add(struct wakelock *wl) in wakelocks_lru_add()
98 static inline void wakelocks_lru_most_recent(struct wakelock *wl) in wakelocks_lru_most_recent()
105 struct wakelock *wl, *aux; in __wakelocks_gc()
145 static inline void wakelocks_lru_add(struct wakelock *wl) {} in wakelocks_lru_add()
146 static inline void wakelocks_lru_most_recent(struct wakelock *wl) {} in wakelocks_lru_most_recent()
150 static struct wakelock *wakelock_lookup_add(const char *name, size_t len, in wakelock_lookup_add()
155 struct wakelock *wl; in wakelock_lookup_add()
[all …]
DMakefile15 obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o
/Linux-v5.4/drivers/gpu/drm/i915/
Dintel_runtime_pm.c332 intel_runtime_pm_acquire(struct intel_runtime_pm *rpm, bool wakelock) in intel_runtime_pm_acquire() argument
334 if (wakelock) { in intel_runtime_pm_acquire()
344 intel_runtime_pm_release(struct intel_runtime_pm *rpm, int wakelock) in intel_runtime_pm_release() argument
346 if (wakelock) { in intel_runtime_pm_release()
357 bool wakelock) in __intel_runtime_pm_get() argument
364 intel_runtime_pm_acquire(rpm, wakelock); in __intel_runtime_pm_get()
471 bool wakelock) in __intel_runtime_pm_put() argument
477 intel_runtime_pm_release(rpm, wakelock); in __intel_runtime_pm_put()
Di915_gpu_error.h44 bool wakelock; member
Di915_gpu_error.c711 err_printf(m, "RPM wakelock: %s\n", yesno(error->wakelock)); in __err_print_to_sgl()
1626 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count); in capture_gen_state()