Lines Matching refs:active
184 ws->active = false; in wakeup_source_add()
574 ws->active = true; in wakeup_source_activate()
598 if (!ws->active) in wakeup_source_report_event()
692 ws->active = false; in wakeup_source_deactivate()
736 if (ws->active) in __pm_relax()
776 if (ws->active && ws->timer_expires in pm_wakeup_timer_fn()
854 bool active = false; in pm_get_active_wakeup_sources() local
858 if (ws->active && len < max) { in pm_get_active_wakeup_sources()
859 if (!active) in pm_get_active_wakeup_sources()
864 active = true; in pm_get_active_wakeup_sources()
865 } else if (!active && in pm_get_active_wakeup_sources()
872 if (!active && last_active_ws) { in pm_get_active_wakeup_sources()
884 int srcuidx, active = 0; in pm_print_active_wakeup_sources() local
889 if (ws->active) { in pm_print_active_wakeup_sources()
891 active = 1; in pm_print_active_wakeup_sources()
892 } else if (!active && in pm_print_active_wakeup_sources()
900 if (!active && last_activity_ws) in pm_print_active_wakeup_sources()
1090 if (ws->active) { in pm_wakep_autosleep_enabled()
1124 if (ws->active) { in print_wakeup_source_stats()