Lines Matching refs:wake_lock
22 /* A wake_lock prevents the system from entering suspend or other low power
23 * states when active. If the type is set to WAKE_LOCK_SUSPEND, the wake_lock
32 struct wake_lock {
36 static inline void wake_lock_init(struct wake_lock *lock, int type,
48 static inline void wake_lock_destroy(struct wake_lock *lock)
56 static inline void wake_lock(struct wake_lock *lock)
61 static inline void wake_lock_timeout(struct wake_lock *lock, long timeout)
66 static inline void wake_unlock(struct wake_lock *lock)
71 static inline int wake_lock_active(struct wake_lock *lock)