Lines Matching refs:ws
30 struct wakeup_source ws; member
49 if (wl->ws.active == show_active) in pm_show_wakelocks()
115 spin_lock_irq(&wl->ws.lock); in __wakelocks_gc()
116 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws.last_time)); in __wakelocks_gc()
117 active = wl->ws.active; in __wakelocks_gc()
118 spin_unlock_irq(&wl->ws.lock); in __wakelocks_gc()
124 wakeup_source_remove(&wl->ws); in __wakelocks_gc()
190 wl->ws.name = wl->name; in wakelock_lookup_add()
191 wl->ws.last_time = ktime_get(); in wakelock_lookup_add()
192 wakeup_source_add(&wl->ws); in wakelock_lookup_add()
236 __pm_wakeup_event(&wl->ws, timeout_ms); in pm_wake_lock()
238 __pm_stay_awake(&wl->ws); in pm_wake_lock()
274 __pm_relax(&wl->ws); in pm_wake_unlock()