Lines Matching refs:device
33 bool (*suspend_ok)(struct device *dev);
37 int (*start)(struct device *dev);
38 int (*stop)(struct device *dev);
53 struct device dev;
81 struct device *dev);
83 struct device *dev);
124 struct device *dev;
141 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data()
146 int pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev);
147 int pm_genpd_remove_device(struct device *dev);
155 int dev_pm_genpd_set_performance_state(struct device *dev, unsigned int state);
161 static inline struct generic_pm_domain_data *dev_gpd_data(struct device *dev) in dev_gpd_data()
166 struct device *dev) in pm_genpd_add_device()
170 static inline int pm_genpd_remove_device(struct device *dev) in pm_genpd_remove_device()
194 static inline int dev_pm_genpd_set_performance_state(struct device *dev, in dev_pm_genpd_set_performance_state()
205 void pm_genpd_syscore_poweroff(struct device *dev);
206 void pm_genpd_syscore_poweron(struct device *dev);
208 static inline void pm_genpd_syscore_poweroff(struct device *dev) {} in pm_genpd_syscore_poweroff()
209 static inline void pm_genpd_syscore_poweron(struct device *dev) {} in pm_genpd_syscore_poweron()
230 int of_genpd_add_device(struct of_phandle_args *args, struct device *dev);
236 unsigned int of_genpd_opp_to_performance_state(struct device *dev,
239 int genpd_dev_pm_attach(struct device *dev);
240 struct device *genpd_dev_pm_attach_by_id(struct device *dev,
242 struct device *genpd_dev_pm_attach_by_name(struct device *dev,
260 struct device *dev) in of_genpd_add_device()
278 of_genpd_opp_to_performance_state(struct device *dev, in of_genpd_opp_to_performance_state()
284 static inline int genpd_dev_pm_attach(struct device *dev) in genpd_dev_pm_attach()
289 static inline struct device *genpd_dev_pm_attach_by_id(struct device *dev, in genpd_dev_pm_attach_by_id()
295 static inline struct device *genpd_dev_pm_attach_by_name(struct device *dev, in genpd_dev_pm_attach_by_name()
309 int dev_pm_domain_attach(struct device *dev, bool power_on);
310 struct device *dev_pm_domain_attach_by_id(struct device *dev,
312 struct device *dev_pm_domain_attach_by_name(struct device *dev,
314 void dev_pm_domain_detach(struct device *dev, bool power_off);
315 void dev_pm_domain_set(struct device *dev, struct dev_pm_domain *pd);
317 static inline int dev_pm_domain_attach(struct device *dev, bool power_on) in dev_pm_domain_attach()
321 static inline struct device *dev_pm_domain_attach_by_id(struct device *dev, in dev_pm_domain_attach_by_id()
326 static inline struct device *dev_pm_domain_attach_by_name(struct device *dev, in dev_pm_domain_attach_by_name()
331 static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {} in dev_pm_domain_detach()
332 static inline void dev_pm_domain_set(struct device *dev, in dev_pm_domain_set()