Lines Matching refs:device

33 	bool (*stop_ok)(struct device *dev);
37 int (*start)(struct device *dev);
38 int (*stop)(struct device *dev);
39 int (*save_state)(struct device *dev);
40 int (*restore_state)(struct device *dev);
41 bool (*active_wakeup)(struct device *dev);
79 struct device *dev);
81 struct device *dev);
109 struct device *dev;
125 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data()
130 extern struct generic_pm_domain *pm_genpd_lookup_dev(struct device *dev);
132 struct device *dev,
136 struct device *dev,
140 struct device *dev);
162 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data()
166 static inline struct generic_pm_domain *pm_genpd_lookup_dev(struct device *dev) in pm_genpd_lookup_dev()
171 struct device *dev, in __pm_genpd_add_device()
177 struct device *dev, in __pm_genpd_name_add_device()
183 struct device *dev) in pm_genpd_remove_device()
236 struct device *dev) in pm_genpd_add_device()
242 struct device *dev) in pm_genpd_name_add_device()
248 extern void pm_genpd_syscore_poweroff(struct device *dev);
249 extern void pm_genpd_syscore_poweron(struct device *dev);
251 static inline void pm_genpd_syscore_poweroff(struct device *dev) {} in pm_genpd_syscore_poweroff()
252 static inline void pm_genpd_syscore_poweron(struct device *dev) {} in pm_genpd_syscore_poweron()
280 int genpd_dev_pm_attach(struct device *dev);
298 static inline int genpd_dev_pm_attach(struct device *dev)
316 extern int dev_pm_domain_attach(struct device *dev, bool power_on);
317 extern void dev_pm_domain_detach(struct device *dev, bool power_off);
319 static inline int dev_pm_domain_attach(struct device *dev, bool power_on) in dev_pm_domain_attach()
323 static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {} in dev_pm_domain_detach()