Lines Matching full:wakeup

3  *  pm_wakeup.h - Power management wakeup interface
21 * struct wakeup_source - Representation of wakeup sources
23 * @name: Name of the wakeup source
24 * @id: Wakeup source id
25 * @entry: Wakeup source list entry
26 * @lock: Wakeup source lock
28 * @timer: Wakeup timer list
29 * @timer_expires: Wakeup timer expiration
30 * @total_time: Total time this wakeup source has been active.
31 * @max_time: Maximum time this wakeup source has been continuously active.
32 * @last_time: Monotonic clock when the wakeup source's was touched last time.
34 * @event_count: Number of signaled wakeup events.
35 * @active_count: Number of times the wakeup source was activated.
36 * @relax_count: Number of times the wakeup source was deactivated.
37 * @expire_count: Number of times the wakeup source's timeout has expired.
38 * @wakeup_count: Number of times the wakeup source might abort suspend.
39 * @dev: Struct device for sysfs statistics about the wakeup source.
40 * @active: Status of the wakeup source.
84 return dev->power.can_wakeup && !!dev->power.wakeup; in device_may_wakeup()
97 /* drivers/base/power/wakeup.c */
223 * device_init_wakeup - Device wakeup initialization.
225 * @enable: Whether or not to enable @dev as a wakeup device.
227 * By default, most devices should leave wakeup disabled. The exceptions are
228 * devices that everyone expects to be wakeup sources: keyboards, power buttons,
230 * own wakeup requests but merely forward requests from one bus to another
231 * (like PCI bridges) should have wakeup enabled by default.