Searched refs:inpr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/base/power/
H A Dwakeup.c44 static void split_counters(unsigned int *cnt, unsigned int *inpr) split_counters() argument
49 *inpr = comb & MAX_IN_PROGRESS; split_counters()
631 unsigned int cnt, inpr, cec; wakeup_source_deactivate() local
672 split_counters(&cnt, &inpr); wakeup_source_deactivate()
673 if (!inpr && waitqueue_active(&wakeup_count_wait_queue)) wakeup_source_deactivate()
848 unsigned int cnt, inpr; pm_wakeup_pending() local
850 split_counters(&cnt, &inpr); pm_wakeup_pending()
851 ret = (cnt != saved_count || inpr > 0); pm_wakeup_pending()
899 unsigned int cnt, inpr; pm_get_wakeup_count() local
907 split_counters(&cnt, &inpr); pm_get_wakeup_count()
908 if (inpr == 0 || signal_pending(current)) pm_get_wakeup_count()
916 split_counters(&cnt, &inpr); pm_get_wakeup_count()
918 return !inpr; pm_get_wakeup_count()
933 unsigned int cnt, inpr; pm_save_wakeup_count() local
938 split_counters(&cnt, &inpr); pm_save_wakeup_count()
939 if (cnt == count && inpr == 0) { pm_save_wakeup_count()

Completed in 60 milliseconds