generic_pm_domainRegular
4.4: Absent ⚠️
4.8: ✅struct generic_pm_domain {
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct mutex lock;
struct dev_power_governor *gov;
struct work_struct power_off_work;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state states[8];
unsigned int state_count;
unsigned int state_idx;
};
4.10: ✅struct generic_pm_domain {
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
unsigned int state_count;
unsigned int state_idx;
void *free;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
4.13: ✅struct generic_pm_domain {
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
unsigned int state_count;
unsigned int state_idx;
void *free;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
4.15: ✅struct generic_pm_domain {
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
unsigned int state_count;
unsigned int state_idx;
void *free;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
4.18: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
unsigned int state_count;
unsigned int state_idx;
void *free;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
5.0: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
unsigned int state_count;
unsigned int state_idx;
void *free;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
5.3: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
5.4: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
5.8: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
5.11: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head parent_links;
struct list_head child_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct raw_notifier_head power_notifiers;
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
5.13: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head parent_links;
struct list_head child_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct raw_notifier_head power_notifiers;
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
ktime_t next_wakeup;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
5.15: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head parent_links;
struct list_head child_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct raw_notifier_head power_notifiers;
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
ktime_t next_wakeup;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
5.19: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head parent_links;
struct list_head child_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct genpd_governor_data *gd;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct raw_notifier_head power_notifiers;
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
u64 on_time;
u64 accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
6.2: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head parent_links;
struct list_head child_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct genpd_governor_data *gd;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct raw_notifier_head power_notifiers;
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
u64 on_time;
u64 accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
6.5: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head parent_links;
struct list_head child_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct genpd_governor_data *gd;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
bool synced_poweroff;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct raw_notifier_head power_notifiers;
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
u64 on_time;
u64 accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
6.8: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head parent_links;
struct list_head child_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct genpd_governor_data *gd;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
bool synced_poweroff;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct raw_notifier_head power_notifiers;
struct opp_table *opp_table;
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
u64 on_time;
u64 accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
arm64: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
armhf: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
ppc64el: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
riscv64: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
aws: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
azure: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
gcp: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
lowlatency: ✅struct generic_pm_domain {
struct device dev;
struct dev_pm_domain domain;
struct list_head gpd_list_node;
struct list_head master_links;
struct list_head slave_links;
struct list_head dev_list;
struct dev_power_governor *gov;
struct work_struct power_off_work;
struct fwnode_handle *provider;
bool has_provider;
const char *name;
atomic_t sd_count;
enum gpd_status status;
unsigned int device_count;
unsigned int suspended_count;
unsigned int prepared_count;
unsigned int performance_state;
cpumask_var_t cpus;
int (*power_off)(struct generic_pm_domain *);
int (*power_on)(struct generic_pm_domain *);
struct opp_table *opp_table;
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *);
int (*set_performance_state)(struct generic_pm_domain *, unsigned int);
struct gpd_dev_ops dev_ops;
s64 max_off_time_ns;
bool max_off_time_changed;
bool cached_power_down_ok;
bool cached_power_down_state_idx;
int (*attach_dev)(struct generic_pm_domain *, struct device *);
void (*detach_dev)(struct generic_pm_domain *, struct device *);
unsigned int flags;
struct genpd_power_state *states;
void (*free_states)(struct genpd_power_state *, unsigned int);
unsigned int state_count;
unsigned int state_idx;
ktime_t on_time;
ktime_t accounting_time;
const struct genpd_lock_ops *lock_ops;
struct mutex mlock;
spinlock_t slock;
long unsigned int lock_flags;
};
Regular
4.8 and 4.10 ⚠️struct fwnode_handle *provider
bool has_provider
void *free
const struct genpd_lock_ops *lock_ops
struct mutex mlock
spinlock_t slock
long unsigned int lock_flags
struct mutex lock
struct genpd_power_state states[8] ➡️ struct genpd_power_state *states
4.10 and 4.13 ✅
4.13 and 4.15 ⚠️unsigned int performance_state
int (*set_performance_state)(struct generic_pm_domain *, unsigned int)
ktime_t on_time
ktime_t accounting_time
4.15 and 4.18 ⚠️struct device dev
unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *)
4.18 and 5.0 ⚠️struct opp_table *opp_table
5.0 and 5.3 ⚠️cpumask_var_t cpus
bool cached_power_down_state_idx
void (*free_states)(struct genpd_power_state *, unsigned int)
void *free
5.3 and 5.4 ✅
5.4 and 5.8 ✅
5.8 and 5.11 ⚠️struct list_head parent_links
struct list_head child_links
struct raw_notifier_head power_notifiers
struct list_head master_links
struct list_head slave_links
5.11 and 5.13 ⚠️ktime_t next_wakeup
5.13 and 5.15 ✅
5.15 and 5.19 ⚠️struct genpd_governor_data *gd
s64 max_off_time_ns
ktime_t next_wakeup
bool max_off_time_changed
bool cached_power_down_ok
bool cached_power_down_state_idx
ktime_t on_time ➡️ u64 on_time
ktime_t accounting_time ➡️ u64 accounting_time
5.19 and 6.2 ✅
6.2 and 6.5 ⚠️bool synced_poweroff
6.5 and 6.8 ⚠️unsigned int (*opp_to_performance_state)(struct generic_pm_domain *, struct dev_pm_opp *)
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅