Lines Matching refs:active
141 ws->active = false; in wakeup_source_add()
401 ws->active = true; in wakeup_source_activate()
424 if (!ws->active) in wakeup_source_report_event()
515 ws->active = false; in wakeup_source_deactivate()
559 if (ws->active) in __pm_relax()
599 if (ws->active && ws->timer_expires in pm_wakeup_timer_fn()
676 bool active = false; in pm_get_active_wakeup_sources() local
680 if (ws->active && len < max) { in pm_get_active_wakeup_sources()
681 if (!active) in pm_get_active_wakeup_sources()
686 active = true; in pm_get_active_wakeup_sources()
687 } else if (!active && in pm_get_active_wakeup_sources()
694 if (!active && last_active_ws) { in pm_get_active_wakeup_sources()
706 int active = 0; in pm_print_active_wakeup_sources() local
711 if (ws->active) { in pm_print_active_wakeup_sources()
713 active = 1; in pm_print_active_wakeup_sources()
714 } else if (!active && in pm_print_active_wakeup_sources()
722 if (!active && last_activity_ws) in pm_print_active_wakeup_sources()
848 if (ws->active) { in pm_wakep_autosleep_enabled()
885 if (ws->active) { in print_wakeup_source_stats()