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

/linux-4.4.14/kernel/power/
H A Dmain.c386 * The 'wakeup_count' attribute, along with the functions defined in
403 * This difficulty may be overcome if user space uses 'wakeup_count' before
404 * writing to 'state'. It first should read from 'wakeup_count' and store
407 * 'wakeup_count'. If that fails, at least one wakeup event has occurred since
408 * 'wakeup_count' was read and 'state' should not be written to. Otherwise, it
410 * are any wakeup events detected after 'wakeup_count' was written to.
452 power_attr(wakeup_count); variable
/linux-4.4.14/include/linux/
H A Dpm_wakeup.h50 * @wakeup_count: Number of times the wakeup source might abort suspend.
70 unsigned long wakeup_count; member in struct:wakeup_source
/linux-4.4.14/drivers/base/power/
H A Dsysfs.c92 * wakeup_count - Report the number of wakeup events related to the device
386 static DEVICE_ATTR(wakeup_count, 0444, wakeup_count_show, NULL);
414 count = dev->power.wakeup->wakeup_count; wakeup_abort_count_show()
H A Dwakeup.c141 deleted_ws.wakeup_count += ws->wakeup_count; wakeup_source_record()
557 ws->wakeup_count++; wakeup_source_report_event()
1015 ws->wakeup_count, ws->expire_count, print_wakeup_source_stats()

Completed in 148 milliseconds