Lines Matching refs:active
184 ws->active = false; in wakeup_source_add()
604 ws->active = true; in wakeup_source_activate()
628 if (!ws->active) in wakeup_source_report_event()
722 ws->active = false; in wakeup_source_deactivate()
766 if (ws->active) in __pm_relax()
806 if (ws->active && ws->timer_expires in pm_wakeup_timer_fn()
884 bool active = false; in pm_get_active_wakeup_sources() local
888 if (ws->active && len < max) { in pm_get_active_wakeup_sources()
889 if (!active) in pm_get_active_wakeup_sources()
894 active = true; in pm_get_active_wakeup_sources()
895 } else if (!active && in pm_get_active_wakeup_sources()
902 if (!active && last_active_ws) { in pm_get_active_wakeup_sources()
914 int srcuidx, active = 0; in pm_print_active_wakeup_sources() local
919 if (ws->active) { in pm_print_active_wakeup_sources()
921 active = 1; in pm_print_active_wakeup_sources()
922 } else if (!active && in pm_print_active_wakeup_sources()
930 if (!active && last_activity_ws) in pm_print_active_wakeup_sources()
1116 if (ws->active) { in pm_wakep_autosleep_enabled()
1150 if (ws->active) { in print_wakeup_source_stats()