Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
wakeup_source Struct Reference

#include <pm_wakeup.h>

Data Fields

const charname
 
struct list_head entry
 
spinlock_t lock
 
struct timer_list timer
 
unsigned long timer_expires
 
ktime_t total_time
 
ktime_t max_time
 
ktime_t last_time
 
ktime_t start_prevent_time
 
ktime_t prevent_sleep_time
 
unsigned long event_count
 
unsigned long active_count
 
unsigned long relax_count
 
unsigned long expire_count
 
unsigned long wakeup_count
 
bool active:1
 
bool autosleep_enabled:1
 

Detailed Description

struct wakeup_source - Representation of wakeup sources

: Total time this wakeup source has been active. : Maximum time this wakeup source has been continuously active. : Monotonic clock when the wakeup source's was touched last time. : Total time this source has been preventing autosleep. : Number of signaled wakeup events. : Number of times the wakeup sorce was activated. : Number of times the wakeup sorce was deactivated. : Number of times the wakeup source's timeout has expired. : Number of times the wakeup source might abort suspend. : Status of the wakeup source. : The wakeup source has been activated with a timeout.

Definition at line 46 of file pm_wakeup.h.

Field Documentation

bool active

Definition at line 62 of file pm_wakeup.h.

unsigned long active_count

Definition at line 58 of file pm_wakeup.h.

bool autosleep_enabled

Definition at line 63 of file pm_wakeup.h.

Definition at line 48 of file pm_wakeup.h.

unsigned long event_count

Definition at line 57 of file pm_wakeup.h.

unsigned long expire_count

Definition at line 60 of file pm_wakeup.h.

ktime_t last_time

Definition at line 54 of file pm_wakeup.h.

spinlock_t lock

Definition at line 49 of file pm_wakeup.h.

ktime_t max_time

Definition at line 53 of file pm_wakeup.h.

const char* name

Definition at line 47 of file pm_wakeup.h.

ktime_t prevent_sleep_time

Definition at line 56 of file pm_wakeup.h.

unsigned long relax_count

Definition at line 59 of file pm_wakeup.h.

ktime_t start_prevent_time

Definition at line 55 of file pm_wakeup.h.

Definition at line 50 of file pm_wakeup.h.

unsigned long timer_expires

Definition at line 51 of file pm_wakeup.h.

ktime_t total_time

Definition at line 52 of file pm_wakeup.h.

unsigned long wakeup_count

Definition at line 61 of file pm_wakeup.h.


The documentation for this struct was generated from the following file: