Lines Matching full:wakeup
30 * wakeup - Report/change current wakeup option for device
32 * Some devices support "wakeup" events, which are hardware signals
34 * devices have one of three values for the sysfs power/wakeup file:
38 * + "\n" for temporary or permanent inability to issue wakeup.
42 * Familiar examples of devices that can issue wakeup events include
47 * Some wakeup events use normal IRQ lines; other use special out
51 * wakeup signaling as part of changing device power states, respecting
54 * Devices may not be able to generate wakeup events from all power
57 * active, or which may have wakeup disabled. Some drivers rely on
58 * wakeup events internally (unless they are disabled), keeping
92 * wakeup_count - Report the number of wakeup events related to the device
347 static DEVICE_ATTR_RW(wakeup);
356 if (dev->power.wakeup) { in wakeup_count_show()
357 count = dev->power.wakeup->wakeup_count; in wakeup_count_show()
377 if (dev->power.wakeup) { in wakeup_active_count_show()
378 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
398 if (dev->power.wakeup) { in wakeup_abort_count_show()
399 count = dev->power.wakeup->wakeup_count; in wakeup_abort_count_show()
419 if (dev->power.wakeup) { in wakeup_expire_count_show()
420 count = dev->power.wakeup->expire_count; in wakeup_expire_count_show()
439 if (dev->power.wakeup) { in wakeup_active_show()
440 active = dev->power.wakeup->active; in wakeup_active_show()
460 if (dev->power.wakeup) { in wakeup_total_time_ms_show()
461 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
480 if (dev->power.wakeup) { in wakeup_max_time_ms_show()
481 msec = ktime_to_ms(dev->power.wakeup->max_time); in wakeup_max_time_ms_show()
501 if (dev->power.wakeup) { in wakeup_last_time_ms_show()
502 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_ms_show()
515 if (dev->power.wakeup && dev->power.wakeup->dev) in dpm_sysfs_wakeup_change_owner()
516 return device_change_owner(dev->power.wakeup->dev, kuid, kgid); in dpm_sysfs_wakeup_change_owner()
531 if (dev->power.wakeup) { in wakeup_prevent_sleep_time_ms_show()
532 msec = ktime_to_ms(dev->power.wakeup->prevent_sleep_time); in wakeup_prevent_sleep_time_ms_show()